FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Sound
(Moderators: pitaru, REAS)
   connectLiveInput()
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: connectLiveInput()  (Read 639 times)
mattgilbert

tangramkid WWW Email
connectLiveInput()
« on: Jul 11th, 2004, 2:10am »

How does connectLineInput() work? The refs say:  
 
mySample.connectLiveInput(flag)
 
What's "flag"?
 
Matt
 
 
pitaru


WWW Email
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

tangramkid WWW Email
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..
 
Pages: 1 

« Previous topic | Next topic »