1. midi help...
- Posted by Alex Ford <FFUltimateMaster at CS.COM> Jul 13, 2000
- 482 views
does anyone know how to make .mid files play while running euphoria programs? i have tryed eumidi but that didn't seem to work for me... can anyone help? ~thanks~
2. Re: midi help...
- Posted by Brian Broker <bkb at CNW.COM> Jul 13, 2000
- 472 views
On Thu, 13 Jul 2000 18:08:23 EDT, Alex Ford wrote: >does anyone know how to make .mid files play while running euphoria >programs? >i have tryed eumidi but that didn't seem to work for me... can anyone help? > > ~thanks~ From another unfinished project of mine: --------------------------------------------- -- Filename: mcilib.ew -- MIDI functions from an incomplete library -- by Brian Broker <bkb at cnw.com> --------------------------------------------- include win32lib.ew global constant xMciSendString = linkFunc( winmm, "mciSendStringA", {C_POINTER, C_POINTER, C_UINT, C_INT}, C_DOUBLE ) ------------------------------------------------------------ procedure mci_SendString( sequence string ) atom command, err command = allocate_string( string ) err = c_func( xMciSendString, { command, NULL, NULL, NULL } ) free( command ) end procedure --========================================================== ---------------------- MIDI functions ---------------------- --========================================================== global procedure playMidi( sequence midifile ) mci_SendString( sprintf( "open %s type sequencer alias song", { midifile } ) ) mci_SendString( "play song" ) end procedure ------------------------------------------------------------ global procedure stopMidi() mci_SendString( "close song" ) end procedure ------------------------------------------------------------ global procedure pauseMidi() mci_SendString( "pause song" ) end procedure ------------------------------------------------------------
3. Re: midi help...
- Posted by Alex Ford <FFUltimateMaster at CS.COM> Jul 13, 2000
- 460 views
um... okay... what's wrong when i get this message: open_dll() not supported in euphoria for Dos32?
4. Re: midi help...
- Posted by David Cuny <dcuny at LANSET.COM> Jul 13, 2000
- 463 views
Alex Ford wrote: > open_dll() not supported in euphoria for Dos32? Most of the MIDI stuff relies on Windows services. Dos32 doesn't know about Windows, so it can't access the Windows DLLs. Try EXW instead of EX. -- David Cuny
5. Re: midi help...
- Posted by Brian Broker <bkb at CNW.COM> Jul 14, 2000
- 469 views
On Thu, 13 Jul 2000 19:45:35 EDT, Alex Ford wrote: >um... okay... what's wrong when i get this message: > >open_dll() not supported in euphoria for Dos32? oops... I apologize, I work with Windows so much that I incorrectly assumed that you were too. It looks like there are other DOS-based MIDI libraries in the archives (besides eumidi) but I don't have any experience with them. -- Brian
6. Re: midi help...
- Posted by Alex Ford <FFUltimateMaster at CS.COM> Jul 14, 2000
- 493 views
oh okay.... Thanks anyway
7. Re: midi help...
- Posted by Alex Ford <FFUltimateMaster at CS.COM> Jul 14, 2000
- 483 views
David Cuny wrote: >Most of the MIDI stuff relies on Windows services. Dos32 doesn't know about >Windows, so it can't access the Windows DLLs. Try EXW instead of EX. Alright, i'll try that... I'm still learning so it doesn't really matter what OS i make my programs for