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 accessing master wave output
Page Index Toggle Pages: 1
Ess accessing master wave output? (Read 861 times)
Ess accessing master wave output?
Jan 4th, 2008, 2:30am
 
Hello everyone,
I've been working on a custom spectrum analyzer in Processing to use with an arduino running an led matrix.

So far I've had the most luck with Ess as far as performance goes. However, all the examples/tutorials seem to use either an audio file or the microphone input...

My question is whether or not its possible to give Ess access to the computers master audio output? So, for example, whatever I'm playing in winamp, or a video or whatever could be captured by Ess and then go from there.

If anyone has any ideas or knows of any resources I'd really appreciate it! Thanks!
Re: Ess accessing master wave output?
Reply #1 - Jan 4th, 2008, 12:16pm
 
If you're on windows its easy to set the audio input as "wav out" or "stereo mix" under the settings.

If you're on a mac you can use a combination of JackPilot and SoundFlower, both open source software I believe, to funnel the mac's audio out into its audio in and fool ESS. I wish I knew of a more elegant solution, but this method works.
Re: Ess accessing master wave output?
Reply #2 - Jan 4th, 2008, 4:45pm
 
Thanks for the quick reply mflux!
I am using windows, I should have specified that. When you say 'under the settings', which settings do you mean exactly?

I've checked the preferences.txt (under c:\Documents and Settings\<user>\Application Data\Processing) but didn't find anything there.
Since Ess is built on JavaSound, do you mean the Java settings? Or possibly the Ess settings, but I cannot find any settings related to Ess?
Thanks!
Re: Ess accessing master wave output?
Reply #3 - Jan 4th, 2008, 4:50pm
 
He means your windows sound settings.

Double click the volume control icon in your taskbar, then select Options -> Properties, select "recording" and make sure "stereo mix" or "Wave Out mix" or whatever is ticked, then hit okay.
Then make sure that the "Stereo Mix" (or equivalent) is the selected one.


Re: Ess accessing master wave output?
Reply #4 - Jan 4th, 2008, 5:53pm
 
Ah ha, I had a good feeling that I was overcomplicating that...
Thanks for the help guys, that worked great!
Re: Ess accessing master wave output?
Reply #5 - Jun 25th, 2008, 5:16pm
 
Is there any way to accomplish this if the computer does not have a "Stereo Mix" or "Wave Out mix" under the recording options in the Volume Control??
Page Index Toggle Pages: 1