We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › Ess does not load sound file!
Page Index Toggle Pages: 1
Ess does not load sound file! (Read 1222 times)
Ess does not load sound file!
Mar 13th, 2006, 11:45pm
 
Hi,

I am using code from ess to load a sound into processing - http://www.tree-axis.com/Ess/Channel_loadSound_.html

I can not get it to work and I have tried the code on three different machines and all of them say the same thing - "Unable to load sound 'theSound.wav'"

I have also tried many different sound files ranging from mp3s to waves both mono and stereo and 44100 samples for the wave.

What am I missing? Does the sound file go somewhere else besides the project folder with the pde?
Re: Ess does not load sound file!
Reply #1 - Mar 18th, 2006, 10:00pm
 
The wav file has to go in the data folder of the sketch you are working in.  Also, the filename has to be exact... do you have a file in your sketch\data directory called theSound.wav?  If not, you need to change that in your code to read the exact filename.  Does this help?
Re: Ess does not load sound file!
Reply #2 - Mar 18th, 2006, 11:30pm
 
THANK YOU!!!!!!!

That more then helped, it solved the problem.

How was I supposed to know that I was to create a folder called data and put my sound files in it. What am I missing?

Thanks,

4dplane
Page Index Toggle Pages: 1