Warning: Use of undefined constant wp_cumulus_widget - assumed 'wp_cumulus_widget' (this will throw an Error in a future version of PHP) in /customers/a/d/4/guylevans.co.uk/httpd.www/blog/wp-content/plugins/wp-cumulus/wp-cumulus.php on line 375 Update (Processing/Minim/Pachube/Arduino) : The Sonic Landscape

The Sonic Landscape

Update (Processing/Minim/Pachube/Arduino)

Posted on | June 28, 2010 | No Comments

Warning: sizeof(): Parameter must be an array or an object that implements Countable in /customers/a/d/4/guylevans.co.uk/httpd.www/blog/wp-content/plugins/ssg-wordpress-google-audio-player/ssg_google_audio.php on line 85 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /customers/a/d/4/guylevans.co.uk/httpd.www/blog/wp-content/plugins/ssg-wordpress-google-audio-player/ssg_google_audio.php on line 85 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /customers/a/d/4/guylevans.co.uk/httpd.www/blog/wp-content/plugins/ssg-wordpress-google-audio-player/ssg_google_audio.php on line 85 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /customers/a/d/4/guylevans.co.uk/httpd.www/blog/wp-content/plugins/ssg-wordpress-google-audio-player/ssg_google_audio.php on line 85

Processing (Minim & Pachube) 4 Sine-waves from Guy Evans on Vimeo.

Quick update, I’ve been experimenting further with the ‘minim library’ for processing (beta version 2.1.0). I’ve now managed to control the frequency of 4 sine-wave waveforms using 4 separate data feeds from Pachube (www.pachube.com).

Each Pachube feed is receiving data corresponding to the wind direction (0-360 degrees) of four locations around the world.

(Stereo Audio Channels)
Waveform 1 (Top) - New York, USA     (panned Left)
Waveform 2 - Brisbane, Australia     (panned Mid-Left)
Waveform 3 - Auckland, New Zealand   (panned Mid-Right)
Waveform 4 - Osaka, Japan            (panned Right)

I adapted the code from the ‘Polyphonic/addSignal.pde’ example from the Minim library, adding 2 extra waveforms and assigning the 4 pachube feeds (wind direction, values 0-360 degrees) to the frequency of each sine-wave.

Here is my code below, i will update later with comments.

(Note: you need to add your own ‘Pachube API key’ to the code, for it to run successfully)

MINIM_Pachube_4_SineWave_TEST.pde (zip file)

The video above shows changes to the waveforms at:
0min 11 seconds
3min 13 seconds
5min 37 seconds

UPDATE (June 30th) : I need to fix the waveform display as they are currently displaying left/right outputs, not the independent frequencies, will try working on this problem later so it displays 4 seperate waveforms using the 4 Pachube feeds. StatsInSound Stats In Sound

Comments

Leave a Reply





*

  • Pages

  • Admin

  • Archives