| Dan Gutwein wrote:
>
> I would like to use a language like Cscore to generate csound score files.
> Is Cscore or something like it available for Windows or DOS?
Cscore is a C lib which requires separate C compiler. Can't see it compiled
for Win/dos anywhere. If that's a fact, you could always get the source code
(in Util1 directory of the normal Csound_src distribution) and compile
it yourself.
There is also Cmask, at ftp://ftp.kgw.tu-berlin.de/pub/cmask/
and certainly other score generators at other places. (I'd like
to see Cybil ported to other platforms.)
This hasn't been announced to the list before; I have a Lindenmeyer system
score generator (win32 command-line exe only) hanging around on my Csound
page. It's ok for creating fractal-type structures, and I have found
occasional use for it. But like most score languages, it's also
Yet Another Script Language You Don't Really Want To Learn.
http://hem.passagen.se/rasmuse/Csound.htm
Regards,
re
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22687;
18 Jun 98 16:14 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa12776;
18 Jun 98 16:14 BST
Received: (qmail 24536 invoked from network); 18 Jun 1998 15:14:44 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 18 Jun 1998 15:14:44 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA23531); Thu, 18 Jun 1998 16:08:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 18 Jun 98 16:08:20 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (QAA04602); Thu, 18 Jun 1998 16:08:11 +0100 (BST)
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 0ymgIR-00056N-00; Thu, 18 Jun 1998 16:08:15 +0100
From: jpff@maths.bath.ac.uk
To: mikeb@nmol.com
Cc: LilaSachel@wxs.nl, csound@maths.ex.ac.uk
In-Reply-To: <3587383A.E46A1E71@nmol.com> (message from Mike Berry on Tue, 16
Jun 1998 21:30:03 -0600)
Subject: Re: Newbie question: window
References: <35853B60.BAE6561@nmol.com> <358723C7.6431E425@wxs.nl> <3587383A.E46A1E71@nmol.com>
Date: Thu, 18 Jun 98 16:08:14 BST
Source-Info: From (or Sender) name not authenticated.
Message-Id:
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Reading the soutrces, in pvanal the frame size must be between
#define MAXFRMPTS 65536
#define MINFRMPTS 16 /* limits on fft size */
Any suggestions that this chould change? Tnere was a 16bit limit in
some versions of csound at one time.
==John
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27592;
18 Jun 98 18:45 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa23648;
18 Jun 98 18:45 BST
Received: (qmail 18481 invoked from network); 18 Jun 1998 17:45:20 -0000
Received: from jason01.u.washington.edu (root@140.142.70.24)
by pat.bath.ac.uk with SMTP; 18 Jun 1998 17:45:20 -0000
Received: from saul3.u.washington.edu (karpen@saul3.u.washington.edu [140.142.83.1])
by jason01.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP
id KAA32680; Thu, 18 Jun 1998 10:44:28 -0700
Received: from localhost (karpen@localhost)
by saul3.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP
id KAA08381; Thu, 18 Jun 1998 10:44:27 -0700 (PDT)
Date: Thu, 18 Jun 1998 10:44:27 -0700 (PDT)
From: Richard Karpen
To: jpff@maths.bath.ac.uk
cc: mikeb@nmol.com, LilaSachel@wxs.nl, csound@noether.ex.AC.UK
Subject: Re: Newbie question: window
In-Reply-To:
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Whatever changes are made, all of the pvoc related unit generators should
have corresponding changes made to allow for the larger window sizes in
the resynthesis. I also suggest unifying all of the PV definitions into
one .h file. The proliferation of these .h files is largely do to my own
additions to the pvoc repertoire, so if you'd like, I can take on this
little task John and pass you the new files.
RK
On Thu, 18 Jun 1998 jpff@maths.bath.ac.uk wrote:
> Reading the soutrces, in pvanal the frame size must be between
>
> #define MAXFRMPTS 65536
> #define MINFRMPTS 16 /* limits on fft size */
>
> Any suggestions that this chould change? Tnere was a 16bit limit in
> some versions of csound at one time.
> ==John
>
>
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27603;
18 Jun 98 18:51 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa23900;
18 Jun 98 18:51 BST
Received: (qmail 18862 invoked from network); 18 Jun 1998 17:51:19 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 18 Jun 1998 17:51:19 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA13771); Thu, 18 Jun 1998 18:45:04 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 18 Jun 98 18:44:39 +0100
Received: from root@jason01.u.washington.edu [140.142.70.24] by hermes via ESMTP (SAA01413); Thu, 18 Jun 1998 18:44:29 +0100 (BST)
Received: from saul3.u.washington.edu (karpen@saul3.u.washington.edu [140.142.83.1])
by jason01.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP
id KAA32680; Thu, 18 Jun 1998 10:44:28 -0700
Received: from localhost (karpen@localhost)
by saul3.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP
id KAA08381; Thu, 18 Jun 1998 10:44:27 -0700 (PDT)
Date: Thu, 18 Jun 1998 10:44:27 -0700 (PDT)
From: Richard Karpen
To: jpff@maths.bath.ac.uk
Cc: mikeb@nmol.com, LilaSachel@wxs.nl, csound@maths.ex.ac.uk
Subject: Re: Newbie question: window
In-Reply-To:
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Whatever changes are made, all of the pvoc related unit generators should
have corresponding changes made to allow for the larger window sizes in
the resynthesis. I also suggest unifying all of the PV definitions into
one .h file. The proliferation of these .h files is largely do to my own
additions to the pvoc repertoire, so if you'd like, I can take on this
little task John and pass you the new files.
RK
On Thu, 18 Jun 1998 jpff@maths.bath.ac.uk wrote:
> Reading the soutrces, in pvanal the frame size must be between
>
> #define MAXFRMPTS 65536
> #define MINFRMPTS 16 /* limits on fft size */
>
> Any suggestions that this chould change? Tnere was a 16bit limit in
> some versions of csound at one time.
> ==John
>
>
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27610;
18 Jun 98 18:53 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa23973;
18 Jun 98 18:53 BST
Received: (qmail 18974 invoked from network); 18 Jun 1998 17:53:45 -0000
Received: from ella.mills.edu (144.91.3.20)
by pat.bath.ac.uk with SMTP; 18 Jun 1998 17:53:45 -0000
Received: (qmail 10316 invoked by uid 1964); 18 Jun 1998 10:53:15 -0700
Date: Thu, 18 Jun 1998 10:53:15 -0700 (PDT)
From: "Matt J. Ingalls"
To: jpff@maths.bath.ac.uk
cc: mikeb@nmol.com, LilaSachel@wxs.nl, csound@maths.ex.ac.uk
Subject: Re: Newbie question: window
In-Reply-To:
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
> #define MAXFRMPTS 65536
well, the Mills PPC UI only went up to 16384..
fixn' to fix that (yesterday)
hi,
matt
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27624;
18 Jun 98 18:59 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa24167;
18 Jun 98 18:59 BST
Received: (qmail 1075 invoked from network); 18 Jun 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; 18 Jun 1998 17:59:17 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA22739); Thu, 18 Jun 1998 18:54:29 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 18 Jun 98 18:53:50 +0100
Received: from ella.mills.edu [144.91.3.20] by hermes via SMTP (SAA02506); Thu, 18 Jun 1998 18:53:43 +0100 (BST)
Received: (qmail 10316 invoked by uid 1964); 18 Jun 1998 10:53:15 -0700
Date: Thu, 18 Jun 1998 10:53:15 -0700 (PDT)
From: "Matt J. Ingalls"
To: jpff@maths.bath.ac.uk
Cc: mikeb@nmol.com, LilaSachel@wxs.nl, csound@maths.ex.ac.uk
Subject: Re: Newbie question: window
In-Reply-To:
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> #define MAXFRMPTS 65536
well, the Mills PPC UI only went up to 16384..
fixn' to fix that (yesterday)
hi,
matt
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27828;
18 Jun 98 20:54 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa28104;
18 Jun 98 20:54 BST
Received: (qmail 4516 invoked from network); 18 Jun 1998 19:54:20 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 18 Jun 1998 19:54:20 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA10969); Thu, 18 Jun 1998 20:48:05 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 18 Jun 98 20:47:40 +0100
Received: from hub.mdx.ac.uk [158.94.2.5] by hermes via ESMTP (UAA11878); Thu, 18 Jun 1998 20:47:34 +0100 (BST)
Received: from CONVERSION-DAEMON by mdx.ac.uk (PMDF V5.1-10 #18911)
id <01IYE8RULSFK00B1JT@mdx.ac.uk> for Csound@maths.ex.ac.uk; Thu,
18 Jun 1998 20:50:07 BST
Received: from default (stu-dialup11.mdx.ac.uk)
by mdx.ac.uk (PMDF V5.1-10 #18911) with SMTP id <01IYE8QW3XKM00ACHN@mdx.ac.uk>
for Csound@maths.ex.ac.uk; Thu, 18 Jun 1998 20:50:05 +0100 (BST)
Date: Thu, 18 Jun 1998 20:34:11 +0100
From: Jamie Bullock
Subject: Spectral Extraction for Csound
To: Csound List
Message-Id: <003501bd9af1$5019b5e0$35015e9e@default>
Mime-Version: 1.0
X-Mailer: Microsoft Outlook Express 4.72.2106.4
Content-Type: text/plain
X-Msmail-Priority: Normal
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
X-Priority: 3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Would it be possible for any of the programmers on the list to write an
implementation of the 'Spectral Rate Extractor' (used in Soundhack and
Max-DSP) for Csound?
In the Soundhack implementation, a soundfile is analysed (FFT), and the
speed of frequency deviation is measured. Two soundfiles are returned, one
with the stable frequences, and one with the transients. The criteria for
deciding wether the frequencies are stable/transient, are defined by the
user in terms of deviation (Hz) per analysis frame.
Personally I find this util exceptionally useful.
Perhaps a potential CSound opcode could take an FFT file from PVanal (..
would this work?), and return a signal which only contains partials which
deviate less than kdev per analysis frame. ie.
a1 spextract kdev,ifilcod[,iskip]
where kdev is the maximum freq deviation in a1 etc.
Might it be possible to add this function as an option to Pvoc, without
writing a new opcode?
yours hopefully,
JamieB
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28026;
18 Jun 98 21:54 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00146;
18 Jun 98 21:54 BST
Received: (qmail 7454 invoked from network); 18 Jun 1998 20:54:45 -0000
Received: from ax-nicb.axnet.it (nicb@194.184.60.149)
by mercury.bath.ac.uk with SMTP; 18 Jun 1998 20:54:45 -0000
Received: (from nicb@localhost)
by ax-nicb.axnet.it (8.8.8/8.8.8) id WAA17946;
Thu, 18 Jun 1998 22:54:25 +0200
Date: Thu, 18 Jun 1998 22:54:19 +0200 (MET DST)
From: Nicola Bernardini
To: jpff@maths.bath.ac.uk
cc: mikeb@nmol.com, LilaSachel@wxs.nl, csound@noether.ex.AC.UK
Subject: Re: Newbie question: window
In-Reply-To:
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 18 Jun 1998 jpff@maths.bath.ac.uk wrote:
> Reading the soutrces, in pvanal the frame size must be between
>
> #define MAXFRMPTS 65536
> #define MINFRMPTS 16 /* limits on fft size */
>
> Any suggestions that this chould change? Tnere was a 16bit limit in
> some versions of csound at one time.
> ==John
>
how about
#if !defined(MAXFRMPTS)
# define MAXFRMPTS 65536
#endif /* !defined(MAXFRMPTS) */
#if !defined(MAXFRMPTS)
# define MINFRMPTS 16 /* limits on fft size */
#endif /* !defined(MAXFRMPTS) */
I think this is portable on all modern (>1989) platforms, and that
way things can (at least) be decided at compile time...
Nicola
------------------------------------------------------------------------
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.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28046;
18 Jun 98 22:01 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa00454;
18 Jun 98 22:01 BST
Received: (qmail 26756 invoked from network); 18 Jun 1998 21:01:07 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 18 Jun 1998 21:01:07 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA18461); Thu, 18 Jun 1998 21:55:25 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 18 Jun 98 21:55:02 +0100
Received: from nicb@ax-nicb.axnet.it [194.184.60.149] by hermes via ESMTP (VAA19611); Thu, 18 Jun 1998 21:54:53 +0100 (BST)
Received: (from nicb@localhost)
by ax-nicb.axnet.it (8.8.8/8.8.8) id WAA17946;
Thu, 18 Jun 1998 22:54:25 +0200
Date: Thu, 18 Jun 1998 22:54:19 +0200 (MET DST)
From: Nicola Bernardini
To: jpff@maths.bath.ac.uk
Cc: mikeb@nmol.com, LilaSachel@wxs.nl, csound@maths.ex.ac.uk
Subject: Re: Newbie question: window
In-Reply-To:
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
On Thu, 18 Jun 1998 jpff@maths.bath.ac.uk wrote:
> Reading the soutrces, in pvanal the frame size must be between
>
> #define MAXFRMPTS 65536
> #define MINFRMPTS 16 /* limits on fft size */
>
> Any suggestions that this chould change? Tnere was a 16bit limit in
> some versions of csound at one time.
> ==John
>
how about
#if !defined(MAXFRMPTS)
# define MAXFRMPTS 65536
#endif /* !defined(MAXFRMPTS) */
#if !defined(MAXFRMPTS)
# define MINFRMPTS 16 /* limits on fft size */
#endif /* !defined(MAXFRMPTS) */
I think this is portable on all modern (>1989) platforms, and that
way things can (at least) be decided at compile time...
Nicola
------------------------------------------------------------------------
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.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28079;
18 Jun 98 22:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa00750;
18 Jun 98 22:08 BST
Received: (qmail 27086 invoked from network); 18 Jun 1998 21:08:50 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 18 Jun 1998 21:08:50 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA00422); Thu, 18 Jun 1998 22:04:32 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 18 Jun 98 22:04:04 +0100
Received: from root@www.inx.de [195.21.255.251] by hermes via SMTP (WAA09399); Thu, 18 Jun 1998 22:03:57 +0100 (BST)
Received: by www.inx.de (Smail3.2.0.96inx)
from berlin.snafu.de (195.21.34.117) with esmtp
id ; Thu, 18 Jun 1998 23:03:57 +0200 (MET DST)
Message-Id: <35899D77.CACC5702@berlin.snafu.de>
Date: Thu, 18 Jun 1998 23:06:40 +0000
From: Andre Bartetzki
Organization: STEAM HfM Berlin
X-Mailer: Mozilla 4.04 (Macintosh; I; PPC)
Mime-Version: 1.0
To: Olivier Pasquet , csound@maths.ex.ac.uk
Subject: Re: CScore, CMask, Visorc
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Olivier Pasquet wrote:
> Otherwise, I advise you CMask. This programme is very useful to generate a
> large number of events such as granular textures. It can be generated with
> stochastic functions or with ranges or...
> I do not remember the address where you could get it but I know it is based in
> Berlin (STEAM?).
You download CMask for MacOs, WIN95 (DOS) or SGI-IRIX from:
http://www.kgw.tu-berlin.de/~abart/CMaskMan/CMask-Download.htm
and/or read the online manual:
http://www.kgw.tu-berlin.de/~abart/CMaskMan/CMask-Manual.htm
Andre
--------------------------------------------------
Andre Bartetzki http://www.kgw.tu-berlin.de/~abart
Studio fuer elektroakustische Musik http://www.kgw.tu-berlin.de/~abart/Steam/steam.html
Hochschule fuer Musik Berlin http://www.hfm-berlin.de
Tel. +49-30-4726629
Tel. +49-30-203092488
--------------------------------------------------
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28218;
18 Jun 98 22:57 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa02504;
18 Jun 98 22:57 BST
Received: (qmail 9943 invoked from network); 18 Jun 1998 21:57:31 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 18 Jun 1998 21:57:31 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA16946); Thu, 18 Jun 1998 22:53:32 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Thu, 18 Jun 98 22:53:15 +0100
Received: from nmol.com [206.162.11.2] by hermes via SMTP (WAA24578); Thu, 18 Jun 1998 22:53:08 +0100 (BST)
X-Routed: Thu, 18 Jun 1998 16:01:32 -0500
X-Tcp-Identity: Mikeb
Received: from nmol.com [206.162.11.173] by nmol.com with smtp
id BAAABOBI ; Thu, 18 Jun 1998 16:00:30 -0500
Message-Id: <35898D51.89D407A4@nmol.com>
Date: Thu, 18 Jun 1998 15:57:37 -0600
From: Mike Berry
X-Mailer: Mozilla 4.05 (Macintosh; I; PPC)
Mime-Version: 1.0
To: Jamie Bullock , Csound List
Subject: Re: Spectral Extraction for Csound
References: <003501bd9af1$5019b5e0$35015e9e@default>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Soundhack analysis files can be used in csound. So you can do the extraction
in soundhack, analyze the output files, and use the analysis with pvoc.
--
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 aa28601;
19 Jun 98 2:06 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa09526;
19 Jun 98 2:06 BST
Received: (qmail 6700 invoked from network); 19 Jun 1998 01:06:00 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 01:06:00 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA06909); Fri, 19 Jun 1998 02:01:54 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 02:01:36 +0100
Received: from f211.hotmail.com [207.82.251.102] by hermes via SMTP (CAA22250); Fri, 19 Jun 1998 02:01:29 +0100 (BST)
Received: (qmail 5626 invoked by uid 0); 19 Jun 1998 01:01:02 -0000
Message-Id: <19980619010102.5625.qmail@hotmail.com>
Received: from 207.172.193.51 by www.hotmail.com with HTTP;
Thu, 18 Jun 1998 18:01:02 PDT
X-Originating-Ip: [207.172.193.51]
From: Paul Winkler
To: simon@sdf.se
Cc: csound@maths.ex.ac.uk
Subject: Re: how to pipe -L events in linux/unix
Content-Type: text/plain
Date: Thu, 18 Jun 1998 18:01:02 PDT
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>[I tried to comment your first posting but for some reason posting
> to csound list doesn't seem to work for me. :( ]
>
>This is kinda like the technique I use in midikb. You can look in
>output.c, function output_exec.. (snip)
Thanks, I'll check out your source code...
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 aa28628;
19 Jun 98 2:12 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa09808;
19 Jun 98 2:12 BST
Received: (qmail 6900 invoked from network); 19 Jun 1998 01:12:04 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 01:12:04 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA17654); Fri, 19 Jun 1998 02:07:37 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 02:07:17 +0100
Received: from f13.hotmail.com [207.82.250.24] by hermes via SMTP (CAA04238); Fri, 19 Jun 1998 02:07:06 +0100 (BST)
Received: (qmail 12751 invoked by uid 0); 19 Jun 1998 01:06:39 -0000
Message-Id: <19980619010639.12750.qmail@hotmail.com>
Received: from 207.172.193.51 by www.hotmail.com with HTTP;
Thu, 18 Jun 1998 18:06:38 PDT
X-Originating-Ip: [207.172.193.51]
From: Paul Winkler
To: nicb@axnet.it
Cc: csound@maths.ex.ac.uk
Subject: Re: how to pipe -L events in linux/unix
Content-Type: text/plain
Date: Thu, 18 Jun 1998 18:06:38 PDT
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Yes, I should have mentioned that I already had successfully sent score
events through a simple shell pipe; that was actually what got me
started on the whole idea!
>Date: Wed, 17 Jun 1998 12:04:58 +0200 (MET DST)
>From: Nicola Bernardini
>do something like, say:
>
>
>echo "i1 0 10 32000 440" | csound -L stdin -do devaudio thisandthat.orc
>
>(is there a need for a sco? It did not for me - it said it was
replacing
>with a dummy sco)
Good point; the score is still useful if you want to put some f-tables
in there...
>And forget sockets, that's
>another story - pipes are fine and they work really well for the kind
>of things you want to do.
I've heard this a couple of times now, so OK, no sockets for me. :)
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 aa28634;
19 Jun 98 2:14 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa09814;
19 Jun 98 2:14 BST
Received: (qmail 6945 invoked from network); 19 Jun 1998 01:13:58 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 01:13:58 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA05481); Fri, 19 Jun 1998 02:11:15 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 02:10:45 +0100
Received: from f167.hotmail.com [207.82.251.53] by hermes via SMTP (CAA05785); Fri, 19 Jun 1998 02:10:38 +0100 (BST)
Received: (qmail 19112 invoked by uid 0); 19 Jun 1998 01:10:11 -0000
Message-Id: <19980619011011.19111.qmail@hotmail.com>
Received: from 207.172.193.51 by www.hotmail.com with HTTP;
Thu, 18 Jun 1998 18:10:11 PDT
X-Originating-Ip: [207.172.193.51]
From: Paul Winkler
To: nicb@axnet.it, simon@sdf.se
Cc: zarmzarm@hotmail.com, csound@maths.ex.ac.uk
Subject: Re: how to pipe -L events in linux/unix
Content-Type: text/plain
Date: Thu, 18 Jun 1998 18:10:11 PDT
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>I have successfully used "csound -M /dev/stdin". This option reads MIDI
>input instead of csound commands, but the same thing would probably
work
>with -L. I don't see why "-L stdin" would work? That would open a file
>called stdin. However, it would be great if one could use "-L -".
csound -L stdin is what the manual says to do, and it works.
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 aa28645;
19 Jun 98 2:17 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa09982;
19 Jun 98 2:17 BST
Received: (qmail 14200 invoked from network); 19 Jun 1998 01:17:37 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 19 Jun 1998 01:17:37 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA19483); Fri, 19 Jun 1998 02:13:05 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 02:11:10 +0100
Received: from f232.hotmail.com [207.82.251.123] by hermes via SMTP (CAA08726); Fri, 19 Jun 1998 02:11:02 +0100 (BST)
Received: (qmail 3343 invoked by uid 0); 19 Jun 1998 01:10:35 -0000
Message-Id: <19980619011035.3342.qmail@hotmail.com>
Received: from 207.172.193.51 by www.hotmail.com with HTTP;
Thu, 18 Jun 1998 18:10:35 PDT
X-Originating-Ip: [207.172.193.51]
From: Paul Winkler
To: csound@maths.ex.ac.uk
Subject: Re: how to pipe -L events in linux/unix
Content-Type: text/plain
Date: Thu, 18 Jun 1998 18:10:35 PDT
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>I have successfully used "csound -M /dev/stdin". This option reads MIDI
>input instead of csound commands, but the same thing would probably
work
>with -L. I don't see why "-L stdin" would work? That would open a file
>called stdin. However, it would be great if one could use "-L -".
csound -L stdin is what the manual says to do, and it works.
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 aa28699;
19 Jun 98 2:50 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa12560;
19 Jun 98 2:50 BST
Received: (qmail 7888 invoked from network); 19 Jun 1998 01:50:34 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 01:50:34 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA27678); Fri, 19 Jun 1998 02:45:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 02:45:20 +0100
Received: from f67.hotmail.com [207.82.250.153] by hermes via SMTP (CAA20713); Fri, 19 Jun 1998 02:45:13 +0100 (BST)
Received: (qmail 13641 invoked by uid 0); 19 Jun 1998 01:44:46 -0000
Message-Id: <19980619014446.13640.qmail@hotmail.com>
Received: from 207.172.193.51 by www.hotmail.com with HTTP;
Thu, 18 Jun 1998 18:44:44 PDT
X-Originating-Ip: [207.172.193.51]
From: Paul Winkler
To: csound@maths.ex.ac.uk
Subject: Re: how to REALLY pipe -L events in linux/unix
Content-Type: text/plain
Date: Thu, 18 Jun 1998 18:44:44 PDT
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Thanks for all the suggestions, everyone. The nonexistant prize goes to
Jens Kilian whose suggestion to use fflush() was exactly what was needed
to get things working the way I wanted.
Here's some sample code that does a (meaningless?) benchmark of realtime
csound output. Watch out for sneaky email line wraps...
Sorry for the length of this message, but I think some of the issues
raised are interesting.
(first the orchestra)
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
instr 1
;p4 = freq of fundamental (Hz)
;p5 = amp (dB)
iamp = ampdb(p5)
a1 oscil iamp, p4, 1
out a1
endin
instr 2
; same but using oscili
;p4 = freq of fundamental (Hz)
;p5 = amp (dB)
iamp = ampdb(p5)
a1 oscili iamp, p4, 1
out a1
endin
;now the sco
f1 0 32768 10 1 ; great big sinusoid table.
f0 1000 ; dummy line to keep score active for a long time.
e
And here's the C code...
/*******************************
Some code to benchmark realtime csound output.
This version sends only 1 note at a time; each note sticks around for a
long time.
***************************/
#include
#include
#include
#include
#include
#define ORCFILE "/home/pw/Orcs+Scores/osciltest.orc"
#define SCOFILE "/home/pw/Orcs+Scores/osciltest.sco"
#define DUR 2
int i, pitch, volume, initpitch, initnum, initvol, instr, sndbufsize;
FILE *ofp;
char csoundcmd[256];
int main(void)
{ /**** Got tired of typing these over and over...
printf("Give starting pitch in integer hz: ");
scanf("%d", &initpitch);
printf("Give starting volume in integer db: ");
scanf("%d", &initvol);
******/
printf("Give initial number of oscillators: ");
scanf("%d", &initnum);
printf("Use oscil or oscili? [oscil = 1, oscili = 2] ");
scanf("%d", &instr);
printf("Buffer size: ");
scanf("%d", &sndbufsize);
pitch = initpitch = 100;
volume = initvol = 70;
/* Now let's make a pipe to write notes to... */
sprintf(csoundcmd, "csound -m 2 -d -L stdin -b %d -odevaudio %s %s >
/dev/null", sndbufsize, ORCFILE, SCOFILE);
/***** Note that I'm only playing with -b, not -B. I haven't observed
any benefits from changing -B yet, but maybe I'm not looking hard
enough... ******/
ofp = popen(csoundcmd, "w");
sleep(3);
assert(ofp != NULL);
printf("Opened pipe to Csound.\n");
for(i= 1; pitch < 22050 && volume > 0 ; ++i, pitch += initpitch,
volume -=1){
fprintf(ofp, "i%d 0 1000 %d %d\n", instr, pitch, volume);
fflush(ofp );
printf("%d oscillators, oh my...\n", i);
if (i >= initnum) {
/* nicely suspend for 2 seconds after each score event */
sleep(DUR);
}
}
pclose(ofp);
return 0;
}
I was curious if there was a limit to how much I could dump at csound at
once, so I made the following version to play with that; it's the same
up until after the pipe is open, except we also declare
int tones;
...and then after the pipe's open it reads like this:
/*************************
This version also tests dumping a whole lot of notes of duration DUR to
stdin of csound at once. This illustrates that popen() to stdin as
a method of csound control is not very satisfactory; with just a few
score events you can clearly hear them entering at different times, and
eventually (around 23 oscils for me) csound just goes silent!
The problem seems to be with the pipe (I explored this by substituting
printf for fprintf), but I'm not sure if it can be improved, perhaps by
tuning the pipe's buffer size; or if it's just in the nature of pipes...
or maybe there's a limit to how many lines csound can receive from stdin
at once?
******************************/
/***
Start with initnum voices. Each note adds 1 voice. Each voice is the
next overtone in the series, and each voice is 1 db softer than the
previous.
***/
for(tones = initnum; ; ++tones) {
for (i = 0, pitch = initpitch, volume = initvol; i < tones ; ++i) {
fprintf(ofp, "i%d 0 %d %d %d\n", instr, DUR, pitch, volume);
pitch += initpitch;
--volume;
}
fflush(ofp); /* dump this batch of tones all at once */
printf("%d oscillators, oh my...\n", i);
sleep(2); /* wait 2 seconds after each batch of notes. */
}
pclose(ofp);
return 0;
}
Finally, I was noticing latency issues with various buffer sizes, so I
made this version which lets you really feel the latency.
Again, this is the same as the first version up until after the pipe's
open. Oops, up top we need to declare char noteline[reasonable size]....
/********** Some code intended to test the effects of the -b buffersize
on realtime csound output.
It seems to be quite acceptable at values around 256, or even 512, but
conversely this somewhat limits what csound can do... at 1024 the delay
is easy to feel and would probably be annoying to try to "play" in
realtime. At 2048 the delay is probably in the range of 100 ms.
For a realtime interactive csound frontend app to be really
"playable" I would guess the latency should be more in the range of
10 ms. Some testing suggests that csound on my system gives most
reliable output with the buffer around 8192 which gives latency of about
half a second.
Yuck!!!
*************/
printf("Enter S to hear a sound, ctrl-c to exit.\n");
/* Get the note events ready. */
for (i = 0, pitch = initpitch, volume = initvol; i < initnum ; ++i) {
sprintf(nextnote, "i%d 0 %d %d %d\n", instr, DUR, pitch, volume);
strcat(noteline, nextnote);
pitch += (initpitch * 1.1); /*got bored of harmonic stuff */
--volume;
}
/*** Try to send note events as soon as ENTER is pressed. **/
while ((c = getchar())) {
if (c == 's' || c == 'S') {
fprintf(ofp, "%s", noteline);
fflush(ofp); /* dump this batch of tones all
at once */
}
}
pclose(ofp);
return 0;
}
end of blahblah.
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 aa28712;
19 Jun 98 2:51 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa12689;
19 Jun 98 2:51 BST
Received: (qmail 7913 invoked from network); 19 Jun 1998 01:51:52 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 01:51:52 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA14756); Fri, 19 Jun 1998 02:47:52 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 02:47:30 +0100
Received: from antiochus-fe0.ultra.net [146.115.8.188] by hermes via ESMTP (CAA20772); Fri, 19 Jun 1998 02:47:23 +0100 (BST)
Received: from jhvh1 (trismegist.ultranet.com [199.232.96.18]) by antiochus-fe0.ultra.net (8.8.8/ult.n14767) with SMTP id VAA01883 for ; Thu, 18 Jun 1998 21:47:26 -0400 (EDT)
Message-Id: <3.0.3.32.19980618215223.00991a30@pop.ma.ultranet.com>
X-Sender: maliq@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32)
Date: Thu, 18 Jun 1998 21:52:23 -0400
To: csound@maths.ex.ac.uk
From: QATJD
Subject: PAN question : working right?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Howdy. I'm currently beginning to employ some stereo control within csound
(I do a lot of post-csound processing). And I'm not sure the x,y coordinate
system is working as documented, although I'm sure someone will point out
my user error :
for the kx and ky parameters to pan, I'm trying to use an oscili signal to
control the pan at rates of .5-3 cps. But the best way I can get it to work
properly (i.e. nice even, full sine pan from one side to another) is in
offset mode, normalized, and sending kx from .5 to 1.5 and back. I can't
seem to get anything working in non-offset mode (get tiny or no signal out)
in the -1 to +2 area. My ftable is either a line from 0 to 1 or a GEN02
sketch of a first quarter sine (per manual's sugg) ; and it seems to work
just right either way with the setup above.
Could it be that the offset is working the wrong way? That would put my
.5-1.5 back in range.... but I hate to criticize others' code, especially
something that other people have _got_ to be using regularly out there.
BTW : How else might one 'automatically' generate a first quarter sine wav
via gen routine?)
Also : in a GEN02 routine, with an extended guard point specified (size =
65 or 1025 or the like): does one specify a value for the guard point or
does csound take care of it?
Any ideas appreciated.
pax vobiscum
thank you for your bandwidth
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28946;
19 Jun 98 4:29 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa15960;
19 Jun 98 4:29 BST
Received: (qmail 10188 invoked from network); 19 Jun 1998 03:29:04 -0000
Received: from camel7.mindspring.com (207.69.200.57)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 03:29:04 -0000
Received: from axe (user-38ld1md.dialup.mindspring.com [209.86.134.205])
by camel7.mindspring.com (8.8.5/8.8.5) with SMTP id XAA28209;
Thu, 18 Jun 1998 23:27:45 -0400 (EDT)
Message-ID: <002201bd9b33$864d6b60$cd8656d1@axe>
From: Michael Gogins
To: jpff@maths.bath.ac.uk, mikeb@nmol.com
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: LilaSachel@wxs.nl, csound@noether.ex.AC.UK
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Subject: Re: Newbie question: window
Date: Thu, 18 Jun 1998 23:37:00 -0400
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.72.2106.4
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
>Reading the soutrces, in pvanal the frame size must be between
>
>#define MAXFRMPTS 65536
>#define MINFRMPTS 16 /* limits on fft size */
>
>Any suggestions that this chould change? Tnere was a 16bit limit in
>some versions of csound at one time.
I think that ALL such hard-coded limits should be removed in favor of
dynamic allocation. In most cases, as the capabilities of our computers
increase, as they rapidly have done now for well over a decade, this will
enable us to do substantially more with existing tools.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28955;
19 Jun 98 4:31 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa16107;
19 Jun 98 4:31 BST
Received: (qmail 10277 invoked from network); 19 Jun 1998 03:31:41 -0000
Received: from camel7.mindspring.com (207.69.200.57)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 03:31:41 -0000
Received: from axe (user-38ld1md.dialup.mindspring.com [209.86.134.205])
by camel7.mindspring.com (8.8.5/8.8.5) with SMTP id XAA07785;
Thu, 18 Jun 1998 23:30:22 -0400 (EDT)
Message-ID: <002701bd9b33$e36004c0$cd8656d1@axe>
From: Michael Gogins
To: Richard Karpen , jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: mikeb@nmol.com, LilaSachel@wxs.nl, csound@noether.ex.AC.UK
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Subject: Re: Newbie question: window
Date: Thu, 18 Jun 1998 23:39:37 -0400
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.72.2106.4
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
>Whatever changes are made, all of the pvoc related unit generators should
>have corresponding changes made to allow for the larger window sizes in
>the resynthesis. I also suggest unifying all of the PV definitions into
>one .h file. The proliferation of these .h files is largely do to my own
>additions to the pvoc repertoire, so if you'd like, I can take on this
>little task John and pass you the new files.
>
>RK
>
In the sources there are options for other styles of analysis than
delta-phase, including logarithmically spaced harmonics. Were any of these
ever implemented? They could be useful in some contexts.
As I said earlier, all variable sizes in software, with few exceptions,
should be dynamically allocated without fixed limits to permit the software
to do more as the hardware grows.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28968;
19 Jun 98 4:32 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa16138;
19 Jun 98 4:32 BST
Received: (qmail 16651 invoked from network); 19 Jun 1998 03:32:31 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 19 Jun 1998 03:32:31 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA08557); Fri, 19 Jun 1998 04:29:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 04:29:16 +0100
Received: from camel7.mindspring.com [207.69.200.57] by hermes via ESMTP (EAA18213); Fri, 19 Jun 1998 04:29:09 +0100 (BST)
Received: from axe (user-38ld1md.dialup.mindspring.com [209.86.134.205])
by camel7.mindspring.com (8.8.5/8.8.5) with SMTP id XAA28209;
Thu, 18 Jun 1998 23:27:45 -0400 (EDT)
Message-Id: <002201bd9b33$864d6b60$cd8656d1@axe>
From: Michael Gogins
To: jpff@maths.bath.ac.uk, mikeb@nmol.com
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: LilaSachel@wxs.nl, csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Subject: Re: Newbie question: window
Date: Thu, 18 Jun 1998 23:37:00 -0400
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.72.2106.4
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>Reading the soutrces, in pvanal the frame size must be between
>
>#define MAXFRMPTS 65536
>#define MINFRMPTS 16 /* limits on fft size */
>
>Any suggestions that this chould change? Tnere was a 16bit limit in
>some versions of csound at one time.
I think that ALL such hard-coded limits should be removed in favor of
dynamic allocation. In most cases, as the capabilities of our computers
increase, as they rapidly have done now for well over a decade, this will
enable us to do substantially more with existing tools.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28982;
19 Jun 98 4:36 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa16237;
19 Jun 98 4:36 BST
Received: (qmail 16732 invoked from network); 19 Jun 1998 03:36:10 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 19 Jun 1998 03:36:10 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA20819); Fri, 19 Jun 1998 04:32:13 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 04:31:53 +0100
Received: from camel7.mindspring.com [207.69.200.57] by hermes via ESMTP (EAA12647); Fri, 19 Jun 1998 04:31:43 +0100 (BST)
Received: from axe (user-38ld1md.dialup.mindspring.com [209.86.134.205])
by camel7.mindspring.com (8.8.5/8.8.5) with SMTP id XAA07785;
Thu, 18 Jun 1998 23:30:22 -0400 (EDT)
Message-Id: <002701bd9b33$e36004c0$cd8656d1@axe>
From: Michael Gogins
To: Richard Karpen , jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: mikeb@nmol.com, LilaSachel@wxs.nl, csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Subject: Re: Newbie question: window
Date: Thu, 18 Jun 1998 23:39:37 -0400
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.72.2106.4
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>Whatever changes are made, all of the pvoc related unit generators should
>have corresponding changes made to allow for the larger window sizes in
>the resynthesis. I also suggest unifying all of the PV definitions into
>one .h file. The proliferation of these .h files is largely do to my own
>additions to the pvoc repertoire, so if you'd like, I can take on this
>little task John and pass you the new files.
>
>RK
>
In the sources there are options for other styles of analysis than
delta-phase, including logarithmically spaced harmonics. Were any of these
ever implemented? They could be useful in some contexts.
As I said earlier, all variable sizes in software, with few exceptions,
should be dynamically allocated without fixed limits to permit the software
to do more as the hardware grows.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28989;
19 Jun 98 4:40 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa16353;
19 Jun 98 4:40 BST
Received: (qmail 10469 invoked from network); 19 Jun 1998 03:40:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 03:40:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA03998); Fri, 19 Jun 1998 04:37:40 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 04:36:13 +0100
Received: from root@jason05.u.washington.edu [140.142.78.6] by hermes via ESMTP (EAA18519); Fri, 19 Jun 1998 04:35:58 +0100 (BST)
Received: from saul5.u.washington.edu (karpen@saul5.u.washington.edu [140.142.83.3])
by jason05.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP
id UAA27110; Thu, 18 Jun 1998 20:36:01 -0700
Received: from localhost (karpen@localhost)
by saul5.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP
id UAA12806; Thu, 18 Jun 1998 20:36:00 -0700 (PDT)
Date: Thu, 18 Jun 1998 20:36:00 -0700 (PDT)
From: Richard Karpen
To: QATJD
Cc: csound@maths.ex.ac.uk
Subject: Re: PAN question : working right?
In-Reply-To: <3.0.3.32.19980618215223.00991a30@pop.ma.ultranet.com>
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Try using the new "locsig" and "space" units. there a bit more
straight-forward.
RK
On Thu, 18 Jun 1998, QATJD wrote:
>
> Howdy. I'm currently beginning to employ some stereo control within csound
> (I do a lot of post-csound processing). And I'm not sure the x,y coordinate
> system is working as documented, although I'm sure someone will point out
> my user error :
> for the kx and ky parameters to pan, I'm trying to use an oscili signal to
> control the pan at rates of .5-3 cps. But the best way I can get it to work
> properly (i.e. nice even, full sine pan from one side to another) is in
> offset mode, normalized, and sending kx from .5 to 1.5 and back. I can't
> seem to get anything working in non-offset mode (get tiny or no signal out)
> in the -1 to +2 area. My ftable is either a line from 0 to 1 or a GEN02
> sketch of a first quarter sine (per manual's sugg) ; and it seems to work
> just right either way with the setup above.
> Could it be that the offset is working the wrong way? That would put my
> .5-1.5 back in range.... but I hate to criticize others' code, especially
> something that other people have _got_ to be using regularly out there.
> BTW : How else might one 'automatically' generate a first quarter sine wav
> via gen routine?)
> Also : in a GEN02 routine, with an extended guard point specified (size =
> 65 or 1025 or the like): does one specify a value for the guard point or
> does csound take care of it?
> Any ideas appreciated.
>
> pax vobiscum
>
> thank you for your bandwidth
>
>
>
>
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29096;
19 Jun 98 5:39 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa18226;
19 Jun 98 5:39 BST
Received: (qmail 11733 invoked from network); 19 Jun 1998 04:39:43 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 04:39:43 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (FAA26462); Fri, 19 Jun 1998 05:34:30 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 05:34:13 +0100
Received: from germany-c.it.earthlink.net [204.250.46.123] by hermes via ESMTP (FAA16539); Fri, 19 Jun 1998 05:34:06 +0100 (BST)
Received: from 209.179.9.199 (pool049-max10.ds17-ca-us.dialup.earthlink.net [209.179.9.199])
by germany.it.earthlink.net (8.8.7/8.8.5) with SMTP id VAA24981
for ; Thu, 18 Jun 1998 21:34:07 -0700 (PDT)
Message-Id: <3589F87C.2F93@earthlink.net>
Date: Thu, 18 Jun 1998 21:34:55 -0800
From: Matt Comeione
Reply-To: comeione@earthlink.net
X-Mailer: Mozilla 3.01-C-MACOS8 (Macintosh; I; PPC)
Mime-Version: 1.0
To: Csound list
Subject: control statements
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
could someone direct me to some good examples of control statement
usage. ie, an example of a while loop etc. The manual doesn't really
make this that clear to me.
thanks in advance
--
matthew comeione
comeione@earthlink.net
http://home.earthlink.net/~comeione/
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29267;
19 Jun 98 7:40 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa22190;
19 Jun 98 7:40 BST
Received: (qmail 22342 invoked from network); 19 Jun 1998 06:40:16 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 19 Jun 1998 06:40:16 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (HAA04394); Fri, 19 Jun 1998 07:37:09 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 07:36:45 +0100
Received: from sun1.fabaris.it [194.91.204.1] by hermes via SMTP (HAA00497); Fri, 19 Jun 1998 07:36:37 +0100 (BST)
Received: from sun1.fabaris.it.fabaris.it by fabaris.it (SMI-8.6/SMI-SVR4)
id IAA18477; Fri, 19 Jun 1998 08:24:22 +0200
Message-Id: <358A068C.1075@fabaris.it>
Date: Fri, 19 Jun 1998 08:34:52 +0200
From: Riccardo Bianchini
Reply-To: rb@fabaris.it
X-Mailer: Mozilla 3.01 (Win95; I)
Mime-Version: 1.0
To: Csound
Subject: WCSHell Help URL
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
To the many persons that tried to download WCShell Help & registration
info, the right URL is
http://www.axnet.it/edison/wcshelp.zip
Happy Csounding!
Riccardo
--
Riccardo Bianchini, Composer
Professor, Scuola di Musica Elettronica
Conservatorio "S.Cecilia", Roma (Italy)
http://www.geocities.com/Heartland/Acres/4768
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29396;
19 Jun 98 9:18 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa00262;
19 Jun 98 9:18 BST
Received: (qmail 17996 invoked from network); 19 Jun 1998 08:18:24 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 08:18:24 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (JAA19823); Fri, 19 Jun 1998 09:12:09 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 09:11:37 +0100
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (JAA23130); Fri, 19 Jun 1998 09:11:27 +0100 (BST)
Received: (qmail 20659 invoked from network); 19 Jun 1998 08:04:35 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.75)
by jaguars with SMTP; 19 Jun 1998 08:04:35 -0000
Message-Id: <358A1C19.68DA4E3D@cableinet.co.uk>
Date: Fri, 19 Jun 1998 09:06:49 +0100
From: Richard Dobson
Organization: Composers Desktop project
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: Mike Berry
Cc: Csound List
Subject: Re: Spectral Extraction for Csound
References: <003501bd9af1$5019b5e0$35015e9e@default> <35898D51.89D407A4@nmol.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I don't have a Mac, so Soundhack is denied me. I would like to know what the
criterion is for marking a frequency as stable or otherwise - ie - over how
many windows?
Richard Dobson
Mike Berry wrote:
>
> Soundhack analysis files can be used in csound. So you can do the extraction
> in soundhack, analyze the output files, and use the analysis with pvoc.
> --
> 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 aa29630;
19 Jun 98 11:56 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa07128;
19 Jun 98 11:56 BST
Received: (qmail 1448 invoked from network); 19 Jun 1998 10:56:52 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 19 Jun 1998 10:56:52 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA11501); Fri, 19 Jun 1998 11:53:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 11:53:17 +0100
Received: from pump2.york.ac.uk [144.32.128.12] by hermes via ESMTP (LAA09867); Fri, 19 Jun 1998 11:53:10 +0100 (BST)
Received: from amppc18 (amppc18.amp.york.ac.uk [144.32.152.6])
by pump2.york.ac.uk (8.8.7/8.8.7) with SMTP id LAA21457
for ; Fri, 19 Jun 1998 11:53:14 +0100 (BST)
Date: Fri, 19 Jun 1998 11:53:03 BST
From: Gregor Morrison
To: csound@maths.ex.ac.uk
Message-Id:
Priority: Normal
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hello,
Does anyone know if there exists a CSound Score and Orchestra that I could get a hold of that
attempts any sort of speech reproduction. A 2 or 3 word sentence would suffice.
Thanks,
Gregor Morrison
Dept of Music
University of York
England
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29719;
19 Jun 98 12:37 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa09148;
19 Jun 98 12:37 BST
Received: (qmail 17923 invoked from network); 19 Jun 1998 11:36:59 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 19 Jun 1998 11:36:59 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (MAA10197); Fri, 19 Jun 1998 12:31:55 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 19 Jun 98 12:31:23 +0100
Received: from hub.mdx.ac.uk [158.94.2.5] by hermes via ESMTP (MAA06908); Fri, 19 Jun 1998 12:31:17 +0100 (BST)
Received: from CONVERSION-DAEMON by mdx.ac.uk (PMDF V5.1-10 #18911)
id <01IYF5PUM28G00B66Y@mdx.ac.uk> for Csound@maths.ex.ac.uk; Fri,
19 Jun 1998 12:33:47 BST
Received: from default (stu-dialup14.mdx.ac.uk)
by mdx.ac.uk (PMDF V5.1-10 #18911) with SMTP id <01IYF5PTH8YU00BJNT@mdx.ac.uk>
for Csound@maths.ex.ac.uk; Fri, 19 Jun 1998 12:33:45 +0100 (BST)
Date: Fri, 19 Jun 1998 12:12:32 +0100
From: Jamie Bullock
Subject: Re: Spectral Extraction for Csound
To: Csound List
Message-Id: <003801bd9b75$2473f520$38015e9e@default>
Mime-Version: 1.0
X-Mailer: Microsoft Outlook Express 4.72.2106.4
Content-Type: text/plain
X-Msmail-Priority: Normal
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
X-Priority: 3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>Mike Berry wrote:
>>
>> Soundhack analysis files can be used in csound. So you can do the
extraction
>> in soundhack, analyze the output files, and use the analysis with pvoc.
>> --
>Richard Dobson Wrote:
>I don't have a Mac, so Soundhack is denied me.
Exactly! One of the reasons for the original request was because although I
have access to Macs, I am primarily a 'PC' user. If the feature was added to
Csound anyone could use it.
>I would like to know what the
>criterion is for marking a frequency as stable or otherwise - ie - over
how
>many windows?
>
Soundhack allows the user to set the number of frequency bands used in
analysis (large no. = better freq reponse, small=better time response etc.),
and the analysis frame size, which is defined in terms of the FFT size (e.g.
a value of 10 will use 10 FFT frames for the spectral analysis). Transients
are then taken as partials which have a deviation of more than 'x' Hz per
analysis frame, and stable frequencies are ones which deviate less than 'y'
Hz per analysis frame.
Another reason for adding this feature to CSound is that (ideally) the
deviation settings could be dynamic, thus greatly increasing the
power/usefulness of the function.
Regards,
JamieB
|