| Why not use a sound file editor to excerpt the section you want, then
save it as a new file? Then use the new file you created as your soundin
source. I use Cool Edit 96 (Win95) to do this for my GEN01 instruments.
You can also use this method to trim/pad the soundfile to make it the
exact number of samples you need, if necessary.
-dB
(David M. Boothe, Audio Director
Lyrick Studios, Dallas, TX)
> -----Original Message-----
> From: Qian Chen [SMTP:qian_chen@yahoo.com]
> Sent: May 28, 1998 02:23
> To: Csound
> Subject: Qs:pvoc,soundin/diskin
>
> Dear Csounders,
>
> 3.I have a suggestion - if some of you disagree it, please advise:
> Both soundin and diskin can read a sound file skipping some time of
> the file. Therefore, why isn't there a parameter to specify the
> duration a user wants it to read? For example, if I want to skip 2
> seconds and just read 5 seconds but not the whole files after the 2
> seconds, I could use that parameter. Of course, I know I could use an
> analysis file to realize it. But I do think it must be easier and
> quicker if we add a parameter to soundin and diskin.
>
> Any comment is welcomed and thanks for your bandwidth.
>
> Qian Chen
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09007;
28 May 98 16:04 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa04008;
28 May 98 16:04 BST
Received: (qmail 14671 invoked from network); 28 May 1998 15:04:42 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
by pat.bath.ac.uk with SMTP; 28 May 1998 15:04:42 -0000
Received: (qmail 14587 invoked by uid 1457); 28 May 1998 15:04:34 -0000
Mailing-List: contact xtcsound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
Delivered-To: mailing list xtcsound@lists.bath.ac.uk
Received: (qmail 14575 invoked from network); 28 May 1998 15:04:33 -0000
Received: from pat.bath.ac.uk (qmailr@138.38.32.2)
by amos.bath.ac.uk with SMTP; 28 May 1998 15:04:33 -0000
Received: (qmail 14624 invoked from network); 28 May 1998 15:04:30 -0000
Received: from piano.technion.ac.il (132.68.57.183)
by pat.bath.ac.uk with SMTP; 28 May 1998 15:04:30 -0000
Received: (from webman@localhost)
by piano.technion.ac.il (8.8.8/8.8.5) id BAA12529;
Fri, 29 May 1998 01:03:46 GMT
Date: Thu, 28 May 1998 18:03:45 -0700 (PDT)
From: Erez Webman
To: Extended Csound Mailing List
Subject: [XTCSOUND] Performance
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Probably the most substential problem I have with Extended Csound is
performance. Consider the following Csound program:
~~~ SCO file ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i1 0 5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~ ORC file ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sr = 44100
kr = 441
ksmps = 100
nchnls = 2
instr 1
ain = 0
clkon 1
adel delay ain, 0.1
clkoff 1
clkon 2
aout = ain + adel*0.9995
clkoff 2
outs12 aout
endin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The debug screen displayed:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clock 1: 4192955.000000 time units in 2205 kprds, cost = 0.839 mips
clock 2: 2410334.000000 time units in 2205 kprds, cost = 0.482 mips
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Let's assume that delay implementation costs 10 ticks of the processor time
(a reasonable speculation?), so I would expect delay to cost about
0.45 mips (10*44100 = 441000 ~ 0.45 mips.).
Evaluating "aout = ain + adel*0.9995" seems to be even simpler...
Please note that I executed this program with the -D3 parameter. Omitting this
parameter doubles the cost.
For me, this is a ***REAL*** problem, since I tend to use "primitive" opcodes
such as the above a lot. ADI said that they clocked the delay opcode at
0.19 MIPS.
Any ideas why I get so different results? Can it have anything to do with the
fact that the host PC is only a 120MHz Pentium? (I believe not, but who knows,
maybe there is some handshaking going on which generates a bottleneck???).
Thanks,
Erez Webman
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09013;
28 May 98 16:05 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa04046;
28 May 98 16:05 BST
Received: (qmail 14795 invoked from network); 28 May 1998 15:05:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 28 May 1998 15:05:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA01135); Thu, 28 May 1998 16:01:01 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 16:00:02 +0100
Received: from monsoon.dial.pipex.net [158.43.128.69] by hermes via SMTP (PAA26258); Thu, 28 May 1998 15:59:43 +0100 (BST)
Received: (qmail 11651 invoked from network); 28 May 1998 14:59:49 -0000
Received: from af179.du.pipex.com (HELO default) (193.130.245.179)
by smtp.dial.pipex.com with SMTP; 28 May 1998 14:59:49 -0000
Message-Id: <356D7B08.4346@dial.pipex.com>
Date: Thu, 28 May 1998 15:56:09 +0100
From: p robinson
Reply-To: project.x@dial.pipex.com
Organization: Project X
X-Mailer: Mozilla 3.01Gold (Win95; I)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: RE: pvoc,soundin/diskin
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> Why not use a sound file editor to excerpt the section you want, then
> save it as a new file? Then use the new file you created as your soundin
> source. I use Cool Edit 96 (Win95) to do this for my GEN01 instruments.
> You can also use this method to trim/pad the soundfile to make it the
> exact number of samples you need, if necessary.
>
> -dB
> (David M. Boothe, Audio Director
> Lyrick Studios, Dallas, TX)
>
>
I also use Cool Edit to do this, but it does mean multiple copies of
essentially the same information, Qian Chen's suggestion
> why isn't there a parameter to specify the
> > duration a user wants it to read? For example, if I want to skip 2
> > seconds and just read 5 seconds but not the whole files after the 2
> > seconds, I could use that parameter.
would not only save on disk space, but would allow for experimentation
without ever leaving Csound, for an example: If i have a sound file of
10 seconds long, want it to play 1 second of it, but only want the 1
second "that sounds best to me", then i would prefer to be able to do it
within csound, also would it be possible to incorporate some kind of
looping facility into this new parameter (which would allow [me, at
least]to experiment with extracting steady state tones from sound files
of varying sounds. Finally, could this be controlled in realtime?.
P@.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09085;
28 May 98 16:41 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa06343;
28 May 98 16:41 BST
Received: (qmail 9281 invoked from network); 28 May 1998 15:41:11 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 15:41:11 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA11997); Thu, 28 May 1998 16:35:48 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 16:34:55 +0100
Received: from GS160.SP.CS.CMU.EDU [128.2.203.172] by hermes via SMTP (QAA17708); Thu, 28 May 1998 16:34:45 +0100 (BST)
Message-Id: <199805281534.QAA17708@hermes>
Subject: Re: pvoc,soundin/diskin
To: Csound mailing list
Date: Thu, 28 May 1998 11:34:31 -0400 (EDT)
From: Eli Brandt
In-Reply-To: <356D7B08.4346@dial.pipex.com> from "p robinson" at May 28, 98 03:56:09 pm
X-Portmanteau: pantryptaminergeticallysisterrainbowtie
Reply-To: eli+@cs.cmu.edu
X-Mailer: ELM [version 2.4 PL25-40]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
p robinson wrote:
> > why isn't there a parameter to specify the
> > > duration a user wants it to read? For example, if I want to skip 2
> > > seconds and just read 5 seconds but not the whole files after the 2
> > > seconds, I could use that parameter.
>
> would not only save on disk space, but would allow for experimentation
> without ever leaving Csound, for an example: If i have a sound file of
> 10 seconds long, want it to play 1 second of it, but only want the 1
> second "that sounds best to me", then i would prefer to be able to do it
> within csound,
kgate linseg 1, iplaydur-islewdur, 1, iplaydur, 0, 1, 0
e
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09104;
28 May 98 16:45 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa06601;
28 May 98 16:44 BST
Received: (qmail 19014 invoked from network); 28 May 1998 15:44:58 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 28 May 1998 15:44:58 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA15936); Thu, 28 May 1998 16:41:09 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 16:40:26 +0100
Received: from fortschritt.laden.ilk.de [194.121.104.31] by hermes via ESMTP (QAA12014); Thu, 28 May 1998 16:40:19 +0100 (BST)
Received: (from jae@localhost)
by fortschritt.laden.ilk.de (8.8.5/8.8.5) id QAA31851;
Thu, 28 May 1998 16:40:32 +0200
Date: Thu, 28 May 1998 16:40:32 +0200
Message-Id: <199805281440.QAA31851@fortschritt.laden.ilk.de>
From: "Juergen A. Erhard"
To: d.pierce@bathspa.ac.uk
Cc: csound@maths.ex.ac.uk
In-Reply-To: <3565F8F2.FD59C0EB@bathspa.ac.uk> (d.pierce@bathspa.ac.uk)
Subject: Re: Durations and Sampling Rate
References: <199805221217.OAA05309@fortschritt.laden.ilk.de> <3565F8F2.FD59C0EB@bathspa.ac.uk>
X-Mailer: GNU Emacs 20.2.1 (i486-pc-linux-gnulibc1)
X-Original-Date: Fri, 22 May 1998 23:56:59 +0200
X-Personality: INFP
X-Location: Karlsruhe, Baden-Wuerttemberg, Germany, Europe, Earth
X-Confirmation: read
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I think I can call this off.... I think (have to check, though), it's
because I just cat the resulting audio file to /dev/audio (or
/dev/dsp, forget which one).
And I didn't set no sampling rate on the device... which may default
to 10k, or even 8k (it's an old, very old, 8-bit SB-clone (Sound
Galaxy, I think)). So, for one second (say), CSound generates 44k
samples, which the sound card uses up at a rate of 10k samples/second
-> voila, 4.4 seconds!
An additional hint at this would have been (which alas I didn't
mention in my original post) that the pitch of the notes was as
dependent on the sample rates as their duration... the higher the
sample rate, the lower the pitch.
This means... I am very stupid. And I gotta get a sample player, and
then I'll shut up (if this does *not* work, you're gonna hear from me
again).
Anyway,
Bye, J
PS: "Think first, then post"
--
J|rgen A. Erhard eMail: jae@laden.ilk.de phone: (GERMANY) 0721 27326
My WebHome: http://members.tripod.com/~Juergen_Erhard
The GNU Project (http://www.gnu.org)
Codito, ergo sum - "I code, therefore I am" -- raster@rasterman.com
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09122;
28 May 98 16:53 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa07194;
28 May 98 16:53 BST
Received: (qmail 9609 invoked from network); 28 May 1998 15:53:00 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 15:53:00 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA14128); Thu, 28 May 1998 16:47:16 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 16:42:20 +0100
Received: from portal.dx.net [199.190.65.2] by hermes via ESMTP (QAA18322); Thu, 28 May 1998 16:41:45 +0100 (BST)
Received: from nmol.com (nmol.com [206.162.11.2])
by portal.dx.net (8.8.7/8.8.7) with SMTP id LAA19793
for ; Thu, 28 May 1998 11:44:53 -0400 (EDT)
X-Routed: Thu, 28 May 1998 09:49:00 -0500
X-Tcp-Identity: Mikeb
Received: from nmol.com [206.162.11.176] by nmol.com with smtp
id AJCPAMFO ; Thu, 28 May 1998 09:47:14 -0500
Message-Id: <356D8672.86D1F2A5@nmol.com>
Date: Thu, 28 May 1998 09:44:52 -0600
From: Mike Berry
X-Mailer: Mozilla 4.04 (Macintosh; I; PPC)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: pvoc,soundin/diskin
References: <356D7B08.4346@dial.pipex.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
If you want to play only 1 second, then make the note only one second long.
If the note has to be more than 1 second, then set the volume to zero after 1
second (or if the last sample is zero, set the frequency to zero after one
second). If you want to loop over the one second, then you need to have the
file edited. Or load the file into a table and use tablei to read it and loop
at the right point. As for finding loop points that sound good, this is not a
task for which Csound is well suited. Use a sound editor instead.
--
Mike Berry
mikeb@nmol.com
http://www.nmol.com/users/mikeb
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09157;
28 May 98 17:22 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa09341;
28 May 98 17:22 BST
Received: (qmail 22522 invoked from network); 28 May 1998 16:22:39 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 28 May 1998 16:22:39 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA09315); Thu, 28 May 1998 17:18:18 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 17:17:54 +0100
Received: from root@huitzilo.tezcat.com [204.128.247.17] by hermes via ESMTP (RAA03422); Thu, 28 May 1998 17:17:47 +0100 (BST)
Received: from [204.248.80.120] (antiorp.tezcat.com [204.248.80.120])
by huitzilo.tezcat.com (8.8.5/8.8.5/tezcat-96091001) with SMTP id LAA19288
for ; Thu, 28 May 1998 11:17:52 -0500 (CDT)
Message-Id: <199805281617.LAA19288@huitzilo.tezcat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 28 May 1998 11:26:55 -0600
To: csound@maths.ex.ac.uk
From: =cw4t7abs
Subject: Re: Dura Rate
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>PS: "Think first, then post"
pzb -
tz!ng b4 u do = kr!t!s!zmz moto
do b4 u tz!ng = kreat!onsz
dec!d!ng hou 1 dec!dez 2 eczasperate humanz
elektro magnet!k pulsz surva!lansz
tecxasz zukx. !nfantr! mov.ement on dze per!metr. report!ng.
skUeekc
.skUasch.snd.maTTr.
- 0x7e
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09172;
28 May 98 17:30 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa09654;
28 May 98 17:30 BST
Received: (qmail 11017 invoked from network); 28 May 1998 16:30:19 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 16:30:19 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA27383); Thu, 28 May 1998 17:24:42 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 17:23:31 +0100
Received: from [199.85.19.2] by hermes via ESMTP (RAA26345); Thu, 28 May 1998 17:23:15 +0100 (BST)
Received: by fw.osler.com id <20617>; Thu, 28 May 1998 12:28:37 -0400
Message-Id: <98May28.122837edt.20617@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: Unknown # option, line 0
Date: Thu, 28 May 1998 12:20:51 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I hope this isn't stupid question # 1. (I'm a new user)
I've been goin through the ACCCI tutorial and some orcs work, some
don't. I can't visually see any errors in the code but I am using these
files on a windows version (maybe that's part of the problem). Here's
the error message:
error: Unknown # option, line 0
25 lines read
instr 1
1 syntax errors...etc.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09252;
28 May 98 18:06 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa11889;
28 May 98 18:06 BST
Received: (qmail 12001 invoked from network); 28 May 1998 17:06:14 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 17:06:14 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA15970); Thu, 28 May 1998 18:00:38 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 18:00:11 +0100
Received: from praseodumium.btinternet.com [194.73.73.82] by hermes via SMTP (SAA06954); Thu, 28 May 1998 18:00:02 +0100 (BST)
Received: from mail.btinternet.com [195.99.59.47]
by praseodumium.btinternet.com with smtp (Exim 1.70 #1)
id 0yf60u-00030O-00; Thu, 28 May 1998 17:58:48 +0100
X-Mailer: Microsoft Internet Mail and News for Macintosh - 1.1 (34)
Subject: who is =cw4t7abs
From: Daniel Fattorini
To: csound users group
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Message-Id:
Date: Thu, 28 May 1998 17:58:48 +0100
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Who is this person, or not as the case may be. My guess is that =cw4t7abs is
a government conspiracy to confuse all csound users.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09397;
28 May 98 18:59 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa14816;
28 May 98 18:59 BST
Received: (qmail 13564 invoked from network); 28 May 1998 17:59:17 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 17:59:17 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA02461); Thu, 28 May 1998 18:54:31 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 18:54:07 +0100
Received: from howl.werewolf.net [206.103.224.20] by hermes via SMTP (SAA01279); Thu, 28 May 1998 18:54:01 +0100 (BST)
Received: from hans7.cray.com by howl.werewolf.net via SMTP (950413.SGI.8.6.12/940406.SGI)
for id MAA09250; Thu, 28 May 1998 12:54:06 -0500
From: Hans Mikelson
To: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Subject: Re: pvoc,soundin/diskin
Date: Thu, 28 May 1998 12:55:11 -0500
Message-Id: <01bd8a61$c2b75ee0$5de167ce@hans7.cray.com>
Mime-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-Msmail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-Mimeole: Produced By Microsoft MimeOLE V4.71.1712.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi,
You can use reinit to do a loop but I could not get reinit to work with
diskin only soundin. You can also use a delay line to do a loop with an
amplitude gate and/or the zak opcodes but delay lines tend to develop some
DC offset. The example does not use an initial offset.
Hans Mikelson
ORCHESTRA
sr=44100
kr=22050
ksmps=2
nchnls=2
;------------------------------------------------------------------
; Sampler Effects
;------------------------------------------------------------------
instr 7
idur = p3
iamp = p4
ifqc = p5
irattab = p6
iratrat = p7
ipantab = p8
imixtab = p9
ilptab = p10
isndin = p11
kpan oscil 1, 1/idur, ipantab ; Panning
kmix oscil 1, 1/idur, imixtab ; Fading
kloop oscil 1, 1/idur, ilptab ; Looping
loop1:
kprate oscil 1, iratrat/kloop, irattab ; Pulse Rate
kamp linseg 0, .01, 1, i(kloop)-.02, 1, .01, 0 ; Amplitude Gate
; Amp Fqc
;a1, a2 diskin isndin, ifqc
a1, a2 soundin isndin
aout = (a1+a2)/2*kamp
; When the time runs out reinitialize
timout 0, i(kloop), cont1
reinit loop1
cont1:
outs aout*sqrt(kpan)*kmix, aout*sqrt(1-kpan)*kmix ; Output pan
& fade
endin
SCORE
; Rate Table
f29 0 1024 -7 .5 250 .5 6 2 250 2 6 1 250 1 6 4 256 .5
; Pan Tables
f31 0 1024 7 1 1024 0
; Mix Tables
f41 0 1024 5 .01 128 1 768 1 128 .01
f53 60 1024 -7 .12 512 .15 512 .24
; Sta Dur Amp Pitch RtTab RtRt PanTab MixTab Loop SoundIn
i7 60 8 1 1 29 1 31 41 53 13
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09440;
28 May 98 19:20 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa16019;
28 May 98 19:20 BST
Received: (qmail 4961 invoked from network); 28 May 1998 18:20:04 -0000
Received: from mail.infohouse.com (HELO milhouse.infohouse.com) (206.30.88.4)
by pat.bath.ac.uk with SMTP; 28 May 1998 18:20:04 -0000
Received: from [208.151.41.210] by milhouse.infohouse.com
(Post.Office MTA v3.1 release PO205e ID# 141-39833U2500L250S0)
with ESMTP id AAB122; Thu, 28 May 1998 14:18:26 -0400
X-Sender: ic11748@mail.infohouse.com
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 28 May 1998 14:16:56 -0500
To: csound@maths.ex.ac.uk, John ffitch ,
mikeb@nmol.com
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
From: tolve
Subject: crossfades feature request
hmmm. maybe handy dandy crossfade opcodes (to smooth out clicks at loop
points) would be useful in csound, with different shapes similar to those
in Digidesign Pro Tools or MOTU Digital Performer.
tolve
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09448;
28 May 98 19:23 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa16296;
28 May 98 19:23 BST
Received: (qmail 14543 invoked from network); 28 May 1998 18:23:54 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 18:23:54 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA00541); Thu, 28 May 1998 19:20:04 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 19:19:16 +0100
Received: from mail.infohouse.com [206.30.88.4] by hermes via ESMTP (TAA23195); Thu, 28 May 1998 19:19:07 +0100 (BST)
Received: from [208.151.41.210] by milhouse.infohouse.com
(Post.Office MTA v3.1 release PO205e ID# 141-39833U2500L250S0)
with ESMTP id AAA122; Thu, 28 May 1998 14:18:22 -0400
X-Sender: ic11748@mail.infohouse.com
Message-Id:
In-Reply-To: <356D8672.86D1F2A5@nmol.com>
References: <356D7B08.4346@dial.pipex.com>
Mime-Version: 1.0
Content-Type: text/enriched; charset="us-ascii"
Date: Thu, 28 May 1998 14:21:35 -0500
To: Qian Chen , Jean Piche
From: tolve
Subject: Re: pvoc,soundin/diskin
Cc: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
qian,
while working in cecilia, an interface for csound on mac, unix, irix,
linux, i seem to remember once setting end loop points that began
before the end of a file. by setting table size on the low side. maybe
with gen 01. but don't see why tablei wouldn't work as described.
if that is the case, you can quickly test and adjust end loop points in
cecilia, which makes adjusting offset, number of loops, and duration
quite easy as well. and crossfades of loops should also be achievable.
of course i don't want to discourage the requested new feature in
csound itself, in fact i have added a related one for crossfade shapes
under separate cover, but this may serve your purpose for now.
comments jean?
anyway, i have found cecilia to be indispensable in its own right...
ftp://ftp.musique.umontreal.ca/pub/cecilia
tolve
>If you want to play only 1 second, then make the note only one second
long.
>If the note has to be more than 1 second, then set the volume to zero
after 1
>second (or if the last sample is zero, set the frequency to zero after
one
>second). If you want to loop over the one second, then you need to
have the
>file edited. Or load the file into a table and use tablei to read it
and loop
>at the right point. As for finding loop points that sound good, this
is not a
>task for which Csound is well suited. Use a sound editor instead.
>--
>Mike Berry
>mikeb@nmol.com
>http://www.nmol.com/users/mikeb
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09460;
28 May 98 19:24 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa16306;
28 May 98 19:24 BST
Received: (qmail 14589 invoked from network); 28 May 1998 18:24:44 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 18:24:44 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA12485); Thu, 28 May 1998 19:20:08 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 19:19:22 +0100
Received: from mail.infohouse.com [206.30.88.4] by hermes via ESMTP (TAA27014); Thu, 28 May 1998 19:19:10 +0100 (BST)
Received: from [208.151.41.210] by milhouse.infohouse.com
(Post.Office MTA v3.1 release PO205e ID# 141-39833U2500L250S0)
with ESMTP id AAB122; Thu, 28 May 1998 14:18:26 -0400
X-Sender: ic11748@mail.infohouse.com
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 28 May 1998 14:16:56 -0500
To: csound@maths.ex.ac.uk, John ffitch ,
mikeb@nmol.com
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
From: tolve
Subject: crossfades feature request
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
hmmm. maybe handy dandy crossfade opcodes (to smooth out clicks at loop
points) would be useful in csound, with different shapes similar to those
in Digidesign Pro Tools or MOTU Digital Performer.
tolve
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09678;
28 May 98 20:31 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa19881;
28 May 98 20:31 BST
Received: (qmail 17445 invoked from network); 28 May 1998 19:31:50 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 19:31:50 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA16051); Thu, 28 May 1998 20:25:45 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 20:25:20 +0100
Received: from ella.mills.edu [144.91.3.20] by hermes via SMTP (UAA03907); Thu, 28 May 1998 20:25:13 +0100 (BST)
Received: (qmail 16287 invoked by uid 1964); 28 May 1998 12:24:48 -0700
Date: Thu, 28 May 1998 12:24:48 -0700 (PDT)
From: "Matt J. Ingalls"
To: p robinson
Cc: csound@maths.ex.ac.uk
Subject: RE: pvoc,soundin/diskin
In-Reply-To: <356D7B08.4346@dial.pipex.com>
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> > why isn't there a parameter to specify the
> > > duration a user wants it to read? For example, if I want to skip 2
> > > seconds and just read 5 seconds but not the whole files after the 2
> > > seconds, I could use that parameter.
the duration of the note (p3) is the duration of the soundin.
>
> within csound, also would it be possible to incorporate some kind of
> looping facility into this new parameter (which would allow [me, at
this is best done with a table-lookup instrument where the index
is created by an oscil/phasor with amplitude=loop length then added to the
skip time...
of course if you are using a multi-channel soundfile you are out
of luck - also problems with memory for large files (most so on a Mac).
i always planned on writing a version of diskin that took
parameters like table, instead of soundin. maybe i should look into that
now...
the other option, of course, is to use some sort of score
generating program to create a new note for each loop. this actually is
the most flexible (and in some ways the easiest) method, and the one i at
least prefer...
> You can use reinit to do a loop but I could not get reinit to work with
> diskin only soundin.
that's a bug in diskin - will get on that - thanks.
-matt
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09710;
28 May 98 20:57 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa21407;
28 May 98 20:57 BST
Received: (qmail 18515 invoked from network); 28 May 1998 19:57:34 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 19:57:34 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA00239); Thu, 28 May 1998 20:52:40 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 20:52:17 +0100
Received: from strato-fe0.ultra.net [146.115.8.190] by hermes via ESMTP (UAA14856); Thu, 28 May 1998 20:52:10 +0100 (BST)
Received: from jhvh1 (trismegist.ultranet.com [199.232.96.18]) by strato-fe0.ultra.net (8.8.8/ult.n14767) with SMTP id PAA21128; Thu, 28 May 1998 15:52:08 -0400 (EDT)
Message-Id: <3.0.3.32.19980528155501.009b8bf0@pop.ma.ultranet.com>
X-Sender: maliq@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32)
Date: Thu, 28 May 1998 15:55:01 -0400
To: Daniel Fattorini ,
csound users group
From: QATJD
Subject: Re: who is =cw4t7abs
In-Reply-To:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Yes, it is obviously a covert plan to confound and demoralize the last
bastion of intelligent and creative technologist artists via the 'Babel'
effect.
But in any case, I sure wish he/she/it would stop polluting the list
bandwidth. I can't even say the messages are annoying, because they would
have to be deciphered or decipherable to be annoying.
At 05:58 PM 5/28/98 +0100, Daniel Fattorini wrote:
>
>Who is this person, or not as the case may be. My guess is that =cw4t7abs is
>a government conspiracy to confuse all csound users.
>
>
>
thank you for your bandwidth
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09887;
28 May 98 22:19 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25666;
28 May 98 22:19 BST
Received: (qmail 22076 invoked from network); 28 May 1998 21:19:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 21:19:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA10541); Thu, 28 May 1998 22:11:38 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 22:11:14 +0100
Received: from [193.121.99.70] by hermes via ESMTP (WAA03589); Thu, 28 May 1998 22:11:07 +0100 (BST)
Received: from pavell.com ([193.190.88.181]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA199
for ; Thu, 28 May 1998 23:15:51 +0200
Message-Id: <356DD29D.9340EB5D@pavell.com>
Date: Thu, 28 May 1998 23:09:49 +0200
From: David Schuyeteneer
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: Csound List
Subject: [Fwd: who is =cw4t7abs]
Content-Type: multipart/mixed; boundary="------------3C5298FEF90D7572ACEA65A0"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
This is a multi-part message in MIME format.
--------------3C5298FEF90D7572ACEA65A0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
I think =cw4t7abs is an intelligent, weird human being, a little bit unoriginal,
but further
a nice person......always speaking in pseudocryptic "computer" language
reveals
that he/she suffers somewhat from puberal behavior, by desperately
trying to act interesting and showing off fake-indepthness....
Ignore.
David.
--------------3C5298FEF90D7572ACEA65A0
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Return-Path:
Received: from exeter.ac.uk ([144.173.6.14]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA249
for ; Thu, 28 May 1998 19:06:43 +0200
Received: from noether [144.173.8.10] by hermes via SMTP (SAA19763); Thu, 28 May 1998 18:01:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 18:00:11 +0100
Received: from praseodumium.btinternet.com [194.73.73.82] by hermes via SMTP (SAA06954); Thu, 28 May 1998 18:00:02 +0100 (BST)
Received: from mail.btinternet.com [195.99.59.47]
by praseodumium.btinternet.com with smtp (Exim 1.70 #1)
id 0yf60u-00030O-00; Thu, 28 May 1998 17:58:48 +0100
X-Mailer: Microsoft Internet Mail and News for Macintosh - 1.1 (34)
Subject: who is =cw4t7abs
From: Daniel Fattorini
To: csound users group
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Message-Id:
Date: Thu, 28 May 1998 17:58:48 +0100
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Who is this person, or not as the case may be. My guess is that =cw4t7abs is
a government conspiracy to confuse all csound users.
--------------3C5298FEF90D7572ACEA65A0--
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09917;
28 May 98 22:33 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa26338;
28 May 98 22:33 BST
Received: (qmail 22327 invoked from network); 28 May 1998 21:33:43 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 21:33:43 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA20512); Thu, 28 May 1998 22:29:12 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 22:28:49 +0100
Received: from [193.121.99.70] by hermes via ESMTP (WAA12837); Thu, 28 May 1998 22:28:43 +0100 (BST)
Received: from pavell.com ([193.190.88.181]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA100
for ; Thu, 28 May 1998 23:33:31 +0200
Message-Id: <356DD6C2.475379E6@pavell.com>
Date: Thu, 28 May 1998 23:27:30 +0200
From: David Schuyeteneer
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: Csound List
Subject: STC performing Live !!!!!!
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hello Csound ring !
I am very happy to announce that one of my favorite bands ever is going
to
perform live at the World Exhibition in Portugal at the end of august.
The band i'm talking about is Sound Traffic Control, and I swear, for
people
who like electroacoustic/out-of-this-reality music this is *one hell
of crew*....
I'll try to gather more info on it...or try it yourself :
www.asphodel.com
David.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09923;
28 May 98 22:33 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa26343;
28 May 98 22:33 BST
Received: (qmail 22330 invoked from network); 28 May 1998 21:33:44 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 21:33:44 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA25963); Thu, 28 May 1998 22:30:53 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 22:30:21 +0100
Received: from f136.hotmail.com [207.82.251.15] by hermes via SMTP (WAA20473); Thu, 28 May 1998 22:30:13 +0100 (BST)
Received: (qmail 5491 invoked by uid 0); 28 May 1998 21:29:49 -0000
Message-Id: <19980528212949.5490.qmail@hotmail.com>
Received: from 207.172.192.218 by www.hotmail.com with HTTP;
Thu, 28 May 1998 14:29:48 PDT
X-Originating-Ip: [207.172.192.218]
From: Paul Winkler
To: csound@maths.ex.ac.uk, pruston@osler.com
Subject: Re: Unknown # option, line 0
Content-Type: text/plain
Date: Thu, 28 May 1998 14:29:48 PDT
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>From: "Ruston, Paul"
>To: "'Csound group'"
>Subject: Unknown # option, line 0
>Date: Thu, 28 May 1998 12:20:51 -0400
>
>I hope this isn't stupid question # 1. (I'm a new user)
Don't be embarassed, this stuff takes a long time. I've been csounding
off and on (mostly off) since 1992 and I still feel like a new user.
>I've been goin through the ACCCI tutorial and some orcs work, some
>don't. I can't visually see any errors in the code but I am using
these
>files on a windows version (maybe that's part of the problem). Here's
>the error message:
>
>error: Unknown # option, line 0
>
I don't use the windows version, but I've seen similar errors in linux
when using Cecilia. Take a look at your score file at the line indicated
(line 0). If the # symbol appears within a comment, I get an error.
Maybe the windows version has the same trouble. For instance:
; This is a comment that causes no problems.
; This is a comment, call it comment # 1, that cecilia doesn't like.
Removing the # that appears within the comment makes the error go away.
Interestingly, csound run at the linux command shell has no trouble with
the second example...
regards,
PW
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09929;
28 May 98 22:34 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa26348;
28 May 98 22:34 BST
Received: (qmail 16858 invoked from network); 28 May 1998 21:34:07 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 28 May 1998 21:34:07 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA09181); Thu, 28 May 1998 22:31:15 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 22:30:39 +0100
Received: from f18.hotmail.com [207.82.250.29] by hermes via SMTP (WAA01416); Thu, 28 May 1998 22:30:29 +0100 (BST)
Received: (qmail 27779 invoked by uid 0); 28 May 1998 21:30:04 -0000
Message-Id: <19980528213004.27778.qmail@hotmail.com>
Received: from 207.172.192.218 by www.hotmail.com with HTTP;
Thu, 28 May 1998 14:30:04 PDT
X-Originating-Ip: [207.172.192.218]
From: Paul Winkler
To: csound@maths.ex.ac.uk
Subject: Re: Unknown # option, line 0
Content-Type: text/plain
Date: Thu, 28 May 1998 14:30:04 PDT
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>From: "Ruston, Paul"
>To: "'Csound group'"
>Subject: Unknown # option, line 0
>Date: Thu, 28 May 1998 12:20:51 -0400
>
>I hope this isn't stupid question # 1. (I'm a new user)
Don't be embarassed, this stuff takes a long time. I've been csounding
off and on (mostly off) since 1992 and I still feel like a new user.
>I've been goin through the ACCCI tutorial and some orcs work, some
>don't. I can't visually see any errors in the code but I am using
these
>files on a windows version (maybe that's part of the problem). Here's
>the error message:
>
>error: Unknown # option, line 0
>
I don't use the windows version, but I've seen similar errors in linux
when using Cecilia. Take a look at your score file at the line indicated
(line 0). If the # symbol appears within a comment, I get an error.
Maybe the windows version has the same trouble. For instance:
; This is a comment that causes no problems.
; This is a comment, call it comment # 1, that cecilia doesn't like.
Removing the # that appears within the comment makes the error go away.
Interestingly, csound run at the linux command shell has no trouble with
the second example...
regards,
PW
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10027;
28 May 98 23:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa28785;
28 May 98 23:18 BST
Received: (qmail 24075 invoked from network); 28 May 1998 22:18:51 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 22:18:51 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA19303); Thu, 28 May 1998 23:16:10 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 23:15:38 +0100
Received: from imo12.mx.aol.com [198.81.17.34] by hermes via ESMTP (XAA20609); Thu, 28 May 1998 23:15:31 +0100 (BST)
From: Terwur@aol.com
Received: from Terwur@aol.com
by imo12.mx.aol.com (IMOv14_b1.1) id 6EGKa10872
for ; Thu, 28 May 1998 18:13:39 -0400 (EDT)
Message-Id: <1ff5c38b.356de194@aol.com>
Date: Thu, 28 May 1998 18:13:39 EDT
To: csound@maths.ex.ac.uk
Mime-Version: 1.0
Subject: Re: who is =cw4t7abs
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Windows AOL sub 170
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
In a message dated 28/05/98 17:04:38 GMT, you write:
>
> Who is this person, or not as the case may be. My guess is that =cw4t7abs
is
> a government conspiracy to confuse all csound users.
>
>
An incredibly pretentious prat.
Nuff said.
cheers,
Jon.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10046;
28 May 98 23:23 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa29016;
28 May 98 23:22 BST
Received: (qmail 24251 invoked from network); 28 May 1998 22:23:00 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 28 May 1998 22:23:00 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA21300); Thu, 28 May 1998 23:20:06 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 23:19:32 +0100
Received: from neptune.lyrick.com [38.227.100.46] by hermes via ESMTP (XAA04009); Thu, 28 May 1998 23:19:25 +0100 (BST)
Received: by NEPTUNE.lyrick.com with Internet Mail Service (5.5.1960.3)
id <2FPJK5A1>; Thu, 28 May 1998 17:16:56 -0500
Message-Id:
From: David Boothe
To: 'Paul Winkler' , csound@maths.ex.ac.uk
Subject: RE: Unknown # option, line 0
Date: Thu, 28 May 1998 17:16:55 -0500
Mime-Version: 1.0
X-Mailer: Internet Mail Service (5.5.1960.3)
Content-Type: text/plain
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Had the same problem a couple of weeks ago in Winsound. JPFF determined
there is something in the Csound code does not want to see # even if it
is in a comment. That is where I was using it and presumably Paul Ruston
is, too. My solution was to use num instead of #. Only a 2 character
penalty. It *may* be on JPFF's list of things to fix. Don't want to
speak for him, though.
-dB
> -----Original Message-----
> From: Paul Winkler [SMTP:zarmzarm@hotmail.com]
> Sent: May 28, 1998 16:30
> To: csound@maths.ex.ac.uk
> Subject: Re: Unknown # option, line 0
>
>
>
> >From: "Ruston, Paul"
> >To: "'Csound group'"
> >Subject: Unknown # option, line 0
> >Date: Thu, 28 May 1998 12:20:51 -0400
> >
> >I've been goin through the ACCCI tutorial and some orcs work, some
> >don't. I can't visually see any errors in the code but I am using
> these
> >files on a windows version (maybe that's part of the problem). Here's
> >the error message:
> >
> >error: Unknown # option, line 0
>
> I don't use the windows version, but I've seen similar errors in linux
>
> when using Cecilia. Take a look at your score file at the line
> indicated
> (line 0). If the # symbol appears within a comment, I get an error.
> Maybe the windows version has the same trouble. For instance:
>
>
> regards,
>
> PW
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10084;
28 May 98 23:44 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa29984;
28 May 98 23:44 BST
Received: (qmail 19813 invoked from network); 28 May 1998 22:44:04 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 28 May 1998 22:44:04 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA21882); Thu, 28 May 1998 23:41:23 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 28 May 98 23:41:00 +0100
Received: from peter.harvard.edu [140.247.68.78] by hermes via SMTP (XAA08327); Thu, 28 May 1998 23:40:53 +0100 (BST)
Received: from localhost by peter.harvard.edu (NX5.67f2/NX3.0M)
id AA03332; Thu, 28 May 98 18:41:03 -0400
Date: Thu, 28 May 1998 18:41:02 -0400 (EDT)
From: Fat_Boy
X-Sender: peter@peter
To: csound@maths.ex.ac.uk
Subject: =cw4
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
my dear csounders (tm), i can't believe all this wasted bandwidth
attacking =cw4 (sorry, mate, for getting all informal; we hardly know each
other). it is immensely irritating to read such witty and erudite comments
as "pretentious prat" and "government conspiracy". real annoyance for me
comes in the form of html messages, talk of "psychofictional" blah, but
i'd never ask the perpetrators of this to be banned, or invent silly
little stories accounting for their behaviour. nor would i publicly single
them out as having a few too many problems. (oops, just did.) so much of
what has been said smacks of reducing things to the lowest common
denominator. rather, have a shot at reading what =cw4 (give me a
pronoun!), just as i imagine =cw4 reads your stuff, no doubt with a degree
of amusement.
f@_boy.com+e
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10639;
29 May 98 4:30 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa16733;
29 May 98 4:30 BST
Received: (qmail 28924 invoked from network); 29 May 1998 03:30:42 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 29 May 1998 03:30:42 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA20336); Fri, 29 May 1998 04:26:21 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 29 May 98 04:25:58 +0100
Received: from send1a.yahoomail.com [205.180.60.22] by hermes via SMTP (EAA08123); Fri, 29 May 1998 04:25:48 +0100 (BST)
Message-Id: <19980529011314.29527.rocketmail@send1a.yahoomail.com>
Received: from [192.9.25.21] by send1a; Thu, 28 May 1998 18:13:14 PDT
Date: Thu, 28 May 1998 18:13:14 -0700 (PDT)
From: Qian Chen
Subject: RE: pvoc,soundin/diskin
To: Csound
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
---p robinson wrote:
>
> > Why not use a sound file editor to excerpt the section you want,
then
> > save it as a new file? Then use the new file you created as your
soundin
> > source. I use Cool Edit 96 (Win95) to do this for my GEN01
instruments.
> > You can also use this method to trim/pad the soundfile to make it
the
> > exact number of samples you need, if necessary.
> >
> > -dB
> > (David M. Boothe, Audio Director
> > Lyrick Studios, Dallas, TX)
> >
> >
> I also use Cool Edit to do this, but it does mean multiple copies of
> essentially the same information, Qian Chen's suggestion
>
> > why isn't there a parameter to specify the
> > > duration a user wants it to read? For example, if I want to
skip 2
> > > seconds and just read 5 seconds but not the whole files after
the 2
> > > seconds, I could use that parameter.
>
> would not only save on disk space, but would allow for experimentation
> without ever leaving Csound, for an example: If
Yes, what I think is the same as Robinson does. Using that parameter,
we can both save disk space and control sound file dynamically.
==
Qian Chen
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10881;
29 May 98 6:55 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa24237;
29 May 98 6:55 BST
Received: (qmail 19620 invoked from network); 29 May 1998 05:55:23 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 29 May 1998 05:55:23 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (GAA24705); Fri, 29 May 1998 06:47:53 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 29 May 98 06:47:33 +0100
Received: from va.com.au [203.15.106.1] by hermes via ESMTP (GAA19548); Fri, 29 May 1998 06:47:18 +0100 (BST)
Received: from [203.16.208.31] by va.com.au with SMTP (Eudora Internet Mail
Server 2.1); Fri, 29 May 1998 15:16:48 +0930
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 29 May 1998 15:17:31 +0930
To: csound@maths.ex.ac.uk
From: Peter
Subject: Reson probs
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hello Csounders
I have been having some problems with reson. No matter
what amplitude of signal I feed it , it outputs a very distorted
signal.
----------------------------------------------------------------------------
-------------
; Reson.orc
sr=44100
kr=4410
ksmps=10
instr 1
ia1=ampdb(p4)
ib1=ampdb(p5)
kcps=cpspch(p6)
ifn=p7
ia2=p8
ib2=p9
kbw=p10
kenv line ia1, p3, ib1
kenv2 line ia2, p3, ib2
asig oscili kenv, kcps, ifn
asig2 reson asig, kenv2, kbw
out asig2
endin
;Reson Score
;
f1 0 2049 10 1 ; Sine
f2 0 2049 10 1 .5 .3 .25 .2 .167 .14 .125 .111 ; Sawtooth
f3 0 2049 10 1 0 .3 0 .2 0 .14 0 .111 ; Square
;
;
;p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
;i1 s d amp env cps wave filt env kbw
; --dB-- pch --cps--
;
i1 0 .2 90 50 8.09 1 900 150 100
i1 .25 .2 80 10 7.09 2 1000 500 350
i1 .5 .2 70 . 6.09 3 500 200 100
i1 .75 .2 60 . 8.09 1 900 250 250
e
Here are the results
SECTION 1:
ftable 1:
ftable 2:
ftable 3:
new alloc for instr 1:
B 0.000 .. 0.200 T 0.200 TT 0.200 M:13601849.0
number of samples out of range: 8737
B 0.200 .. 0.250 T 0.250 TT 0.250 M: 0.0
B 0.250 .. 0.450 T 0.450 TT 0.450 M: 878051.4
number of samples out of range: 7046
B 0.450 .. 0.500 T 0.500 TT 0.500 M: 0.0
B 0.500 .. 0.700 T 0.700 TT 0.700 M:1305401.5
number of samples out of range: 8579
B 0.700 .. 0.750 T 0.750 TT 0.750 M: 0.0
B 0.750 .. 0.950 T 0.950 TT 0.950 M: 137360.2
number of samples out of range: 6274
end of score. overall amps:13601849.0
overall samples out of range: 30636
0 errors in performance
See those amplitudes fly !!! It's not like I hvwe even used balance
to get back some gain after filtering. Is it something I am doing wrong ?
i am also having similar problems with lpread and lpreson , but that
can wait for another mail :-)
Any suggestions ?
Peter Sansom
http://sustenance.va.com.au
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10949;
29 May 98 7:47 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa26840;
29 May 98 7:47 BST
Received: (qmail 20855 invoked from network); 29 May 1998 06:47:50 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 29 May 1998 06:47:50 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (HAA27992); Fri, 29 May 1998 07:39:16 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 29 May 98 07:38:53 +0100
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (HAA09350); Fri, 29 May 1998 07:38:46 +0100 (BST)
Received: from default (ppp04-09.dial-access.stm.it [195.62.37.201]) by agora.stm.it (8.8.8/8.8.5) with ESMTP id IAA09902; Fri, 29 May 1998 08:37:17 +0200 (ITADST)
Message-Id: <356D0F55.AB7FA33A@agora.stm.it>
Date: Thu, 28 May 1998 09:16:37 +0200
From: Gabriel Maldonado
X-Mailer: Mozilla 4.0 [en] (Win95; I)
Mime-Version: 1.0
To: Ruggero Andrea Ruschioni
Cc: csound@maths.ex.ac.uk
Subject: Re: rephrasing...
X-Priority: 3 (Normal)
References: <356C89E9.1E35CFA3@lsi.usp.br>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
-K flag (that is choosing MIDI in port) is not yet implemented in
Winsound (maybe it will be in the near future)
Ruggero Andrea Ruschioni wrote:
> Hi,
>
> On PCs w/ Win95 or WinNT:
> Anyone has winsound accepting the "-Msbmidi" flag?
> It accepts the flag but does nothing...is this a bug? (or a
> non-feature)
>
> It is also not accepting the "-K" flag.
> (disregard what I said about devaudio on winsound, that's working fine
> I
> mixed things up )
> Pleeeeeease....
>
> Ruggero
--
Gabriel Maldonado
http://www.agora.stm.it/G.Maldonado/home2.htm
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11231;
29 May 98 11:10 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa10111;
29 May 98 11:10 BST
Received: (qmail 18217 invoked from network); 29 May 1998 10:10:31 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 29 May 1998 10:10:31 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA07764); Fri, 29 May 1998 11:05:06 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 29 May 98 11:04:37 +0100
Received: from mcfs.whowhere.com [209.1.236.44] by hermes via SMTP (LAA06280); Fri, 29 May 1998 11:04:29 +0100 (BST)
Received: from Unknown/Local ([?.?.?.?]) by mailexcite.com; Fri May 29 03:04:00 1998
To: csound
Date: Fri, 29 May 1998 03:04:00 -0700
From: Kay Q Lee
Message-Id:
Mime-Version: 1.0
X-Sent-Mail: off
X-Mailer: MailCity Service
Subject: Why Csound?
X-Sender-Ip: 192.9.25.21
Organization: MailExcite (http://www.mailexcite.com:80)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Dear all,
I am new to this mailing list. I just took part in it today! So if the question here has been asked by someone else before, please forgive me.
What I would like to know is why we choose Csound. As far as I know, Csound is a synthesis language. It can really make a lot of sounds that do not exist in the world. But don't you think synthesisers and samplers are great enough to realize it? So why Csound? Could someone out there give me some advice so that I will be clear about it?
Thanks for your bandwidth.
Regards
Kay
Free web-based email, Forever, From anywhere!
http://www.mailexcite.com
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11281;
29 May 98 11:32 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa12208;
29 May 98 11:32 BST
Received: (qmail 1427 invoked from network); 29 May 1998 10:32:41 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 29 May 1998 10:32:41 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA00660); Fri, 29 May 1998 11:27:26 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 29 May 98 11:26:59 +0100
Received: from nicb@ax-nicb.axnet.it [194.184.60.149] by hermes via ESMTP (LAA03315); Fri, 29 May 1998 11:26:33 +0100 (BST)
Received: (from nicb@localhost)
by ax-nicb.axnet.it (8.8.8/8.8.8) id MAA10594;
Fri, 29 May 1998 12:24:26 +0200
Date: Fri, 29 May 1998 12:24:24 +0200 (MET DST)
From: Nicola Bernardini
To: Csound mailing list
Subject: some 3.481 bug fix patches offered
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I had to make some fixes in order to have my students finish projects
etc. We use linux systems so the patches were done on Linux systems
we the tools that we have available there (context diffs, patch, etc.)
The reported bugs seem to be fixed, but I don't know if the patches
break something else (a typical trend...). I post them in the hope they
can help.
Nicola
P.S. The patch on sread.c should fix the '#'-inside-comments problem reported
in some previous mails.
------------------------------------------------------------------------
Nicola Bernardini
E-mail: nicb@axnet.it
Re graphics: A picture is worth 10K words -- but only those to describe
the picture. Hardly any sets of 10K words can be adequately described
with pictures.
------------------------------------------------------------------------
opcode diskin:
1) skip time did not work at all, and file sample rate was incorrectely
displayed (maybe Linux-specific, at any rate the code was wrong)
2) when transposition factor < 0, sound did not play if skiptime == 0
context-diff patch:
*** diskin.c.orig Sat May 23 13:08:59 1998
--- diskin.c Tue May 26 09:36:45 1998
***************
*** 140,146 ****
hdrsize = hdr->hdrsize;
p->filetyp = hdr->filetyp; /* copy type from headata */
p->aiffdata = hdr->aiffdata;
! p->sr = (short)hdr->sr;
p->nchnls = (short)hdr->nchnls;
}
else { /* no hdr: find info elsewhere */
--- 140,146 ----
hdrsize = hdr->hdrsize;
p->filetyp = hdr->filetyp; /* copy type from headata */
p->aiffdata = hdr->aiffdata;
! p->sr = (long)hdr->sr;
p->nchnls = (short)hdr->nchnls;
}
else { /* no hdr: find info elsewhere */
***************
*** 220,226 ****
}
else {
p->begfile = TRUE;
! if (*p->ktransp < 0) p->endfile = TRUE;
}
if ((n = sreadinew(sinfd,p->inbuf,SNDINEWBUFSIZ,p)) == 0) /* now rd fulbuf */
--- 220,226 ----
}
else {
p->begfile = TRUE;
! if (*p->ktransp < 0 && nbytes == p->audrem) p->endfile = TRUE;
}
if ((n = sreadinew(sinfd,p->inbuf,SNDINEWBUFSIZ,p)) == 0) /* now rd fulbuf */
------------------------------------------------------------------------
score reader:
comments get evaluated by recursive getscochar()/flushin() calls, and
special characters inside comments get evaluated (probably not what was
intended, I guess). To see what i mean, just try a sco file with a comment
like this:
; this [is] a comment
The square brackets get evaluated and the compiler stops. The fix is not
very nice but I was scared to break something else.
context-diff patch:
*** ./sread.c.orig Mon Apr 13 19:45:00 1998
--- ./sread.c Wed May 27 12:48:36 1998
***************
*** 651,667 ****
linpos = 0;
}
static int sget1(void) /* get first non-white, non-comment char */
{
int c;
! srch: while ((c = getscochar()) == SP || c == '\t' || c == LF)
if (c == LF) {
lincnt++;
linpos = 0;
}
if (c == ';' || c == 'c') {
! flushlin();
goto srch;
}
if (c == '\\') { /* Deal with continuations and specials */
--- 651,687 ----
linpos = 0;
}
+ /*
+ * getscochar() does so much evaluation now that we cannot use flushlin()
+ * anymore to flush comment lines (otherwise they end up being evaluated too)
+ * so I added this one just to flush comment lines; this
+ * solution is ugly as hell but hey! I'm too afraid to break things in this
+ * glass house...
+ * [nicb@axnet.it]
+ */
+ static void flushcomments(void)
+ {
+ int c;
+
+ while ((c = getc(str->file)) != LF && c != EOF)
+ ;
+ lincnt++;
+ linpos = 0;
+ }
+
static int sget1(void) /* get first non-white, non-comment char */
{
int c;
! srch: if (c == ';' || c == 'c') /* line-beginning comments */
! flushcomments();
! while ((c = getscochar()) == SP || c == '\t' || c == LF)
if (c == LF) {
lincnt++;
linpos = 0;
}
if (c == ';' || c == 'c') {
! flushcomments();
goto srch;
}
if (c == '\\') { /* Deal with continuations and specials */
------------------------------------------------------------------------
mixer ancillary program:
did'nt even compile under Linux
context-diff patch:
*** util2/mixer/mixer.c.orig Wed May 27 11:18:28 1998
--- util2/mixer/mixer.c Wed May 27 11:19:04 1998
***************
*** 260,266 ****
case '8':
if (OO.outformat) goto outform;
outformch = c;
! OO.outformat = AE_BYTE; /* 8-bit unsigned char file */
break;
case 'a':
if (OO.outformat) goto outform;
--- 260,266 ----
case '8':
if (OO.outformat) goto outform;
outformch = c;
! OO.outformat = AE_UNCH; /* 8-bit unsigned char file */
break;
case 'a':
if (OO.outformat) goto outform;
***************
*** 434,440 ****
spoutran = floatran;
floutbuf = (float *)outbuf;
break;
! case AE_BYTE:
spoutran = bytetran;
choutbuf = outbuf;
break;
--- 434,440 ----
spoutran = floatran;
floutbuf = (float *)outbuf;
break;
! case AE_UNCH:
spoutran = bytetran;
choutbuf = outbuf;
break;
------------------------------------------------------------------------
function duplications (maybe Linux-specific):
we tried to build a dynamically linked library and small executables for
csound and ancillary programs under linux; the process breaks in many
places because of function duplications; the main.c file needed some
small re-organization too. I think these changes should be incorporated
if anybody else under any other system will want to build a dynamically
linked library (a .dll, in Windowese). They should not affect the code
at all if statically linked.
context-diff patches:
*** ./util2/exports/het_export.c.orig Fri May 8 09:37:30 1998
--- ./util2/exports/het_export.c Fri May 8 09:38:19 1998
***************
*** 23,28 ****
--- 23,29 ----
exit(1);
}
+ #if 0 /* this is in the CSOUND LIBRARY!!!! (remove from here!) */
void err_printf(char *fmt, ...)
{
va_list a;
***************
*** 38,43 ****
--- 39,45 ----
vfprintf(stdout, fmt, a);
va_end(a);
}
+ #endif
int main(int argc, char **argv)
{
*** ./util2/exports/pv_export.c.orig Fri May 8 09:38:40 1998
--- ./util2/exports/pv_export.c Fri May 8 09:39:01 1998
***************
*** 12,18 ****
#include "pvoc.h"
void usage(int);
!
int err_printf(char *fmt, ...)
{
va_list a;
--- 12,19 ----
#include "pvoc.h"
void usage(int);
!
! #if 0
int err_printf(char *fmt, ...)
{
va_list a;
***************
*** 20,25 ****
--- 21,27 ----
vfprintf(stderr, fmt, a);
va_end(a);
}
+ #endif
void mfree(void *p)
{
*** ./main.c.orig Tue Apr 28 01:18:31 1998
--- ./main.c Fri May 8 09:39:50 1998
***************
*** 10,30 ****
unsigned int _stack = 0xFFF0U;
#endif
static int ScotScore = 0, stdinassgn = 0;
- /*static*/ char *scorename = NULL;
static char *xfilename = NULL;
static char *sortedscore = "score.srt";
static char *xtractedscore = "score.xtr";
static char *playscore = "score.srt"; /* unless we extract */
static FILE *scorin, *scorout, *xfile;
- FILE *dribble;
static void dieu(char *), usage(void);
- extern OPARMS O;
- char *orchname = NULL; /* used by rdorch */
- #ifdef LINUX
- int midi_out;
- extern void openMIDIout(void);
- #endif
#define FIND(MSG) if (*s == '\0') \
if (!(--argc) || ((s = *++argv) != NULL) && *s == '-') \
--- 10,40 ----
unsigned int _stack = 0xFFF0U;
#endif
+ #if !defined(CSOUND_MAIN)
+ extern OPARMS O;
+ char *orchname = NULL; /* used by rdorch */
+ char *scorename = NULL;
+ FILE *dribble;
+ #ifdef LINUX
+ int midi_out;
+ extern void openMIDIout(void);
+ #endif
+ #else /* defined(CSOUND_MAIN) */
+ extern char *orchname; /* used by rdorch */
+ extern char *scorename;
+ #ifdef LINUX
+ extern int midi_out;
+ #endif
+ #endif /* !defined(CSOUND_MAIN) */
+
+ #if defined(CSOUND_MAIN)
static int ScotScore = 0, stdinassgn = 0;
static char *xfilename = NULL;
static char *sortedscore = "score.srt";
static char *xtractedscore = "score.xtr";
static char *playscore = "score.srt"; /* unless we extract */
static FILE *scorin, *scorout, *xfile;
static void dieu(char *), usage(void);
#define FIND(MSG) if (*s == '\0') \
if (!(--argc) || ((s = *++argv) != NULL) && *s == '-') \
***************
*** 34,40 ****
--- 44,52 ----
void dialog_arguments(void);
#include
extern int cwin_atexit(void (*)(void));
+ #endif /* CWIN */
+ #if defined(CWIN)
int cwin_main(int argc, char **argv)
#else
int main(int argc, char **argv)
***************
*** 532,537 ****
--- 544,552 ----
#endif
exit(1);
}
+ #endif /* defined(CSOUND_MAIN) */
+
+ #if !defined(CSOUND_MAIN)
#ifdef CWIN
int args_OK = 0;
***************
*** 573,575 ****
--- 588,591 ----
}
}
#endif
+ #endif /* !defined(CSOUND_MAIN) */
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11289;
29 May 98 11:37 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa12533;
29 May 98 11:36 BST
Received: (qmail 21024 invoked from network); 29 May 1998 10:36:59 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 29 May 1998 10:36:59 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA06124); Fri, 29 May 1998 11:33:16 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 29 May 98 11:32:31 +0100
Received: from tungsten.btinternet.com [194.73.73.81] by hermes via SMTP (LAA19131); Fri, 29 May 1998 11:32:24 +0100 (BST)
Received: from mail.btinternet.com [195.99.52.68]
by tungsten.btinternet.com with smtp (Exim 1.70 #1)
id 0yfMRm-00077m-00; Fri, 29 May 1998 11:31:38 +0100
X-Mailer: Microsoft Internet Mail and News for Macintosh - 1.1 (34)
Subject: Moog opcode question
From: Daniel Fattorini
To: csound users group
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Message-Id:
Date: Fri, 29 May 1998 11:31:38 +0100
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Is the moog opcode available on all versions of csound, I am using ppc
version 0.3.1b.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11471;
29 May 98 12:16 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa15242;
29 May 98 12:16 BST
Received: (qmail 3587 invoked from network); 29 May 1998 11:16:53 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 29 May 1998 11:16:53 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (MAA16336); Fri, 29 May 1998 12:11:56 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 29 May 98 12:11:27 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via SMTP (MAA07714); Fri, 29 May 1998 12:11:20 +0100 (BST)
Received: from omphalos.maths.bath.ac.uk (maths.Bath.AC.UK) [138.38.99.25] (mmdf)
by wallace.maths.bath.ac.uk with smtp (Exim 1.82 #1)
id 0yfN48-0005Xp-00; Fri, 29 May 1998 12:11:16 +0100
From: jpff@maths.bath.ac.uk
To: roger@lsi.usp.br
Cc: csound@maths.ex.ac.uk
In-Reply-To: <356C89E9.1E35CFA3@lsi.usp.br> (message from Ruggero Andrea
Ruschioni on Wed, 27 May 1998 18:47:22 -0300)
Subject: Re: rephrasing...
References: <356C89E9.1E35CFA3@lsi.usp.br>
Date: Fri, 29 May 98 12:11:12 BST
Source-Info: From (or Sender) name not authenticated.
Message-Id:
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>>>>> "Ruggero" == Ruggero Andrea Ruschioni writes:
Ruggero> Hi,
Ruggero> On PCs w/ Win95 or WinNT:
Ruggero> Anyone has winsound accepting the "-Msbmidi" flag?
Ruggero> It accepts the flag but does nothing...is this a bug? (or a non-feature)
There is no code to deal with MIDI devices. I did sketch some of it
once, but as I do not have MIDI on my PC I could not check it.
-Mstdin should work though, or it might.
Ruggero> It is also not accepting the "-K" flag.
What -K flag? I cannot see one in the sources or the documentation.
|