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)
   play wav files with Liveoutput
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: play wav files with Liveoutput  (Read 445 times)
MrHunt

Email
play wav files with Liveoutput
« on: Nov 15th, 2004, 12:36pm »

Does anybody have any idea how can I play wav files with LiveOutput??
 
pitaru


WWW Email
Re: play wav files with Liveoutput
« Reply #1 on: Nov 27th, 2004, 12:57am »

to play wav files with liveOutput:
 
- Craete a sample object (mySample - for example) form that wav file.
- prepare an array with the same amount of elements as mySample.getNumFrames()
- use the mySample.read() command to copy the sample data into this new array.
- populate the liveOutput.data array with the data from your new sample array.
 
amit
 
 
 
amit
 
Pages: 1 

« Previous topic | Next topic »