Fill minim buffer with own data
in
Core Library Questions
•
3 months ago
Hi there!
I'm quite new to processing, but I'm using the Arduinoe IDE since a few years.
Now I need to play back data stored in a txt through my sound card.
This data contains about 2500 timestamps and values taken by an oscilloscope and Excel. Plotting the data onto the screen with some nice extras (cursor, loading different sets,...) was pretty easy - I think, Processing is a great language for things like that!
To my problem:
The data is stored in an ArrayList as Vectors, so it can be accessed easily. But I want to play it back through my soundcard using minim.
Looking at the examples of minim, it seems to be easy, but I'm afraid it's more than just copying my data array into the sound buffer, isn't it?
So.. Have you ever done something similar and can you give me a hint in doing it?
Thanks in advance,
Sebastian
1