Octave function record() doesn't work anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Octave |
Unknown
|
Unknown
|
|||
octave (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
octave3.2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: octave3.2
It doesn't seem possible to dd to /dev/dsp anymore in Maverick. When you try to record something in octave using:
octave3.2:1> Y=record(2,8000);
Please hit ENTER and speak afterwards!
dd: opening `/dev/dsp': No such file or directory
cmd = dd if=/dev/dsp of="/tmp/
error: fread: invalid stream number = -1
error: called from:
error: /usr/share/
octave3.2:1>
You can see it doesn't work. So since sound uses sox, I decided to use it for recording as well. I am submitting my replacement record.m file. (The original is in /usr/share/
For those wanting a good work around, you can either replace the original or place my file in your working directory to use it instead of the original.
tags: | added: patch |
summary: |
- Octave function record(sec,sample_rate) doesn't work anymore in Maverick + Octave function record() doesn't work anymore |
Changed in octave (Ubuntu): | |
status: | New → Confirmed |
Changed in octave3.2 (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.