Finale SmartMusic
  Home | Log In | Register | Search | Help
   
MakeMusic Forum > Public Forums > Plug-In Development - FORUM HAS MOVED! > Midi Channel  Forum Quick Jump
 
You cannot post new topics in this forum. You cannot reply to topics in this forum. Printable Version
[ << Previous Thread | Next Thread >> | Show Newest Post First ]

Fedor Mikhalych Katsman
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to Fedor Mikhalych KatsmanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Oct 2004
Total Posts : 2
 
   Posted 10/11/2004 3:43 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
Hi. Can anybody answer me the question what a structure is responsible for midi channel of note or staff?
Please, answer directly or don't! Thanks a lot
Back to Top

Robert P.
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to Robert P.AIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Apr 2004
Total Posts : 1691
 
   Posted 10/11/2004 6:09 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
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

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to Fedor Mikhalych KatsmanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Oct 2004
Total Posts : 2
 
   Posted 10/11/2004 10:49 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
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
You cannot post new topics in this forum. You cannot reply to topics in this forum. Printable Version
   
Forum Information
Currently it is Tuesday, August 9, 2022 7:50 AM (GMT -5)
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