Well, I *think* I am making progress.

I am building a class called `Timeline', and storing the structure of a song 
inside that. It consists, basically, of a linked list of vectors of cues, 
each vector associated with a tick count. The cues are (tick_offset,pattern*) 
pairs, so if I want pattern B to start playing 48 ticks after pattern A 
starts, a 
vector : [(0,B),(10,A)] would be inserted at tick 10 in the linked list.

I am using QVector and QLinkedList for the implementation, because I think it 
looks cool with the Q, and the new Qt stuff might be optimized better than 
stdlib implementations.

I have code to insert and remove patterns, and read from (`old' format) files 
into the new structure -- no wiewing, editing or playing yet, but it does 
compile!!!

Cheers and good night

Jakob :-)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to