|
Author |
Topic: connectLiveInput() (Read 639 times) |
|
mattgilbert
|
connectLiveInput()
« on: Jul 11th, 2004, 2:10am » |
|
How does connectLineInput() work? The refs say: mySample.connectLiveInput(flag) What's "flag"? Matt
|
|
|
|
pitaru
|
Re: connectLiveInput()
« Reply #1 on: Jul 11th, 2004, 7:46pm » |
|
hey matt, sorry for that oversite - flag is either a 'True' of 'False'; True - route the sample into the LiveInput engine. False (default)- don't route the sample.. Let me know how it works out for you, and don't forget to dl the latest version 2.8 cheers amit
|
|
|
|
mattgilbert
|
Re: connectLiveInput()
« Reply #2 on: Jul 11th, 2004, 8:58pm » |
|
Actually i banged it around until finally resorting to Sample.getSpectrum() instead of connectLiveInput(), having found out about getSpectrum being in Samples now instead of just in LiveInput. I can't remember now why I couldn't get connectLiveInput() to work, and I didn't save those versions of the sketch (very sorry), but getSpectrum() works beautifly! Thanks! Matt
|
|
|
|
eggert
|
Re: connectLiveInput()
« Reply #3 on: Dec 10th, 2004, 3:10pm » |
|
I know this is an old thread.. but how did you get this to work.. Sample.getSpectrum that is..?? I cant.. it just tells me that getSpectrum is not a part of Sample (class).. and I cannot get connectLiveInput to work either.. well I actually dont get an error on it.. but I cant see how to actually use LiveInput.getSpectrum to get the FFT even if Sampe is connected to the LiveInput .. Eggert on and on he goes..
|
|
|
|
|