Update #2 (Processing/Minim/Pachube/Arduino)
Posted on | June 30, 2010 | 2 Comments
I managed to fix the earlier problem with the waveform displays by creating extra outputs using the Minim Processing library. (http://code.compartmental.net/tools/minim/)
The waveforms were then drawn using the 4 separate outputs (instead of using the left/right channels) and this seems to have fixed the problem.
I’ve also added colour coded text (matching the LED’s on my Arduino) displaying the data feed locations, and the Pachube data values for each feed (next to the corresponding waveforms). This seems a much easier way of displaying the data, rather than reading it from the Processing message window.
Here is an updated video of my progress so far.
You can hear changes to the waveforms at 1:00, 2:04 and 2:24 minutes.
Minim Pachube Test (Update June 30th 2010) from Guy Evans on Vimeo.
Displaying 4 Pachube feeds (wind direction 0-360) from 4 global locations (New York, Brisbane, Auckland and Osaka).
I then used the data to set the frequency of 4 separate sinewave waveforms. The sinewave audio for each waveform is panned Left (for the top waveform), Mid Left, Mid Right and Right (for the bottom waveform).
Tags: arduino > minim > pachube > processing > sinewave > Video > vimeo > waveform > wind direction
Comments
2 Responses to “Update #2 (Processing/Minim/Pachube/Arduino)”
Leave a Reply










July 3rd, 2010 @ 7:00 pm
This is really cool! Sorry about all the clicks in the audio output. It’s a problem with Macs that I have not been able to figure out. I suspect it just a glitchy Java implementation from Apple.
July 4th, 2010 @ 9:27 am
hi ddf, thanks for commenting on the processing sketch i’ve been working on.
I’ve just started using the beta version of your Minim library for processing, although i still have a lot to learn but hope to use more of its features in the future.
Thanks for creating such a great library, as well as the superb documentation featured on your blog. The example sketches are really helpful in trying to understand each element of the library.
Hopefully i’ll make some more progress with it in the future. I hope to more elements to the sketch, such as the UGens and using more of the effects. I’m slowly making progress with it but still have much to learn.
I hope to experiment with your library much more over the coming weeks and months.
I’ll let you know how i get on with it by commenting on your blog. Thanks again!