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 & HelpPrograms › loadSound not working
Page Index Toggle Pages: 1
loadSound not working (Read 544 times)
loadSound not working
May 21st, 2006, 11:57pm
 
Hi again,
I am trying to load a sound into my app but I get an error message at the loadSound stage.

No accesible method with signature "loadSound(java.lang.string)" was found in type "Temporary_7514_5219".

The code appropriate to the sound in my script read:

PSound Siren; (before setup)

Siren = loadSound("siren.wav");  (in setup)
Siren.play(); (in setup)

The error highlights the line that reads:

Siren = loadSound("siren.wav");

Does anyone have any idea why it is doing this? I have basically copied the code directly from the loadSound reference.

Thanks

Andy

Re: loadSound not working
Reply #1 - May 22nd, 2006, 12:33am
 
It seems to be a problem with the version of processing I am using (0114). v 0115 is the same. Version 0109 works though.
Re: loadSound not working
Reply #2 - May 22nd, 2006, 12:43am
 
the psound library has been depricated since 109. either ess or sonia is recommend for sound in procesing.
Page Index Toggle Pages: 1