Csound Csound-dev Csound-tekno Search About

Re: DOS, xyin

Date1998-12-15 14:34
Fromrasmus ekman
SubjectRe: DOS, xyin
Kevin Gallagher wrote:
> 
> Does anyone know of a version of Csound that runs in DOS and
> supports realtime audio output?  

Jffitch tried to do soundblaster support once but it never 
worked fully. The code is still there in blaster.c. 
Haven't heard of/can't remember any other attempt.

> How do I assign an input window for use with the xyin opcode?

xyin works in winsound (3.48), not the DOS/console version.
You must check the full graphics option and, I think, 
use large output buffer. When/if it works, you'll see 
the x/y values written to the output window during performance.
(I haven't gotten it to work lately, but my soundcard is 
dodgy too, so do try it). 


        re


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28519;
          15 Dec 98 20:11 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zq0o7-00072m-00; Tue, 15 Dec 1998 20:10:59 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA02921); Tue, 15 Dec 1998 20:09:30 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 15 Dec 1998 20:09:16 GMT
Received: from alpha.netvision.net.il [194.90.1.13] by hermes via ESMTP (UAA02561); Tue, 15 Dec 1998 20:09:13 GMT
Received: from netvision.net.il (RAS3-p87.hrz.netvision.net.il [62.0.154.87])
	by alpha.netvision.net.il (8.8.6/8.8.6) with ESMTP id WAA13634
	for ; Tue, 15 Dec 1998 22:05:13 +0200 (IST)
Message-ID: <3676C1E3.B97DFDA@netvision.net.il>
Date: Tue, 15 Dec 1998 22:09:07 +0200
From: Yair Kass 
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: Csound list 
Subject: RealTime effect proccessing.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hey all,

Haven't written lately to the list but am keeping a close eye ;-)
My current "goal"  concerning Csound (DirectCsound 2.11)  is
to try and work with it as a real-time effect proccessor.
I have the SoundBlaster 64Gold and I know all about the duplex problem.
I am also aware that a good solution is to get another
card (even a simple 16bit SoundBlaster) and use one for input and one
for output.

My questions are to anyone who actually did it (preferebaly lately):

Does it work ??
What about latency ??
It's a sintch for me to get another cheap card, should I ??

Tnx a lot,
Yair



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29078;
          16 Dec 98 2:55 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zq778-0005Vy-00; Wed, 16 Dec 1998 02:55:02 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA05353); Wed, 16 Dec 1998 02:52:56 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 16 Dec 1998 02:52:45 GMT
Received: from faure.videotron.net [205.151.222.100] by hermes via ESMTP (CAA05337); Wed, 16 Dec 1998 02:52:44 GMT
Received: from iname.com (ppp205.232.mmtl.videotron.net)
 by sims-ha.videotron.net (Sun Internet Mail Server sims.3.5.1998.09.21.23.34)
 with ESMTP id <0F410028XEG1C9@sims-ha.videotron.net> for csound@maths.ex.ac.uk; Tue, 15 Dec 1998 21:48:08 -0500 (EST)
Date: Tue, 15 Dec 1998 21:53:21 -0500 (EST)
From: gamma_orion@iname.com
Subject: aiff player
To: csound@maths.ex.ac.uk
Reply-to: gamma_orion@iname.com
Message-id: <0F410029GEG4C9@sims-ha.videotron.net>
MIME-version: 1.0
Content-type: TEXT/plain; CHARSET=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hello,
I would like to know if somebody know a good aiff player that run under
linux for x86.

thanks a lot
-- 
Antoine Lefebvre
gamma_orion@iname.com
http://pages.infinit.net/linux/music/music.html



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29227;
          16 Dec 98 4:20 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zq8Rd-0005ZZ-00; Wed, 16 Dec 1998 04:20:18 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA09781); Wed, 16 Dec 1998 04:19:07 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 16 Dec 1998 04:18:56 GMT
Received: from big.fishnet.net [204.89.144.3] by hermes via ESMTP (EAA09806); Wed, 16 Dec 1998 04:18:54 GMT
Received: from rcsreg.com (port096.vta.fishnet.net [204.89.144.245])
	by big.fishnet.net (8.8.7/8.8.5) with ESMTP id UAA12957
	for ; Tue, 15 Dec 1998 20:21:42 -0800
Message-ID: <367734D2.D1C3B432@rcsreg.com>
Date: Tue, 15 Dec 1998 20:19:30 -0800
From: Tobiah 
X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.1.128 i586)
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: aiff player
References: <0F410029GEG4C9@sims-ha.videotron.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> Hello,
> I would like to know if somebody know a good aiff player that run under
> linux for x86.

Here is a really whacky script that I made once.  It needs Csound, and 'sndinfo'
which comes with csound.

#Start Script#
rm -f /tmp/*.orc /tmp/*.sco

for each in $@; do

        CHANNELS=`sndinfo $each | grep srate | cut -f3 -d" " | cut -c1`
        SRATE=`sndinfo $each | grep srate | cut -f2 -d" " | tr -d ','`

        if  test $CHANNELS = m; then
                echo "  sr = $SRATE"                     > /tmp/$$.orc
                echo "  kr = $SRATE"                    >> /tmp/$$.orc
                echo "  ksmps = 1"                      >> /tmp/$$.orc
                echo "  nchnls = 1"                     >> /tmp/$$.orc
                echo ""                                 >> /tmp/$$.orc
                echo "  instr 1"                        >> /tmp/$$.orc
                echo "          asig    in"             >> /tmp/$$.orc
                echo "                  out     asig"   >> /tmp/$$.orc
                echo "  endin"                          >> /tmp/$$.orc

                echo "Playing : Speed $SRATE Hz Mono ..."

        fi

        if  test $CHANNELS = s; then
                echo "  sr = $SRATE"                             > /tmp/$$.orc
                echo "  kr = $SRATE"                            >> /tmp/$$.orc
                echo "  ksmps = 1"                              >> /tmp/$$.orc
                echo "  nchnls = 2"                             >> /tmp/$$.orc
                echo ""                                         >> /tmp/$$.orc
                echo "  instr 1"                                >> /tmp/$$.orc
                echo "          asigl, asigr    ins"            >> /tmp/$$.orc
                echo "                  outs    asigl, asigr"   >> /tmp/$$.orc
                echo "  endin"                                  >> /tmp/$$.orc

                echo "Playing : Speed $SRATE Hz Stereo ..."
        fi

        echo "i1 0 `sndinfo $each | grep seconds | cut  -d' ' -f 7`" > /tmp/$$.sco

        csound -W -d -i $each -odac /tmp/$$.orc /tmp/$$.sco >/dev/null 2>/dev/null

        rm /tmp/$$.orc /tmp/$$.sco score.srt

done


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29522;
          16 Dec 98 8:08 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zqC0B-0007dq-00; Wed, 16 Dec 1998 08:08:11 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (IAA01705); Wed, 16 Dec 1998 08:05:32 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 16 Dec 1998 08:05:19 GMT
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (IAA01658); Wed, 16 Dec 1998 08:05:17 GMT
Received: from agora.stm.it (ppp01-20.dial-access.stm.it [195.62.37.20]) by agora.stm.it (8.8.8/8.8.5) with ESMTP id JAA01897; Wed, 16 Dec 1998 09:05:04 +0100 (ITA)
Message-ID: <36776B15.39BE387@agora.stm.it>
Date: Wed, 16 Dec 1998 09:11:01 +0100
From: Gabriel Maldonado 
X-Mailer: Mozilla 4.06 [en] (Win95; I)
MIME-Version: 1.0
To: Yair Kass 
CC: Csound Mailing List 
Subject: Re: RealTime effect proccessing.
References: <3676C1E3.B97DFDA@netvision.net.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Yair Kass wrote:

> My current "goal"  concerning Csound (DirectCsound 2.11)  is
> to try and work with it as a real-time effect proccessor.
> I have the SoundBlaster 64Gold and I know all about the duplex problem.
> I am also aware that a good solution is to get another
> card (even a simple 16bit SoundBlaster) and use one for input and one
> for output.
> My questions are to anyone who actually did it (preferebaly lately):
> 
> Does it work ??

Yes, with soundblaster. (I have a full duplex SB live! that works fine)

> What about latency ??

Unfortunately latency is still present because you have to use old MME drivers for audio
input (about 1/5 of second with my PII 400)

> It's a sintch for me to get another cheap card, should I ??

I suggest SoundBlaster Live! Sound quality is good.


Happy Csounding
-- 
Gabriel Maldonado

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


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29912;
          16 Dec 98 12:16 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zqFrj-00065b-00; Wed, 16 Dec 1998 12:15:43 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (MAA07313); Wed, 16 Dec 1998 12:05:45 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 16 Dec 1998 12:05:28 GMT
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (MAA07250); Wed, 16 Dec 1998 12:05:27 GMT
Received: (qmail 4561 invoked from network); 16 Dec 1998 09:08:11 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.163)
  by jaguars with SMTP; 16 Dec 1998 09:08:11 -0000
Message-ID: <3677793D.8CB8A7B8@cableinet.co.uk>
Date: Wed, 16 Dec 1998 09:11:25 +0000
From: Richard Dobson 
Organization: Composers Desktop Project
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Gabriel Maldonado 
CC: Csound Mailing List 
Subject: Re: RealTime effect proccessing.
References: <3676C1E3.B97DFDA@netvision.net.il> <36776B15.39BE387@agora.stm.it>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Is the SB Live able to play a quad soundfile?

Richard Dobson

Gabriel Maldonado wrote:


> 
> I suggest SoundBlaster Live! Sound quality is good.
> 
> Happy Csounding
> --
> Gabriel Maldonado
> 
> http://www.agora.stm.it/G.Maldonado/home2.htm

-- 
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd