Info \ FAQ
 
 
Cover  \ Exhibition  \ Learning  \ Reference  \ Download  \ Discourse   
      Language Environment Libraries Comparison TechNotes
 
   
   
Libraries  
   
 
Sonic

The Sonia Library provides advanced audio capabilities such as multiple sample playback, realtime sound synthesis, realtime FFT (frequency) analysis of the microphone input, and writing .wav files from samples.

Sonia is based on the JSyn plugin by Phil Burk, which means that users will need to install the JSyn browser plugin in order to view your work online. Click here to install the JSyn plugin now.

To develop Processing projects with Sonia, you will need to include these files in your project's code folder.


For more information and examples, visit http://pitaru.com/sonia


Sonia Object
Starts/Stops the Sonia engine
and provides general settings.


start()
stop()

getStatus()



Sample Object
An object for storing and controlling
Sound data (aiff and wav formats).


Creating
Sample()

Playback
play()
repeat()
repeatNum()
stop()


Data Reading and Writing

read()
readChannel()
write()
writeChannel()


Properties
getPan()
setPan()
getRate()
setRate()
getSpeed()
setSpeed()
getVolume()
setVolume()
isPlaying()
getNumFrames()
getCurrentFrame()


Misc
connectLiveInput()
getSpectrum()
saveFile()

 

LiveInput Object
An object for realtime (FFT) frequency analysis of various sound inputs, such as the microphone and other internal Sample objects.

start()
stop()


Input Analisys
getLevel()
getSpectrum()
spectrum[]
useEnvelope()
useEqulizer()

Input Recorder (into sample)
startRec()
startRecLoop()
stopRec()



LiveOutput Object
An object for realtime sound synthesis.

start()
stop()

startStream()
stopStream()

liveOutputEvent() { }
LiveOutput.data[]



Creative Commons License
 
  Processing is an open project initiated by Ben Fry and Casey Reas  
  © Info