bugGNU Octave - Bugs: bug #58737, record function has no audio...

 
 

bug #58737: record function has no audio initially in the waveform

Submitter:  Bryce Orgill <tman22>
Submitted:  Thu 09 Jul 2020 02:45:59 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Bryce Orgill Open/Closed:  * Open
Release:  * 5.2.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 09 Jul 2020 07:54:13 PM UTC, comment #2: 

I can't reproduce this on Debian, so likely not a general Octave bug with the audio functions. This may be a problem with the PortAudio interface with the Windows sound API. If this behavior is reproducible and is of concern to you, you may need to do some more work to investigate the cause and see if anything can be done about it in Octave.

Mike Miller <mtmiller>
Group Member
Thu 09 Jul 2020 02:49:37 AM UTC, comment #1: 

To finish my middle comment there: "Another item, and I understand this is a feature request.  Why can we not use a number of samples parameter instead of" ... instead of length.  This would be better since you would have a fixed number of samples which is good for FFT scripts, rather than a length that may not always capture the same amount of samples each time.

Bryce Orgill <tman22>
Thu 09 Jul 2020 02:45:59 AM UTC, original submission:  

I'm noticing when using the record function that I see no audio "wiggling" in the waveform initially.  For the first 50ms or so, it's not present, then I do see the audio.  I simply use the command below, where step=0.1 and Fs=44100.  This function worked fine in Matlab several years ago when I used this function last.  Attached is a screenshot of what I'm seeing.

Another item, and I understand this is a feature request.  Why can we not use a number of samples parameter instead of

y = record(step,Fs);

Bryce Orgill <tman22>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tman22 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-09 tman22 Attached File- Added 2020-07-08@19_38_03-Figure@1.png, #49451

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code