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 getLevel() Question
Page Index Toggle Pages: 1
ESS getLevel() Question (Read 802 times)
ESS getLevel() Question
Jul 3rd, 2008, 1:47am
 
Why when i try to use

fft.getLevel(srcArray, offset)

i recive this error?

Perhaps you wanted the overleaded version "float getLevel(float[]$1,int$2,int$3);"instead?

the documentation only says that i've got to give 2 parameters.
Re: ESS getLevel() Question
Reply #1 - Sep 23rd, 2008, 11:01pm
 
I get this error as well.

The documentation is different from what is actually defined.

Im trying to play pluging in an extra int but no luck.. i guessed it might be LEFT, RIGHT, or MIX?

Re: ESS getLevel() Question
Reply #2 - Oct 5th, 2008, 8:44am
 
Dug around the decompiled ESS library, I think it's actually something like:

fft.getLevel(srcArray, offset, sampleSize)
Re: ESS getLevel() Question
Reply #3 - Oct 8th, 2008, 6:27pm
 
Thanks, this helps.
Page Index Toggle Pages: 1