[Tse3-devel] Developing with tse3 newbie questions
Status: Beta
Brought to you by:
petegoodliffe
|
From: Tony L. <ton...@ho...> - 2003-06-02 07:29:43
|
Hi,
i am just getting started trying to do some development with the tse3
librarys. I'm pretty new to c++ too, which proberbally doesn't help :)
I have started by modifying the scale example but have become stuck.
What I am trying to do is transpose the notes, play them on a different
instrument and add reverb etc, here is the section of code I have modified:
// Now assemble the Song
TSE3::Song song;
TSE3::Phrase *phrase = phraseEdit.createPhrase(song.phraseList());
TSE3::Part *part = new TSE3::Part(0, phraseEdit.lastClock());
TSE3::Track *track = song.insert(1);
part->setPhrase(phrase);
track->insert(part);
track->params()->setProgram(30);
track->params()->setVolume(10);
track->filter()->setTranspose(4);
The transpose works fine, but the volume and program lines do nothing.
As far as I understand, I create a phrase, add it to the phrase list and
also to a part, add that part to a track that is associated with a song and
then should be able to modify params and the filter for the whole track.
Any help appreciated.
regards
tony
_________________________________________________________________
Sign-up for a FREE BT Broadband connection today!
http://www.msn.co.uk/specials/btbroadband
|