Main Page: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
====How to get Sound.m to work in Windows====
====How to get Sound.m to work in Windows====


Install sox to the octave bin dir.
Intall sox from


http://sox.sourceforge.net/
http://sox.sourceforge.net/

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
Edit sound.m by commenting out line 99 and paste the following right after

Revision as of 09:13, 2 December 2011

Classes

Useful Tools


How to get Sound.m to work in Windows

Install sox to the octave bin dir.

 http://sox.sourceforge.net/

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";