octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50315] sound() function stops playback too ea


From: Georg Wiora
Subject: [Octave-bug-tracker] [bug #50315] sound() function stops playback too early
Date: Wed, 15 Feb 2017 10:03:03 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0

URL:
  <http://savannah.gnu.org/bugs/?50315>

                 Summary: sound() function stops playback too early
                 Project: GNU Octave
            Submitted by: gwiora
            Submitted on: Wed 15 Feb 2017 04:03:02 PM CET
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: gwiora
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The sound function seems to stop the sound playback too early. This shows up
espacially with short sounds below one second. I guess that the sound length
is shortened by around 200 milliseconds.

Attached there is a small function for creating configurable beep patterns. It
is suitable for testing this behavior. See inline documentation for usage.

The following call should play two short beeps a lower and a higher one. The
second beep in the example is not played on my windows system:

beepcode([700,100;1400,200])

When adding a time of silence to the end of the beep sequence the second beep
is played depending on the length of silence:

beepcode([700,100;1400,200;0,50])
beepcode([700,100;1400,200;0,100])
beepcode([700,100;1400,200;0,150])
beepcode([700,100;1400,200;0,200])
beepcode([700,100;1400,200;0,300])





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 15 Feb 2017 04:03:02 PM CET  Name: beepcode.m  Size: 1kB   By:
gwiora
Sample function to play beeps.
<http://savannah.gnu.org/bugs/download.php?file_id=39761>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50315>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]