|
|
MakeMusic Forum > Public Forums > Plug-In Development - FORUM HAS MOVED! > Midi Channel | Forum Quick Jump
|
| Robert P. Registered Member
Date Joined Apr 2004 Total Posts : 1691 | Posted 10/11/2004 5:09 PM (GMT -6) | | Hello Fedor,
This is undocumented. Can't give you all the details, but below are some clues.
Good luck! Robert PS: use the 'save as ETF' feature to hack the notation database!
#define ot_PlaybackList MAKEEXTAG(edOther2Inci,'P','L') #define ot_MIDIInstrumentDefinition MAKEEXTAG(edOther,'O','C')
twobyte playbackListInfo [12]; twobyte MIDIinstrDefinition [6]; fourbyte size; twobyte instrument, MIDIinst; (...)
dataID.other.inci=0; size=sizeof(twobyte)*12; dataID.other.cmper=instrument; FX_LoadEData(ot_PlaybackList, &dataID, &playbackListInfo, &size); //look at place 0...3, and 6 of playbackListInfo: that is the instrument assignement //for inst: MIDIinst=playbackListInfo[0]+1; dataID.other.cmper=MIDIinst; size=sizeof(twobyte)*6; FX_LoadEData(ot_MIDIInstrumentDefinition, &dataID, &MIDIinstrDefinition, &size); //explore MIDIinstrDefinition... | Back to Top | |
| Fedor Mikhalych Katsman Registered Member
Date Joined Oct 2004 Total Posts : 2 | Posted 10/11/2004 9:49 PM (GMT -6) | | Hi. Great Thanks. But. What did you mean uder "MIDIinstrDefinition". You wrote then you knew, didn't you? I've got only zeros in that array in spite of I make changes in instrument list dialog. Nevertheless, I've got what I want --- to set channel for the instrument. | Back to Top | | Forum Information | Currently it is Tuesday, December 19, 2023 8:21 PM (GMT -6) There are a total of 403,820 posts in 58,165 threads. In the last 3 days there were 0 new threads and 0 reply posts. View Active Threads
|
Forum powered by dotNetBB v2.42EC SP3 dotNetBB © 2000-2023 |
|
|