| Dennis Miller wrote:
>
> Hi Gabriel. I'm afraid I wouldn't know what command line to use to pipe
> the output to my soundcard in realtime as the example you posted
> specifically addresses the SB. What would the syntax be for some other
> card; what exactly are you specifying when you include -Msbmidi in your
> command line? Guess I'm missing what that variable is calling. Could
> you clarify then I will try it with the Digidesign Audiomedia card?
> Does the card need DOS drivers, perhaps??
> thanks,
> dennis
For the complete functionality of my version you need two cards:
a MIDI interface and a WAVE card. Soundblaster normally includes the two
cards functionalities in one.
The -Msbmidi flag affects only the MIDI input port of the MIDI card.
The -Msbmidi flag should be good for all win95 MIDI drivers and not only
for
Soundblaster compatibles ones (attention! Windows drivers, NOT Dos
drivers).
So you must have a MIDI card installed if this feature is not already
included in the wave card.
The -Msbmidi flag is optional and is required only if you want to
control Csound via MIDI. I have 2 midi cards installed in my PC and
normally I use an MPU401 compatible card for inputting MIDI (no
soundblaster!). It works OK.
If your card has win95 driver installed, Csound should recognize it. Try
the following command line:
csound.exe -p12 -B882 -b882 -Msbmidi miditest.orc miditest.sco
-odevaudio
If you have more than one WAVE device or more than one MIDI device,
Csound lists all active devices and prompts you the device number
wanted. So you must type this number after Csound has started.
If you only want realtime WAVE output and you are not interested in MIDI
control try the following command line with a normal orc/sco pair
(containing no midi-ops).
csound.exe -p12 -B882 -b882 xxx.orc xxx.sco -odevaudio
(the value of "-p" (buffer number), "-B" and "-b" (buffer length) could
need some adjustments)
I cannot guarantee for the correct WAVE operation of my version because
I have tasted it only with my SB awe32 WAVE output.
--
Gabriel Maldonado
mailto:g.maldonado@agora.stm.it
http://www.agora.stm.it/G.Maldonado/home2.htm |