Re: midi (built-in synth) by direct programmatic command/control?
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Aug 14, 2003
- 458 views
Brian, Thanks, I had found Brent's lib, but it didn't work because I hadn't yet applied the fixes Derek supplied me to get it to work with current Win32Lib; now that you suggested it, I have applied those fixes, & it works, & appears to be exactly what I was looking for! Thanks again. Dan Moyer ----- Original Message ----- From: "Brian Broker" <bkb at cnw.com> To: "EUforum" <EUforum at topica.com> Sent: Sunday, August 10, 2003 11:34 PM Subject: RE: midi (built-in synth) by direct programmatic command/control? > > > 1. Yes > 2. Check out the MIDI lib by Brent Hugh. There should be enough there > to get you started. You would probably be interested in the > 'midiplay.exw' demo in that package... > 3. Yes > 4. Yes > > BTW... is this for Windows? If not, then that lib and demos won't be of > much help to you... I almost wrote a QB'ish play() routine to simplify > using midi for such purposes but never got around to actually doing it. > > -- Brian > > Dan Moyer wrote: > > > > > > I'll look around on the net too, but maybe someone happens to know: > > > > 1. is it possible to send direct commands to the computer's sound card > > midi > > synthesizer to cause individual notes to play, from a Euphoria program > > (ie, > > NOT cause a .mid file to play, but sort of like qbasic "Play()" function > > can > > cause specified notes to sound)? > > > > 2. if so, where can I found a list of commands, & how can I implement > > them > > in Euphoria? > > > > 3. also if so, can the built-in synthesizer be commanded to play > > specified > > *frequencies* in addition to playing notes, so I could create a sort of > > semi-continuous "glide" from one frequency to another? Not: "go from > > here > > to there at this speed" as a single command, but rather, "play this > > frequency on this instrument; keep playing it until told otherwise; now > > play > > the next higher frequency; now the next lowest; now the next lowest; > > keep > > playing it until told otherwise; now play the next highest; keep playing > > it > > until told otherwise....etc, etc, etc. > > > > 4. and is it reasonable to assume that most computers today *have* a > > midi-synthesizer built-in to them (lap-tops too?)? > > > > Dan Moyer > > > > TOPICA - Start your own email discussion group. FREE! >