| Hello,
I was reading the manual some days ago and found the hrtfer opcode. "Cool",
I thought, "let's try it!" I copied the example in the manual into an orc
file and wrote a simple score to use with it. When I compiled it,
everything worked fine until Perf said "file HRTFco" and then nothing for a
very long time. After waiting 15 minutes, I gave up and aborted.
My computer _is_ slow (70 MHz PPC), but should it really take that long? Or
have I done something wrong? I've included the orc and sco files below, and
I would be very grateful for some help with this.
--ll
------ ORC
sr = 44100
kr = 44100
ksmps = 1
nchnls = 2
instr 1
kaz linseg 0, p3, -360 ; move the sound in circle
kel linseg -40, p3, 45 ; around the listener, changing
; elevation as its turning
asrc soundin "hrtf-sin.aiff"
aleft,aright hrtfer asrc, kaz, kel, "HRTFcompact"
aleftscale = aleft * 200
arightscale = aright * 200
outs aleftscale, arightscale
endin
------ SCO
i1 0 5
e
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23311;
1 Feb 99 15:49 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 107Lat-0001Ng-00; Mon, 1 Feb 1999 15:48:59 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA03475); Mon, 1 Feb 1999 15:39:13 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 1 Feb 1999 15:38:56 GMT
Received: from mail.c-bridge.com [199.93.167.4] by hermes via ESMTP (PAA00435); Mon, 1 Feb 1999 15:38:43 GMT
Received: from mail2.c-bridge.com (mail2.c-bridge.com [199.93.167.10])
by mail.c-bridge.com (8.8.7/8.8.7) with ESMTP id KAA01650
for ; Mon, 1 Feb 1999 10:37:59 -0500
Received: by MAIL2.c-bridge.com with Internet Mail Service (5.5.2232.9)
id ; Mon, 1 Feb 1999 10:37:59 -0500
Message-ID: <87E25BFE149AD21194CC00A0C999D98902A529@MAIL2.c-bridge.com>
From: Grant Covell
To: "'csound@maths.ex.ac.uk'"
Subject: FW: [ANNOUNCE] DirectCsound 2.6 available
Date: Mon, 1 Feb 1999 10:37:58 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: text/plain;
charset="iso-8859-1"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
-----Original Message-----
From: Grant Covell
Sent: Monday, February 01, 1999 10:37 AM
To: 'Gabriel Maldonado'
Subject: RE: [ANNOUNCE] DirectCsound 2.6 available
Some items here:
[snip]
1) new score opcodes: { } (nested loops)
3) Nested macros. The syntax of macros with arguments has changed a bit: now
comma
character must be used in order to separate arguments instead of '#'
character .
4) During each csound session a file named orc.srt containing orchestra
macro expansions
is created, in order to find bugs when using macros.
[snip]
I'm eager to see in the Mills PPC.
Can I be pushy by asking when these might find their way to the PPC?
Esp. #4 since console messages for errors in macros provide line numbers
that do not correlate to an extant/known file.
Grant.
-----Original Message-----
From: Gabriel Maldonado [mailto:g.maldonado@agora.stm.it]
Sent: Monday, February 01, 1999 6:26 AM
To: Csound Mailing List
Subject: [ANNOUNCE] DirectCsound 2.6 available
Hi all,
the 2.6 version is now available on my site for download:
http://www.agora.stm.it/G.Maldonado/download.htm
these are the new features:
1) new score opcodes: { } (nested loops), F (score table creation)
2) new score macro arithmetic operators: T (score table access), R (random
numbers), ^
(power), % (modulus)
3) Nested macros. The syntax of macros with arguments has changed a bit: now
comma
character must be used in order to separate arguments instead of '#'
character .
4) During each csound session a file named orc.srt containing orchestra
macro expansions
is created, in order to find bugs when using macros.
5) New orc opcodes: resony
6) some bugs fixed
7) synchronized with 3.51 canonical version
HAPPY DOWNLOADING!
--
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 aa23443;
1 Feb 99 16:27 GMT
Received: from [129.15.2.121] (helo=hermes.services.ou.edu)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 107MBh-0001Rf-00; Mon, 1 Feb 1999 16:27:04 +0000
Received: from styx.services.ou.edu by hermes.services.ou.edu with ESMTP; Mon, 1 Feb 1999 10:26:47 -0600
Received: from ou.edu (cate1-83.reshall.ou.edu [129.15.141.83])
by styx.services.ou.edu (8.9.1/8.9.1) with ESMTP id KAA22721;
Mon, 1 Feb 1999 10:26:46 -0600 (CST)
Message-ID: <36B5D5CA.EEDF4C02@ou.edu>
Date: Mon, 01 Feb 1999 10:26:50 -0600
From: Terry Cast
Reply-To: terrycast-1@ou.edu
Organization: The University of Oklahoma
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en,de-DE,fr-FR
MIME-Version: 1.0
To: jpff@maths.bath.ac.uk, csound@maths.ex.ac.uk
Subject: Re: Pitchbend
References: <36B532F7.ECE0325A@ou.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
The first orc/sco (with same MIDI file) shown in my previous post (quoted
below) works with Winsound 3.511 and Consound 3.511 (running under Windows
95). Thank you, jpff.
Terry Cast
Terry Cast wrote:
> Please excuse me for taking so long to reply, I have been too busy to get
> to it this week.
>
> The following orchestra works fine with DirectCsound 2.5 and 2.6 (on
> Windows 95), but produces only a steadily pitched tone with Consound 3.51
> and Winsound 3.51 (the test MIDI file is just one long note, during which
> I added some pitchbending--I can send the MIDI file by attachment to the
> list or directly to you if you would like to see it).
>
> sr=44100
> kr=4410
> nchnls=1
>
> instr 1
> kpch pchmidib 12
> asig oscil 10000, cpspch(kpch), 1
> out asig
> endin
>
> ;score
> f1 0 4096 10 1
> f0 25
>
> This next orchestra (with same score and MIDI file, all of the versions of
> Csound listed above) results in a jump of several octaves in pitch each
> time there is a new pitchbend message. Am I doing something wrong (I
> wouldn't be surprised)? Is pchbend supposed to work this way?
>
> sr=44100
> kr=4410
> nchnls=1
>
> instr 1
> ipch pchmidi ; translate MIDI note number to pch
> kbend pchbend 4 ; get pitchbend messages and scale them to range of 0
> through 4
> kpch = ipch + (kbend-2) ; shift pch value of note by value of kbend (range
> of -2 through 2)
> asig oscil 10000, cpspch(kpch), 1
> out asig
> endin
>
> I hope this at least partly answers your question.
>
> Terry Cast
>
> jpff@maths.bath.ac.uk wrote:
>
> > Message written at 24 Jan 1999 17:05:15 +0000
> >
> > On 15 Dec 1998 I sent a message saying that I thought I was on the
> > track of a screw-up in pitchbend. The revised code was in v3.50 but
> > so far I have not heard from anyone that it either does or does not
> > work. If you have any experience to offer with respect to bending for
> > v3.50 or later, I would like to hear -- positive or negative.
> > ==John ffitch
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23449;
1 Feb 99 16:28 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 107MCg-0000lF-00; Mon, 1 Feb 1999 16:28:03 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA13722); Mon, 1 Feb 1999 16:16:15 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 1 Feb 1999 16:15:58 GMT
Received: from neptune.lyrick.com [38.227.100.46] by hermes via ESMTP (QAA02813); Mon, 1 Feb 1999 16:15:56 GMT
Received: by neptune.lyrick.com with Internet Mail Service (5.5.2232.9)
id ; Mon, 1 Feb 1999 10:13:02 -0600
Message-ID: <283AABB8FD0DD21187C200A0C995F5DE0ECE25@neptune.lyrick.com>
From: David Boothe
To: 'Lars Luthman' , csound@maths.ex.ac.uk
Subject: RE: About hrtfer
Date: Mon, 1 Feb 1999 10:13:00 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: text/plain;
charset="iso-8859-1"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
It does take a while for this to render. I tried this on my 180 mHz Pentium
Pro using Windows console version 3.51. It took about 80 seconds to render
the 5 second sound file. By comparison, commenting out the hrtfer line and
sending asrc directly out, takes about 2 seconds to render. Based on what
this opcode does, I suspect it has a lot of number crunching to do.
I couldn't tell what you were monitoring to assume a hang. When rendering, I
monitor disk activity by watching the drive's LED and/or listening for it to
write a buffer to disk. If it goes an inordinately long time without any
disk activity, I assume a hang. Fifteen minutes with no disk activity might
be a bit much. The message you received was the first part of "file
HRTFcompact loaded into memory."
Hope this helps.
-David.
> -----Original Message-----
> From: Lars Luthman [mailto:nv96llu@ksk.sala.se]
> Sent: Monday, February 01, 1999 7:57 AM
> To: csound@maths.ex.ac.uk
> Subject: About hrtfer
>
>
> Hello,
>
> I was reading the manual some days ago and found the hrtfer
> opcode. "Cool",
> I thought, "let's try it!" I copied the example in the manual
> into an orc
> file and wrote a simple score to use with it. When I compiled it,
> everything worked fine until Perf said "file HRTFco" and then
> nothing for a
> very long time. After waiting 15 minutes, I gave up and aborted.
>
> My computer _is_ slow (70 MHz PPC), but should it really take
> that long? Or
> have I done something wrong? I've included the orc and sco
> files below, and
> I would be very grateful for some help with this.
>
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23457;
1 Feb 99 16:29 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 107MDu-0000lS-00; Mon, 1 Feb 1999 16:29:18 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA05487); Mon, 1 Feb 1999 16:17:52 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 1 Feb 1999 16:17:32 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (QAA18374); Mon, 1 Feb 1999 16:17:30 GMT
Received: from dumburk (dialup198-2-24.swipnet.se [130.244.198.88])
by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id RAA24511
for ; Mon, 1 Feb 1999 17:17:08 +0100 (MET)
Message-ID: <36B5D3CC.1A41@hem.passagen.se>
Date: Mon, 01 Feb 1999 17:18:20 +0100
From: rasmus ekman
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
To: Csound list
Subject: Re: About hrtfer
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Lars Luthman wrote:
>
> everything worked fine until Perf said "file HRTFco" and then nothing for a
> very long time. After waiting 15 minutes, I gave up and aborted.
Do you have the associated data file HRTFcompact? It can
be downloaded separately from either of
ftp://ftp.maths.bath.ac.uk/pub/dream/utilities/Analysis/
ftp://ftp.musique.umontreal.ca/pub/mirrors/dream/utilities/Analysis/
- I guess it should be stored in the same folder as perf.
hth.
re
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23504;
1 Feb 99 16:49 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 107MXD-0000mr-00; Mon, 1 Feb 1999 16:49:15 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA16855); Mon, 1 Feb 1999 16:27:04 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 1 Feb 1999 16:26:50 GMT
Received: from hermes.services.ou.edu [129.15.2.121] by hermes via ESMTP (QAA14039); Mon, 1 Feb 1999 16:26:48 GMT
Received: from styx.services.ou.edu by hermes.services.ou.edu with ESMTP; Mon, 1 Feb 1999 10:26:47 -0600
Received: from ou.edu (cate1-83.reshall.ou.edu [129.15.141.83])
by styx.services.ou.edu (8.9.1/8.9.1) with ESMTP id KAA22721;
Mon, 1 Feb 1999 10:26:46 -0600 (CST)
Message-ID: <36B5D5CA.EEDF4C02@ou.edu>
Date: Mon, 01 Feb 1999 10:26:50 -0600
From: Terry Cast
Reply-To: terrycast-1@ou.edu
Organization: The University of Oklahoma
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en,de-DE,fr-FR
MIME-Version: 1.0
To: jpff@maths.bath.ac.uk, csound@maths.ex.ac.uk
Subject: Re: Pitchbend
References: <36B532F7.ECE0325A@ou.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
The first orc/sco (with same MIDI file) shown in my previous post (quoted
below) works with Winsound 3.511 and Consound 3.511 (running under Windows
95). Thank you, jpff.
Terry Cast
Terry Cast wrote:
> Please excuse me for taking so long to reply, I have been too busy to get
> to it this week.
>
> The following orchestra works fine with DirectCsound 2.5 and 2.6 (on
> Windows 95), but produces only a steadily pitched tone with Consound 3.51
> and Winsound 3.51 (the test MIDI file is just one long note, during which
> I added some pitchbending--I can send the MIDI file by attachment to the
> list or directly to you if you would like to see it).
>
> sr=44100
> kr=4410
> nchnls=1
>
> instr 1
> kpch pchmidib 12
> asig oscil 10000, cpspch(kpch), 1
> out asig
> endin
>
> ;score
> f1 0 4096 10 1
> f0 25
>
> This next orchestra (with same score and MIDI file, all of the versions of
> Csound listed above) results in a jump of several octaves in pitch each
> time there is a new pitchbend message. Am I doing something wrong (I
> wouldn't be surprised)? Is pchbend supposed to work this way?
>
> sr=44100
> kr=4410
> nchnls=1
>
> instr 1
> ipch pchmidi ; translate MIDI note number to pch
> kbend pchbend 4 ; get pitchbend messages and scale them to range of 0
> through 4
> kpch = ipch + (kbend-2) ; shift pch value of note by value of kbend (range
> of -2 through 2)
> asig oscil 10000, cpspch(kpch), 1
> out asig
> endin
>
> I hope this at least partly answers your question.
>
> Terry Cast
>
> jpff@maths.bath.ac.uk wrote:
>
> > Message written at 24 Jan 1999 17:05:15 +0000
> >
> > On 15 Dec 1998 I sent a message saying that I thought I was on the
> > track of a screw-up in pitchbend. The revised code was in v3.50 but
> > so far I have not heard from anyone that it either does or does not
> > work. If you have any experience to offer with respect to bending for
> > v3.50 or later, I would like to hear -- positive or negative.
> > ==John ffitch
Date: Mon, 1 Feb 99 17:00:00 GMT
From: J P Fitch
To: terrycast-1@ou.edu
cc: jpff@maths.bath.ac.uk, csound@maths.ex.ac.uk
Subject: Re: Pitchbend
It was Jim Croson (croson@theory.esm.rochester.edu) who really fixed
pitchbend if it is fixed. If it is not then it is still my problem...
==John
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23571;
1 Feb 99 17:06 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 107MnQ-0001VZ-00; Mon, 1 Feb 1999 17:06:00 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA10907); Mon, 1 Feb 1999 17:00:17 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 1 Feb 1999 17:00:02 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (RAA06566); Mon, 1 Feb 1999 17:00:01 GMT
Received: from [138.38.99.25] (helo=maths.Bath.AC.UK ident=mmdf)
by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
id 107Mhd-0001Uy-00; Mon, 1 Feb 1999 17:00:01 +0000
Date: Mon, 1 Feb 99 17:00:00 GMT
From: J P Fitch
To: terrycast-1@ou.edu
cc: jpff@maths.bath.ac.uk, csound@maths.ex.ac.uk
Subject: Re: Pitchbend
Message-Id:
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
It was Jim Croson (croson@theory.esm.rochester.edu) who really fixed
pitchbend if it is fixed. If it is not then it is still my problem...
==John
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23808;
1 Feb 99 18:21 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 107NyU-0001bo-00; Mon, 1 Feb 1999 18:21:30 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA06656); Mon, 1 Feb 1999 18:17:14 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 1 Feb 1999 18:16:55 GMT
Received: from root@jenny.ksk.sala.se [193.180.172.20] by hermes via ESMTP (SAA08979); Mon, 1 Feb 1999 18:16:54 GMT
Received: from [193.180.172.31] (dialin5.ksk.sala.se [193.180.172.31])
by jenny.ksk.sala.se (8.9.2/8.8.7) with ESMTP id TAA15744
for ; Mon, 1 Feb 1999 19:16:51 +0100 (CET)
Date: Mon, 1 Feb 1999 19:16:51 +0100 (CET)
X-Sender: nv96llu@mail.ksk.sala.se
Message-Id:
In-Reply-To: <36B5D3CC.1A41@hem.passagen.se>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: csound@maths.ex.ac.uk
From: Lars Luthman
Subject: Re: About hrtfer
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>Lars Luthman wrote:
>>
>> everything worked fine until Perf said "file HRTFco" and then nothing for a
>> very long time. After waiting 15 minutes, I gave up and aborted.
>
>Do you have the associated data file HRTFcompact? It can
>be downloaded separately from either of
> ftp://ftp.maths.bath.ac.uk/pub/dream/utilities/Analysis/
> ftp://ftp.musique.umontreal.ca/pub/mirrors/dream/utilities/Analysis/
>- I guess it should be stored in the same folder as perf.
>
>hth.
>
> re
Yes, I have the file. I shortened the duration to 1 second, and this time
it only took 2 minutes to render. Strange.
-ll
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23862;
1 Feb 99 18:53 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 107OTc-0001dz-00; Mon, 1 Feb 1999 18:53:40 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA11927); Mon, 1 Feb 1999 18:49:04 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 1 Feb 1999 18:48:49 GMT
Received: from dns2.seanet.com [199.181.164.2] by hermes via ESMTP (SAA06819); Mon, 1 Feb 1999 18:48:46 GMT
Received: from seanet.com (cy30.dialup.seanet.com [207.12.136.30]) by mx.seanet.com (8.8.8/Seanet-8.7.3) with ESMTP id KAA11431; Mon, 1 Feb 1999 10:48:32 -0800 (PST)
Message-ID: <36B5F7FA.3496117C@seanet.com>
Date: Mon, 01 Feb 1999 10:52:43 -0800
From: Sean Costello
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: David Boothe
CC: 'Lars Luthman' , csound@maths.ex.ac.uk
Subject: Re: About hrtfer
References: <283AABB8FD0DD21187C200A0C995F5DE0ECE25@neptune.lyrick.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
David Boothe wrote:
>
> It does take a while for this to render. I tried this on my 180 mHz Pentium
> Pro using Windows console version 3.51. It took about 80 seconds to render
> the 5 second sound file. By comparison, commenting out the hrtfer line and
> sending asrc directly out, takes about 2 seconds to render. Based on what
> this opcode does, I suspect it has a lot of number crunching to do.
I think it does convolution, i.e. it convolves the input file with the
HRTF impulse files. Convolution is VERY processor intensive. I'd
explain it, but I'm horrible at explaining convolution (I've tried
before, in order to let my friends know what I think about, and it
didn't work out that well...). One way of thinking of it is this: when
you convolve an input signal with a HRTF impulse file, it is similar to
running the signal through a multitap delay line, with a weighted tap
for every sample, with the total length corresponding to the length of
the HRTF impulse file. The value of each sample in the impulse file
would correspond to the weighting of the corresponding tap in the delay
line. Not a very clear explanation (and mind you, this isn't really
what is going on in the program), but it should at least make it clear
why it takes so long. The number of multiplies needed for straight
convolution would be equal to the number of samples in the input sample
TIMES the number of samples in the impulse file.
Sean Costello
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25024;
2 Feb 99 5:20 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 107YGA-0001Rc-00; Tue, 2 Feb 1999 05:20:26 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (FAA14381); Tue, 2 Feb 1999 05:17:23 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 2 Feb 1999 05:17:10 GMT
Received: from dns2.seanet.com [199.181.164.2] by hermes via ESMTP (FAA06238); Tue, 2 Feb 1999 05:17:08 GMT
Received: from seanet.com (ba21.dialup.seanet.com [207.12.134.85]) by mx.seanet.com (8.8.8/Seanet-8.7.3) with ESMTP id VAA10568 for ; Mon, 1 Feb 1999 21:17:07 -0800 (PST)
Message-ID: <36B68B50.49A5D0D1@seanet.com>
Date: Mon, 01 Feb 1999 21:21:20 -0800
From: Sean Costello
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: csound
Subject: Music 11 questions (i.e. converting code to Csound)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi all:
Does anyone know the Csound equivalents of pipdef, pipad, pipadv, and
piprd in Music 11? I know that they correspond - roughly - to delayr,
deltap, deltapi, and delayw, but I am not clear on how. They seem to
work...backwards. I have a nice bit of Music 11 code in front of me
(from the article "Designing Multi-Channel Reverberators" by John
Stautner and Miller Puckette, CMJ Vol.6 No.1, Spring 1982, p. 52-65),
and most of it makes sense (the variable typing, tone, reson, randi,
if...kgoto), but the above unit generators have thrown me for a loop.
Any tips?
Thanks,
Sean Costello
P.S. In an older article, Stephen Travis Pope wrote about how Csound was
able to run all legacy Music 11 code. Is this true? Can I just type in
this score and have it run? Or have the old opcodes been wiped?
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25151;
2 Feb 99 6: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 107ZCc-0002Ki-00; Tue, 2 Feb 1999 06:20:50 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (GAA17716); Tue, 2 Feb 1999 06:15:32 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 2 Feb 1999 06:15:18 GMT
Received: from root@jason01.u.washington.edu [140.142.70.24] by hermes via ESMTP (GAA15720); Tue, 2 Feb 1999 06:15:17 GMT
Received: from homer12.u.washington.edu (karpen@homer12.u.washington.edu [140.142.78.13])
by jason01.u.washington.edu (8.9.1+UW98.09/8.9.1+UW98.09) with ESMTP id WAA11374;
Mon, 1 Feb 1999 22:15:15 -0800
Received: from localhost (karpen@localhost)
by homer12.u.washington.edu (8.9.1+UW98.09/8.9.1+UW98.09) with ESMTP id WAA121660;
Mon, 1 Feb 1999 22:15:14 -0800
Date: Mon, 1 Feb 1999 22:15:14 -0800 (PST)
From: Richard Karpen
To: Sean Costello
cc: csound
Subject: Re: Music 11 questions (i.e. converting code to Csound)
In-Reply-To: <36B68B50.49A5D0D1@seanet.com>
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Sean,
I probably still have a Music 11 manual somewhere in a box in my office.
Remind me and I'll look for it!
Richard
On Mon, 1 Feb 1999, Sean Costello wrote:
> Hi all:
>
> Does anyone know the Csound equivalents of pipdef, pipad, pipadv, and
> piprd in Music 11? I know that they correspond - roughly - to delayr,
> deltap, deltapi, and delayw, but I am not clear on how. They seem to
> work...backwards. I have a nice bit of Music 11 code in front of me
> (from the article "Designing Multi-Channel Reverberators" by John
> Stautner and Miller Puckette, CMJ Vol.6 No.1, Spring 1982, p. 52-65),
> and most of it makes sense (the variable typing, tone, reson, randi,
> if...kgoto), but the above unit generators have thrown me for a loop.
> Any tips?
>
> Thanks,
>
> Sean Costello
>
> P.S. In an older article, Stephen Travis Pope wrote about how Csound was
> able to run all legacy Music 11 code. Is this true? Can I just type in
> this score and have it run? Or have the old opcodes been wiped?
>
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25167;
2 Feb 99 6:40 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 107ZVc-0002Lf-00; Tue, 2 Feb 1999 06:40:28 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (GAA11035); Tue, 2 Feb 1999 06:38:13 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 2 Feb 1999 06:38:02 GMT
Received: from arwen.unibe.ch [130.92.9.52] by hermes via SMTP (GAA13422); Tue, 2 Feb 1999 06:38:01 GMT
Received: from haegar.iamexwi.unibe.ch (actually haegar.unibe.ch) by arwen
with smtpL; Tue, 2 Feb 1999 07:35:31 +0100
Received: from klee.iamexwi.unibe.ch
by haegar.iamexwi.unibe.ch (SMI-8.6/SMI-SVR4) id HAA26472;
Tue, 2 Feb 1999 07:37:27 +0100
Received: by klee.iamexwi.unibe.ch (8.8.8+Sun/SMI-SVR4) id HAA04766;
Tue, 2 Feb 1999 07:37:22 +0100 (MET)
Date: Tue, 2 Feb 1999 07:37:22 +0100 (MET)
From: the Physicist
Message-Id: <199902020637.HAA04766@klee.iamexwi.unibe.ch>
To: csound@maths.ex.ac.uk
Subject: Re: About hrtfer
X-Sun-Charset: US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> David Boothe wrote:
> >
> > It does take a while for this to render. I tried this on my 180 mHz Pentium
> > Pro using Windows console version 3.51. It took about 80 seconds to render
> > the 5 second sound file. By comparison, commenting out the hrtfer line and
> > sending asrc directly out, takes about 2 seconds to render. Based on what
> > this opcode does, I suspect it has a lot of number crunching to do.
>
> I think it does convolution, i.e. it convolves the input file with the
> HRTF impulse files. Convolution is VERY processor intensive. I'd
> explain it, but I'm horrible at explaining convolution (I've tried
That's strange... Motivated by the messages about hrtfer I yesterday
tried it too, on a 90MHz Pentium running Linux-2.2.1, with csound-3.511.
I didn't use soundin but a PWM signal generated with the 'vco' opcode,
and I controlled it via MIDI.
Well, it 'basically' ran in realtime ! That means, I had many breaks in the
audio output, but the fragmented audio, when listened to in the headphones,
really seemed to move in 3d space. So I wonder why David's PPro180 takes
80s for a 5s audio file, that's really strange. Is the Windows Version
that much slower than the Linux one ?
Thomas
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25405;
2 Feb 99 9:35 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 107cF6-0001i5-00; Tue, 2 Feb 1999 09:35:36 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (JAA11708); Tue, 2 Feb 1999 09:30:46 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 2 Feb 1999 09:30:31 GMT
Received: from caracal.noc.ucla.edu [169.232.10.11] by hermes via ESMTP (JAA14042); Tue, 2 Feb 1999 09:30:29 GMT
Received: from smtp ([164.67.88.7])
by caracal.noc.ucla.edu (8.9.1a/8.9.1) with SMTP id BAA18021
for ; Tue, 2 Feb 1999 01:30:23 -0800 (PST)
Received: from UCLA-Message_Server by smtp
with Novell_GroupWise; Tue, 02 Feb 1999 01:23:52 -0800
Message-Id:
X-Mailer: Novell GroupWise 4.1
Date: Tue, 02 Feb 1999 01:34:51 -0800
From: Jonathan Drexler
To: csound@maths.ex.ac.uk
Subject: Filter clicks
Mime-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have been trying to set up an instrument in which the filter's
cutoff-frequency "tracks" the current note being played, similar to
keyboard tracking in commercial synthesizers. When I program a passage
which simulates legato, the filter clicks at the beginning of many of
the notes. The problem is apparently coming from the filter because
when I remove the filter the legato is quite good. The filter opcode I
am using is "tonex", but I have had the same problem with butterlp.
In attempting to fix this I have played with the filter's "istor"
parameter and also introduced a small amount of portamento between
the pitches, but the results are still not very good. I wondered
whether anyone has encountered this and if so if there is a good
solution for it. Would be very grateful for help.
Thanks.
!
|