I'm currently working on a larger project, but I'll break down my question into a simple example
I have a 2-dimensional array of integers that stores data on what volume level to play at certain points in time.
One of the dimensions stores a time in milliseconds, and the other dimension stores the volume level.
I loop through this array, checking when each change in volume should occur.
All of that is done.
My goal is to visualize this in a horizontal timeline, similar to a channel on a sequencer like this:
I'd display the volume at each point in time. I'd also want to be able to click on the points so I could trigger some other code I have to change the value.
I know it would be too large (horizontally) for my screen, so I'd have to come up with a scroll bar and maybe some way to pre-buffer the data.
Has anyone done anything like this and have any tips?
1