Csound Csound-dev Csound-tekno Search About

Re: Win95 REALTIME MIDI CSOUND VERSION

Date1997-03-04 17:34
FromGabriel Maldonado
SubjectRe: Win95 REALTIME MIDI CSOUND VERSION
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.





bye



Gabriel Maldonado



mailto:g.maldonado@agora.stm.it

http://www.agora.stm.it/G.Maldonado/home2.htm



Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05100;
          4 Mar 97 17:54 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa09603;
          4 Mar 97 17:54 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Tue, 4 Mar 1997 17:53:58 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA21052);
          Tue, 4 Mar 1997 17:31:13 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Tue, 4 Mar 97 17:31:04 GMT
Received: from agora.stm.it [194.20.43.1] by hermes via ESMTP (RAA20998);
          Tue, 4 Mar 1997 17:30:43 GMT
Received: from agora.stm.it.stm.it (agora.stm.it [194.20.43.1]) 
          by agora.stm.it (8.7.5/8.6.6) with SMTP id SAA15523;
          Tue, 4 Mar 1997 18:28:53 +0100 (ITA)
Message-Id: <331C5CEE.31AE@agora.stm.it>
Date: Tue, 04 Mar 1997 18:33:34 +0100
From: Gabriel Maldonado 
Reply-To: g.maldonado@agora.stm.it
Organization: Fantalogia
X-Mailer: Mozilla 3.01 (Win95; I)
Mime-Version: 1.0
To: Lonce LaMar Wyse 
Cc: Csound Mailing List 
Subject: Re: orc/sco examples for testing realtime csound for Win95
References: <199703040332.LAA00653@tucana.iss.nus.sg>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Lonce LaMar Wyse wrote:

 

> Hey man,

> 

> Your RT Csound version looks (sounds) very nice!

> 

> Is there a way that I can use MIDI messages that are generated

> by another Win95 application as input? (Kinda like a unix pipe.)

> Anyway, nice contribution!

> 

> Thanks, lonce

> 

> Institute of Systems Science            Tel: +65-772-3111

> National University of Singapore        Fax: +65-774-4998

> Heng Mui Keng Terrace, Kent Ridge       internet: lwyse@iss.nus.sg

> SINGAPORE 119597                        acoustic:   Yo, Lonce!

> 

> http://www.iss.nus.sg/People/lwyse/lwyse.html





Yes, there is a way : install a virtual midi routing device in your

computer. So another application (for example a MIDI sequencer) can

control Csound in realtime. The only huge limit is MIDI limit to 7 bit

integers.

I use the "Hubi's LoopBack device" 

by Hubert Winkler  (freeware)



there is another device that does the same thing 



"MIDI ROUTER" 

by Zoltan Janosy  (public domain with sources)





I know there is another way to do it via the phantomatic so-called "Line

oriented realtime score input" for which "-L" flag is included in

Csound. I'd never succeed in doing this task operate!!



 

Gabriel Maldonado



mailto:g.maldonado@agora.stm.it

http://www.agora.stm.it/G.Maldonado/home2.htm



Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05137;
          4 Mar 97 18:00 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa09936;
          4 Mar 97 17:59 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Tue, 4 Mar 1997 17:59:46 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA21030);
          Tue, 4 Mar 1997 17:30:58 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Tue, 4 Mar 97 17:30:51 GMT
Received: from agora.stm.it [194.20.43.1] by hermes via ESMTP (RAA20980);
          Tue, 4 Mar 1997 17:30:36 GMT
Received: from agora.stm.it.stm.it (agora.stm.it [194.20.43.1]) 
          by agora.stm.it (8.7.5/8.6.6) with SMTP id SAA15615;
          Tue, 4 Mar 1997 18:29:14 +0100 (ITA)
Message-Id: <331C5D05.2F2E@agora.stm.it>
Date: Tue, 04 Mar 1997 18:33:57 +0100
From: Gabriel Maldonado 
Reply-To: g.maldonado@agora.stm.it
Organization: Fantalogia
X-Mailer: Mozilla 3.01 (Win95; I)
Mime-Version: 1.0
To: Sergei.Shkarupo@smed.com
Cc: Csound Mailing List 
Subject: Re: Win95 REALTIME MIDI CSOUND VERSION
References: <97Mar3.214434est.24197@gatekeeper.shrmed.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Sergei Shkarupo wrote:

> 

> Just downloaded your CSOUND version and tried it out on a 133 MHz Win 95

> Pentium at work - runs fine!  Thank you very much for your effort in upgrading

> the CSOUND and making this new version available!

> I wonder if it will run on my home 66MHz Win32s 486 machine...

> This version will make developing of CSOUND instruments much easier.  I already

> tried out a couple of MIDI-controlled filters in realtime...

> Thanks again, and good bye!

> 

> Sergei



I'm glad if all is operating well in your system!



bye

 

Gabriel Maldonado



mailto:g.maldonado@agora.stm.it

http://www.agora.stm.it/G.Maldonado/home2.htm



Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05249;
          4 Mar 97 18:07 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa10162;
          4 Mar 97 18:07 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Tue, 4 Mar 1997 18:07:04 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA21836);
          Tue, 4 Mar 1997 17:38:07 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Tue, 4 Mar 97 17:37:58 GMT
Received: from agora.stm.it [194.20.43.1] by hermes via ESMTP (RAA21806);
          Tue, 4 Mar 1997 17:37:44 GMT
Received: from agora.stm.it.stm.it (agora.stm.it [194.20.43.1]) 
          by agora.stm.it (8.7.5/8.6.6) with SMTP id SAA16938;
          Tue, 4 Mar 1997 18:36:12 +0100 (ITA)
Message-Id: <331C5EA8.143A@agora.stm.it>
Date: Tue, 04 Mar 1997 18:40:56 +0100
From: Gabriel Maldonado 
Reply-To: g.maldonado@agora.stm.it
Organization: Fantalogia
X-Mailer: Mozilla 3.01 (Win95; I)
Mime-Version: 1.0
To: Csound Mailing List 
Subject: Re: Win95 REALTIME MIDI CSOUND VERSION
References: <199703041702.OAA09533@seda>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Guto Caminhoto wrote:
> 
> I got good results with Turtle Beach Tahiti.
> With Multiwav digital AES/EBU and DAT
> the thing did not work ...
> 
> > Unfortunately, my MEDIA PRODIF-100 spdif digital card seems to don't
> > work, although Csound recognizes its driver. I think this could due to
> > some instability in sound flow at the inizializiation time. This may
> > cause a loss of data flow continuity and a break of syncronization in
> > spdif cards. It cause a crash in my DAT digital input. Maybe that
> > analog cards don't suffer this limit. Please experiment with your card
> > and tell me if all is ok.
> >
> > bye
> >
> > Gabriel Maldonado
> >
> > mailto:g.maldonado@agora.stm.it
> > http://www.agora.stm.it/G.Maldonado/home2.htm
> >
> >

-- 
Gabriel Maldonado

mailto:g.maldonado@agora.stm.it
http://www.agora.stm.it/G.Maldonado/home2.htm



Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05689;
          4 Mar 97 20:11 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa11384;
          4 Mar 97 20:10 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Tue, 4 Mar 1997 20:10:51 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA01455);
          Tue, 4 Mar 1997 19:55:13 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Tue, 4 Mar 97 19:55:07 GMT
Received: from GS160.SP.CS.CMU.EDU [128.2.203.172] by hermes 
          via SMTP (TAA01445); Tue, 4 Mar 1997 19:55:06 GMT
Message-Id: <199703041955.TAA01445@hermes>
Subject: Re: Morphing and more
To: Csound mailing list 
Date: Tue, 4 Mar 1997 14:54:01 -0500 (EST)
From: Eli Brandt 
In-Reply-To: <199703040340.OAA07209@oznet07.ozemail.com.au> from "Graeme Gerrard" at Mar 4, 97 02:43:50 pm
X-Portmanteau: pantryptaminergeticallysisterrainbowtie
X-Mailer: ELM [version 2.4 PL23]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 559       
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Graeme Gerrard wrote:
> Given 2 soundfiles, S1 and S2.  There is a unique transformation function,
> T, such that
>           S1 x T = S2          (1)
> T can simply be derived:
>           T = S2 / S1
[* * *]
> It turns out that T is VERY sensitive to modifications - you can
> easily get samples wildly out of range or a lot of noise.

Alternatively, define the transformation function T' such that
        S1 + T' = S2
Then
        T' = S2 - S1

This should help with the stability problem.

-- 
   Eli Brandt
   eli+@cs.cmu.edu
(deadpan is hard in ASCII)



Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06970;
          5 Mar 97 1:50 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa13642;
          5 Mar 97 1:50 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Wed, 5 Mar 1997 01:50:21 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (BAA17308);
          Wed, 5 Mar 1997 01:44:50 GMT
Received: from exub by noether.maths.exeter.ac.uk; Wed, 5 Mar 97 01:44:45 GMT
Received: from dragon.iss.nus.sg [137.132.247.20] by exub via ESMTP (BAA22719);
          Wed, 5 Mar 1997 01:44:40 GMT
Received: from tucana.iss.nus.sg by iss.nus.sg (SMI-8.6/SMI-SVR4)	id JAA20331;
          Wed, 5 Mar 1997 09:48:22 +0800
Received: by tucana.iss.nus.sg (SMI-8.6/SMI-SVR4)	id JAA00749;
          Wed, 5 Mar 1997 09:48:22 +0800
Date: Wed, 5 Mar 1997 09:48:22 +0800
From: Lonce LaMar Wyse 
Message-Id: <199703050148.JAA00749@tucana.iss.nus.sg>
To: csound@maths.ex.ac.uk
Subject: xyin
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk



Has anybody seen the xyin opcode work on an x86 platform?  I get no
compile or runtime errors, but I don't get a window, either.

Thanks, lonce