| I'm still new with csound and I'm tring trying to recreate some of my
Turbosynth patches to csound sound, I've got to one that is based on a
sample but I can't get the loscil ugen to work, the file is being loaded
correctly as I can see it in the functions displayes at compiling time,
this is what it looks like, what am I doing wrong.
the .orc file is
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
instr 1
ilen = p3 ; length
iamp = ampdb(p4) ; amplitude
ioct = cpspch(8.03)
kskamp linseg .4, .008, 1, .008, .95, .02, .35, .044, 0
ask loscil iamp, cpsoct(ioct-1), 2, 155.6 ; adding 155.6 seems to
;... produce and praticly DC signal, else it just silence
ask gain ask, kskamp, 20
out ask
endin
and the .sco file is
f1 0 4096 10 1
f2 0 0 1 "Clank" 0 0 1
;in st ln amp pch
i1 0 1 90
Nathan Day
nathand@senet.com.au
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01188;
22 Sep 97 15:47 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa27780;
22 Sep 97 15:47 BST
Received: (qmail 6629 invoked from network); 22 Sep 1997 14:47:55 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 22 Sep 1997 14:47:55 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA13435); Mon, 22 Sep 1997 15:36:19 +0100
Received: from zeno by maths.exeter.ac.uk; Mon, 22 Sep 97 15:36:05 +0100
From: james@maths.ex.ac.uk
Message-Id: <2724.199709221436@zeno.maths.exeter.ac.uk>
Subject: analysis to screo file?
To: csound@maths.ex.ac.uk
Date: Mon, 22 Sep 1997 15:36:03 +0100 (BST)
Reply-To: ascott@mail.usyd.edu.au
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1827
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
owner-csound-outgoing wrote
>From owner-csound-outgoing Sat Sep 20 02:19:08 1997
From: owner-csound-outgoing
Date: Sat, 20 Sep 97 02:19:08 GMT
Message-Id: <34.9709200219@maths.exeter.ac.uk>
To: owner-csound-outgoing
Subject: BOUNCE Csound: Non-member submission from [ascott@mail.usyd.edu.au (A Scott)]
>From ascott@mail.usyd.edu.au Sat Sep 20 03:19:04 1997 remote from
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Sat, 20 Sep 97 03:19:04 +0100
Received: from extra.ucc.su.OZ.AU [129.78.64.4] by hermes via ESMTP (DAA24368); Sat, 20 Sep 1997 03:18:50 +0100
Received: from [138.25.16.173] (connuta-07.itd.uts.edu.au [138.25.16.173]) by extra.ucc.su.OZ.AU (8.8.7/8.6.12) with SMTP id MAA05307 for ; Sat, 20 Sep 1997 12:19:15 +1000 (EST)
X-Sender: ascott@postbox.usyd.edu.au (Unverified)
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 20 Sep 1997 12:23:15 +1000
To: csound
From: ascott@mail.usyd.edu.au (A Scott)
Subject: analysis to score file?
In an essay by Jonathan Harvey, dealing largely with the creation of his
"Mortuos Plango Vivos Voco" piece for tape he describes an 'IRCAM version'
of MUSIC V which, from his description, allowed one to open up analysis
files (I think they were tracking PV system) and edit them in a manner
similar to scorefiles... I'm thinking MacOS or Linux here - maybe Mklinux
when they get around to putting in audio support.
I'm wondering about the availability of such a facility for Csound - I've
used the "Tweaky" accessory for the Mac PPCsound - but it's not in an
immediately usable form. Perhaps a script that converted the (text)
analysis files into a score format.
Anyone know of a trick or a package which can do this?
Ash
--
James Andrews, maths CDO, ext.3977
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01212;
22 Sep 97 15:48 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa27818;
22 Sep 97 15:49 BST
Received: (qmail 6710 invoked from network); 22 Sep 1997 14:49:16 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 22 Sep 1997 14:49:16 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA03085); Mon, 22 Sep 1997 15:35:22 +0100
Received: from zeno by maths.exeter.ac.uk; Mon, 22 Sep 97 15:35:03 +0100
From: james@maths.ex.ac.uk
Message-Id: <2719.199709221435@zeno.maths.exeter.ac.uk>
Subject: spectrum database
To: csound@maths.ex.ac.uk
Date: Mon, 22 Sep 1997 15:35:01 +0100 (BST)
Reply-To: levi@cis.plym.ac.uk
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1752
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
owner-csound-outgoing wrote
>From owner-csound-outgoing Sun Sep 21 09:11:40 1997
From: owner-csound-outgoing
Date: Sun, 21 Sep 97 09:11:40 GMT
Message-Id: <13096.9709210911@maths.exeter.ac.uk>
To: owner-csound-outgoing
Subject: BOUNCE Csound: Non-member submission from ["Levente.Toth" ]
>From levi@rome.cis.plym.ac.uk Sun Sep 21 10:11:36 1997 remote from
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Sun, 21 Sep 97 10:11:36 +0100
Received: from rome.cis.plym.ac.uk [141.163.169.57] by hermes via ESMTP (KAA05877); Sun, 21 Sep 1997 10:11:24 +0100
Received: from cis.plym.ac.uk ([141.163.169.14]) by rome.cis.plym.ac.uk (8.7.5/8.7.3) with ESMTP id KAA13379 for ; Sun, 21 Sep 1997 10:14:21 +0100 (BST)
Sender: levi@cis.plym.ac.uk
Message-Id: <3424E718.981EFBA0@cis.plym.ac.uk>
Date: Sun, 21 Sep 1997 10:21:28 +0100
From: "Levente.Toth"
Reply-To: levi@cis.plym.ac.uk
Organization: Centre for Intelligent Systems, University of Plymouth
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 4.1.2 sun4c)
Mime-Version: 1.0
To: Csound list
Subject: spectrum database
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
There is a 39-instrument spectrum database at:
http://sparky.parmly.luc.edu/sharc/
Levente
--
****************************************************************
* Levente Toth (levi@cis.plym.ac.uk) - Centre for Intelligent *
* Systems, University of Plymouth, Drake Circus, Plymouth *
* Devon,England WEB: www.cis.plym.ac.uk/cis/levi/home.html *
* Tel: 44-1752-233514, 233516 / Fax: 44-1752-232583 *
****************************************************************
--
James Andrews, maths CDO, ext.3977
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01266;
22 Sep 97 16:03 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa28026;
22 Sep 97 16:04 BST
Received: (qmail 8190 invoked from network); 22 Sep 1997 15:04:06 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 22 Sep 1997 15:04:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA16923); Mon, 22 Sep 1997 15:49:08 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Mon, 22 Sep 97 15:48:53 +0100
Received: from condor.CC.UMontreal.CA [132.204.2.103] by hermes via ESMTP (PAA16392); Mon, 22 Sep 1997 15:48:52 +0100
Received: from eole.ERE.UMontreal.CA (eole.ERE.UMontreal.CA [132.204.2.70]) by condor.CC.UMontreal.CA with ESMTP id KAA06190
(8.6.11/IDA-1.6); Mon, 22 Sep 1997 10:48:10 -0400
Received: from mistral.ERE.UMontreal.CA by eole.ERE.UMontreal.CA (951211.SGI.8.6.12.PATCH1042/5.17)
id KAA11676; Mon, 22 Sep 1997 10:48:09 -0400
Received: from GAP by mistral.ERE.UMontreal.CA (951211.SGI.8.6.12.PATCH1042/5.17)
id KAA08865; Mon, 22 Sep 1997 10:48:06 -0400
Message-Id: <34268510.ABD@ere.umontreal.ca>
Date: Mon, 22 Sep 1997 10:47:44 -0400
From: Jean Piche
X-Mailer: Mozilla 3.01SGoldC-SGI (X11; I; IRIX 6.3 IP32)
Mime-Version: 1.0
To: Nathan Day
Cc: csound@maths.ex.ac.uk
Subject: Re: Help with loscil
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Nathan,
Your problem seems to be in the pitch conversion area.
you were converting from pitch-class to cps-class and converting the
result (in cps) as if it was an oct-class to cps again... which would
yeild an extremely high cps value...
Keep in mind that in some versions, loscil optional parameters (loop
control) are *not* optional and have to be given...
Try this:
>
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 1
>
> instr 1
> ilen = p3 ; length
> iamp = ampdb(p4) ; amplitude
> ioct = cpspch(7.03)
>
> kskamp linseg .4, .008, 1, .008, .95, .02, .35, .044, 0
> ask loscil iamp, ioct, 2, 155.6
>
> aski gain ask, kskamp, 20
> out aski
> endin
> f1 0 4096 10 1
> f2 0 0 1 "Clank" 0 0 1
>
> ;in st ln amp pch
> i1 0 1 90
--
________________________________________________________
Jean Piche
Universite de Montreal
http://mistral.ere.umontreal.ca/~pichej
http://www.musique.umontreal.ca/electro/CEC/
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01363;
22 Sep 97 16:25 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa28478;
22 Sep 97 16:26 BST
Received: (qmail 9993 invoked from network); 22 Sep 1997 15:26:29 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 22 Sep 1997 15:26:29 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA02183); Mon, 22 Sep 1997 16:14:17 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Mon, 22 Sep 97 16:14:01 +0100
Received: from root@jason02.u.washington.edu [140.142.76.8] by hermes via ESMTP (QAA16678); Mon, 22 Sep 1997 16:13:59 +0100
Received: from saul2.u.washington.edu (karpen@saul2.u.washington.edu [140.142.56.21])
by jason02.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP
id IAA36122; Mon, 22 Sep 1997 08:14:38 -0700
Received: from localhost (karpen@localhost)
by saul2.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP
id IAA09626; Mon, 22 Sep 1997 08:14:37 -0700 (PDT)
Date: Mon, 22 Sep 1997 08:14:37 -0700 (PDT)
From: Richard Karpen
To: ascott@mail.usyd.edu.au
Cc: csound@maths.ex.ac.uk
Subject: Re: analysis to screo file?
In-Reply-To: <2724.199709221436@zeno.maths.exeter.ac.uk>
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Audiosculpt from IRCAM allows editing of the analysis produced by that
program, although it's not really how I would have done it. It's a quite
nice program though for the Mac and seems to get used quite a lot in our
computer music studios. I'm not sure exactly in what way you'd like to see
the data in a "score" format. It's easy to print out the data as text and
therefore it can be formatted in any old way. More difficult is creating
an editor for the data which is really practical. There's A LOT of data
there.
Richard Karpen
On Mon, 22 Sep 1997 james@noether.ex.ac.uk wrote:
> owner-csound-outgoing wrote
> >From owner-csound-outgoing Sat Sep 20 02:19:08 1997
> From: owner-csound-outgoing
> Date: Sat, 20 Sep 97 02:19:08 GMT
> Message-Id: <34.9709200219@maths.exeter.ac.uk>
> To: owner-csound-outgoing
> Subject: BOUNCE Csound: Non-member submission from [ascott@mail.usyd.edu.au (A Scott)]
>
> >From ascott@mail.usyd.edu.au Sat Sep 20 03:19:04 1997 remote from
> Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Sat, 20 Sep 97 03:19:04 +0100
> Received: from extra.ucc.su.OZ.AU [129.78.64.4] by hermes via ESMTP (DAA24368); Sat, 20 Sep 1997 03:18:50 +0100
> Received: from [138.25.16.173] (connuta-07.itd.uts.edu.au [138.25.16.173]) by extra.ucc.su.OZ.AU (8.8.7/8.6.12) with SMTP id MAA05307 for ; Sat, 20 Sep 1997 12:19:15 +1000 (EST)
> X-Sender: ascott@postbox.usyd.edu.au (Unverified)
> Message-Id:
> Mime-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"
> Date: Sat, 20 Sep 1997 12:23:15 +1000
> To: csound
> From: ascott@mail.usyd.edu.au (A Scott)
> Subject: analysis to score file?
>
> In an essay by Jonathan Harvey, dealing largely with the creation of his
> "Mortuos Plango Vivos Voco" piece for tape he describes an 'IRCAM version'
> of MUSIC V which, from his description, allowed one to open up analysis
> files (I think they were tracking PV system) and edit them in a manner
> similar to scorefiles... I'm thinking MacOS or Linux here - maybe Mklinux
> when they get around to putting in audio support.
>
> I'm wondering about the availability of such a facility for Csound - I've
> used the "Tweaky" accessory for the Mac PPCsound - but it's not in an
> immediately usable form. Perhaps a script that converted the (text)
> analysis files into a score format.
>
> Anyone know of a trick or a package which can do this?
>
> Ash
>
>
>
>
> --
> James Andrews, maths CDO, ext.3977
>
>
|