Midi Share

Please download to get full document.

View again

of 139
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information Report
Category:

Documents

Published:

Views: 345 | Pages: 139

Extension: PDF | Download: 106

Share
Related documents
Description
MidiShare is a real-time multi-tasking MIDI operating system specially devised for the development of musical applications. Its innovative features and careful design (the result of 6 years of research and development), provide developers with a powerful and efficient toolbox for developing MIDI applications. MidiShare is based on a client/server model. It is composed of six main components : an event memory manager, a time manager and synchronizer, a task manager, a communication manager, an event and task scheduler and Midi drivers.
Tags
Transcript
      T    M     M    i    d    i    S     h   a   r   e DeveloperDocumentation version 1.68 GRAME9, rue du Garet BP 118569202 LYON CEDEX 01Ph: (33) 04 720 737 00Fax: (33) 04 720 737 01Email: grame@rd.grame.fr  Summary Introduction..............................................................................................................1About this manual.....................................................................................2About MidiShare........................................................................................3Overview of a MidiShare application....................................................5Opening and Closing a MidiShare session.............................5Communications and Connections.........................................5Sending and receiving.................................................................6Event management......................................................................7Sequence management...............................................................8Real time tasks..............................................................................8Midi Time Code Synchronisation............................................9Some examples.........................................................................................11Example 1 : the shortest MidiShare program.......................11Example 2 : still short but safer................................................11Example 3 : waiting....................................................................12Example 4 : multitasking..........................................................12Example 5 : real-time event processing.................................14Example 6 : a small sequencer..................................................15Reference.................................................................................................................17MidiShare Events.....................................................................................18Typology.......................................................................................18Events Internal structure..........................................................20Midi Error Codes.......................................................................................22Midi Change Codes..................................................................................23MidiAddField............................................................................................24MidiAddSeq...............................................................................................26MidiApplySeq............................................................................................27MidiAvailEv..............................................................................................28MidiCall......................................................................................................29MidiClearSeq.............................................................................................31MidiClose...................................................................................................32MidiConnect..............................................................................................33MidiCopyEv...............................................................................................34MidiCountAppls.......................................................................................35MidiCountDTasks....................................................................................36MidiCountEvs...........................................................................................37MidiCountFields.......................................................................................38MidiDTask..................................................................................................39MidiExec1DTask........................................................................................41MidiExt2IntTime......................................................................................42MidiFlushDTasks.....................................................................................43MidiFlushEvs............................................................................................44MidiForgetTask.........................................................................................45MidiFreeCell..............................................................................................47MidiFreeEv................................................................................................48MidiFreeSeq...............................................................................................49MidiFreeSpace...........................................................................................50MidiGetApplAlarm.................................................................................51MidiGetEv..................................................................................................52MidiGetExtTime.......................................................................................53MidiGetField..............................................................................................54MidiGetFilter.............................................................................................55  MidiGetIndAppl.......................................................................................56MidiGetInfo...............................................................................................57MidiGetName...........................................................................................58MidiGetNamedAppl...............................................................................59MidiGetPortState......................................................................................60MidiGetRcvAlarm...................................................................................61MidiGetSyncInfo......................................................................................62MidiGetTime............................................................................................64MidiGetVersion.......................................................................................65MidiGrowSpace........................................................................................66MidiInt2ExtTime......................................................................................67MidiIsConnected......................................................................................68MidiNewCell............................................................................................69MidiNewEv...............................................................................................70MidiNewSeq.............................................................................................71MidiOpen...................................................................................................72MidiReadSync...........................................................................................73MidiSend...................................................................................................74MidiSendAt...............................................................................................75MidiSendIm..............................................................................................76MidiSetApplAlarm.................................................................................77MidiSetField..............................................................................................78MidiSetFilter.............................................................................................79MidiSetInfo...............................................................................................80MidiSetName...........................................................................................81MidiSetPortState......................................................................................82MidiSetRcvAlarm...................................................................................83MidiSetSyncMode....................................................................................85MidiShare..................................................................................................86MidiSmpte2Time.....................................................................................87MidiTask....................................................................................................88MidiTime2Smpte.....................................................................................90MidiTotalSpace.........................................................................................91MidiWriteSync.........................................................................................92typeActiveSens (code 15).......................................................................93typeChanPress (code 6)...........................................................................94typeClock (code 10)..................................................................................95typeContinue (code 12)..........................................................................96typeCopyright (code 136)........................................................................97typeCtrl14b (code 131).............................................................................98typeCtrlChange (code 4).........................................................................99typeChanPrefix (code 142)...................................................................100typeCuePoint (code 141).......................................................................101typeDProcess (code 129)........................................................................102typeEndTrack (code 143)......................................................................103typeInstrName (code 138)....................................................................104typeKeyOff (code 2)...............................................................................105typeKeyOn (code 1)...............................................................................106typeKeyPress (code 3)............................................................................107typeKeySign (code 147).........................................................................108typeLyric (code 139)...............................................................................109typeMarker (code 140)..........................................................................110typeNonRegParam (code 132)............................................................111typeNote (code 0)...................................................................................112typePitchWheel (code 7)......................................................................113typePrivate (code 19 to 127).................................................................114typeProcess (code 128)...........................................................................115  typeProgChange (code 5)......................................................................116typeQuarterFrame (code 130)..............................................................117typeRegParam (code 133)......................................................................118typeReserved (code 149 to 254)............................................................119typeReset (code 16).................................................................................120typeSeqName (code 137).......................................................................121typeSeqNum (code 134)........................................................................122typeSMPTEOffset (code 145)................................................................123typeSongPos (code 8).............................................................................124typeSongSel (code 9)..............................................................................125typeSpecific (code 148)...........................................................................126typeStart (code 11)..................................................................................127typeStop (code 13)..................................................................................128typeStream (code 18).............................................................................129typeSysEx (code 17)................................................................................130typeTempo (code 144)...........................................................................131typeText (code 135).................................................................................132typeTimeSign (code 146)......................................................................133typeTune (code 14).................................................................................134
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks