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 & HelpSyntax Questions › Read File and play sounds
Page Index Toggle Pages: 1
Read File and play sounds (Read 1470 times)
Read File and play sounds
Feb 6th, 2009, 11:18pm
 
Hello!
I'm trying to build an simple program that reads a file with a certain code and plays a note from it. Example: each number is a note (1=C, 2=D, 3=E and so on). Can I do that in Processing?
Thanks!!
Re: Read File and play sounds
Reply #1 - Feb 7th, 2009, 2:46am
 
Take a look at Minim's Quickstart guide here:
http://code.compartmental.net/tools/minim/quickstart/

Under 'Synthesizing Sound', there's an example of generating audio.  Hope that helps.

Re: Read File and play sounds
Reply #2 - Feb 8th, 2009, 12:12am
 
And about reading the file?
Thanks!
Re: Read File and play sounds
Reply #3 - Feb 8th, 2009, 12:30am
 
Perhaps with loadStrings()
Page Index Toggle Pages: 1