Hi John, I think you could definately use the Timeline library architecture for displaying your data. You'll want to first explore the Timeline architecture to understand how it works and how to adapt it to your data sets. You'll need to change the original painter methods to paint your data and the event storage to arrange your events in temporal order.
The standard JS date object includes milliSec resolution, so you can use Date objects to compare the timings of your events. But you'll probably have to modify the event source routines to pull in the mSec. Not a big deal. There may be other places too where you will need to change things. You will also want to figure out issues involving either HotZones (magnified areas) or use zooming. -- You speak of events lasting a few milliSec or Minutes, there's a 60,000 times difference between a millisSec and a minute! Not easy to show both on the same graphic. If the vertical ordering of the data on the screen is important then you'll also need to write your own track layout/assignment method. Overall, not a small project. But I think that you'll still save a good amount of sw and planning time by starting with the Timeline library as a base. Good luck, and please keep us up to date with your progress. Regards, Larry ________________________________ From: John Ibbotson <[email protected]> To: [email protected] Sent: Tuesday, December 30, 2008 4:40:28 AM Subject: Piano roll for MIDI I've seen some discussions on the group for using SIMILE for a "piano roll" type of timeline. I'd like to use it to display MIDI tracks in this format and wonder whether anyone has attempted this ? All the examples I've seen so far are calendar based ones and I'd like to know how to set up a timeline where there are 128 tracks, probably only lasting for a few minutes to millisecond resolution. I've created a triple store which contains not only MIDI but harmonic events resulting from the analysis of the music and I think SIMILE would be a cool way to displlay queries against the data. Thanks in advance, John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
