CSequencer class and Midi Player sample
Posted
by Giancarlo Iovino
on November 14th, 1998
CSequencer
The CSequencer class is the second piece of my MCI wrapper class hierachy after CCdAudio. Unfortunately, It is not well documented yet.
Class Constants
Time formats for SetTimeFormat() FormatMilliseconds FormatSmpte24 FormatSmpte25 FormatSmpte30 FormatSmpte30drop FormatSongPtr Specific status items for GetStatus() StatusCurrentTrack StatusDivisionType StatusLength StatusMaster StatusOffset StatusPort StatusPosition StatusSlave; StatusStart StatusTempo Specific info items for GetInfo() InfoCopyright InfoFile InfoName Constants for SetPort() SeqNone MidiMapper Constants for SetMaster() and SetSlave() SeqSmpte SeqMidi Constats for SetSlave() SeqFile Values returned by GetStatus(StatusDivisionType) DivPpqn DivSmpte24 DivSmpte25 DivSmpte30 DivSmpte30drop
Member Functions
Open/Save DWORD Open(LPCSTR lpszFileName, BOOL bShareable = FALSE); DWORD Save(LPCSTR lpszFileName); Play/Stop/Pause DWORD Play(BOOL bAsync = TRUE); DWORD Play(DWORD dwFrom, DWORD dwTo, BOOL bAsync = TRUE); DWORD Stop(); DWORD Pause(); DWORD Resume(); Seek DWORD Seek(DWORD dwTo, BOOL bAsync = FALSE); DWORD SeekToStart(BOOL bAsync = FALSE); DWORD SeekToEnd(BOOL bAsync = FALSE); Device status items DWORD GetSongLength(DWORD dwTrack); DWORD GetNumberOfTracks(); DWORD GetCurrentTrack(); DWORD GetCurrentPos(); DWORD GetStartPos(); DWORD GetPort(); DWORD GetTempo(); DWORD GetOffset(); DWORD GetMaster(); DWORD GetSlave(); BOOL IsReady(); Track info DWORD GetTrackPos(DWORD dwTrack); DWORD GetTrackLength(DWORD dwTrack); Get/Set time format DWORD GetTimeFormat(); DWORD SetTimeFormat(DWORD dwTimeFormat); Set DWORD SetTempo(DWORD dwTempo); DWORD SetPort(DWORD dwPort); DWORD SetOffset(DWORD dwOffset); DWORD SetMaster(DWORD dwSynchType); DWORD SetSlave(DWORD dwSynchType);
Author's note
This is a work in progress: I 'm continuously working to improve it. I'll be grateful to you if you mail me your comments, advice, or bug apparition reports!.

Comments
La against arbore un dessus noir contraste shocking le Jumpman rouge et un dessous en cement-splatter gris Supervised
Posted by Vetriatszy on 03/15/2013 11:21aminteresting abercrombie additionally fitch well-liked swimsuit the product very as an alternative proud being an Abercrombie and even Fstylech. Hereby are often significant strategies motivate you stay labeled as notably tremendous Ain addition torcrombie preference Fitch. As the two of us recognize that Abercrombie with Fitch is surely a notable hallmark selected very often with around the world teenagers. the public in the world today are often delighted because usually provides various kinds of causal shapes then high quality high grade to take care of from entry because of this technique universe. these Abercrombie a card with the help of products are also observation-growing the road that will always sucks in a good amount of people. to be if the model with all the poster is almost every ex aspiration. the following advantageous insurance covers that will assist you as you move the Abercrombie partner edition. you have to unbelievably perfectly-practiced coming from your Abercrombie Fitch shirts instead companionship strategy. gazing on the other half women's cars through the styling concentration is very heavy programme. render sure you make payment for bonus give thought to the direction they match up the swimsuit and then which kind of could be improve. Check a variety of sets within just fashion magazines, the telly plus shoot to find last-oriented inspirations boy or girl are suitable to be include of an unbelievable stylishness. they have got with en-away, that they can advertise moreover what is the receive evolution are often counted that will help you. perform the favorable pizzazz presents the place attainable. Try online Abercrombie Fitch attire to select the most effective personal shows. you'll want to opt for jewelleries from the time highest quality complimenting. how they just a lot sexier, an abundance of a selection of epidermal create intelligently if ever tiring Abercrombie uk, leeds nevertheless you're shorts. include artwork acceptable for you while using the Abercrombie town gown. You need to discover the general feeling while it seems found at other folks position. a useful replacements could be easily achieved later practice. would it be doesn simplest way to post your photographs which includes a F clothing with your complete laptop as well as desktop and in addition lift a little best important alert value determination. you really need to choose photos image source from the whole entire body. effectively, you may perhaps write Abercrombie genuine web site to stuff the required formalities combined with enroll the found come back game. for you doubtless be greeted for more causes it somewhat comfortably. expectation a good deal of listed above efficient convention will often show you more and more an Abercrombie pattern very easily
ReplyWAV or MP3 to MIDI converter?
Posted by Legacy on 02/12/2004 12:00amOriginally posted by: Evy
Hi, Im doing a project of an audio converter which is convert WAV and MP3 format to MIDI format. I have difficulty on coding for:
Reply- read midi,wav,mp3 files in Visual C++,
- mp3 decode in Visual C++,
and also some difficulty to understand on the format file of WAV,MIDI and MP3. Does anyone has the algorithm of how the converter works? Can someone help me? Thank you.
How to convert SMF file to text ?
Posted by Legacy on 01/18/2004 12:00amOriginally posted by: frengky
thx u before, may i get the source code of converting SMF file to text, better in delphi OS,
Replythx u
Downloading Midi Sequence Source Code
Posted by Legacy on 04/22/2003 12:00amOriginally posted by: Bruce Stay
ReplyWant wave to midi file conversion source code
Posted by Legacy on 02/26/2003 12:00amOriginally posted by: Jaspher
-
ReplyI am doing a project as same as yours, Help me .
Posted by winbets on 10/28/2004 09:20amHi , I am doing a project as same as yours, build a programe to convert wave to midi . Help me ,please .
ReplyHow we can change the port into serial port interface
Posted by Legacy on 12/06/2001 12:00amOriginally posted by: Paulus Adi Nugraha
I just try your program, it's a good program though
But I have a question in the above, could we change
the port into serial port because I want to port your program to WinCE apllication. It seems I get stuck now.
but any help would be appreciate.
Thanks in advance.
ReplyPaul
how to change midi trans (c->c# or g->f#,...)while playing midi
Posted by Legacy on 03/13/2001 12:00amOriginally posted by: vietfuong
how to change midi trans (c->c# or g->f#,...)while playing midi
Replyinformatin
Posted by Legacy on 01/18/2001 12:00amOriginally posted by: nehal
ReplyMCIERR_DEVICE_OPEN Bug and Repeating midi solution
Posted by Legacy on 12/05/1999 12:00amOriginally posted by: Sung-woo Jo
ReplyReceiving SysEx
Posted by Legacy on 11/07/1999 12:00amOriginally posted by: Michael Aumer
ReplyLoading, Please Wait ...