Main Page: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
Line 19: Line 19:
Install sox to the octave bin dir.
Install sox to the octave bin dir.


http://sox.sourceforge.net/
http://sourceforge.net/projects/sox/files/sox/14.3.2/sox-14.3.2-win32.exe/download

Or extract the contents of the sox-14.3.2 folder inside the zip folder into the bin dir.

http://sourceforge.net/projects/sox/files/sox/14.3.2/sox-14.3.2-win32.zip/download


Open sound.m from
Open sound.m from

Revision as of 12:03, 2 December 2011

Classes

Useful Tools


How to get Sound.m to work in Windows

First make sure you have the audio 1.1.4 package installed in octave forge.

Install sox to the octave bin dir.

 http://sourceforge.net/projects/sox/files/sox/14.3.2/sox-14.3.2-win32.exe/download

Or extract the contents of the sox-14.3.2 folder inside the zip folder into the bin dir.

 http://sourceforge.net/projects/sox/files/sox/14.3.2/sox-14.3.2-win32.zip/download

Open sound.m from

 .\Octave\3.2.4_gcc-4.4.0\share\octave\packages\audio-1.1.4

Edit sound.m by commenting out line 99 and paste the following right after

 if(file_in_path(EXEC_PATH, "sox.exe"))
 sound_play_utility = "sox.exe -t AU - -d";