| Message written at 24 Jan 1999 22:49:41 +0000
is now on the servers for PC, Linux and Irix4. Irix5 and Solaris will
follow as soon as I can manage it. M68K with and without 881 are there too..
This is mainly a bug-fixing version, but there are a few new opcodes.
==John
------------------------------------------------------------------------
Release Notes for 3.51
======================
These are the release notes for version 3.51. This is mainly a small
number of bug fixes from 3.50, but rather significant ones,
Bug Fixes
---------
Use of C-style comment /* .. */ now works on both orchestra and score
Another attempt to get line continations working
Language Changes
----------------
Lines starting # or ; in .csoundrc or in the options part of a .csd
file are treated as comments. Comments can also start where an option
is expected.
Opcode Fixes
------------
wgbow -- the pitch control was all wrong and has been rewritten. Also
the bow slope had been removed; now restored.
oscil3 at k-rate was totally wrong; fixed
New Opcodes
-----------
envlpxr -- inadvertently lost; exponential, MIDI controlled envelope
xadsr -- ADSR opcode with exponential lines rather than linear
mxadsr -- ADSR with exponential curves and MIDI sensitive to release
Other Changes:
-------------
Code for follow recast
Windows GUI Changes
-------------------
Can look for .csd files in orchestra field
------------------------------------------------------------------------
==John ff
1999 in time for Luigi Nono's Birthday
========================================================================
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa03875;
25 Jan 99 14:37 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 104n9J-0006yI-00; Mon, 25 Jan 1999 14:37:57 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA01609); Mon, 25 Jan 1999 14:29:34 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 14:29:17 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (OAA00048); Mon, 25 Jan 1999 14:29:16 GMT
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
for csound@maths.ex.ac.uk
id 104n0t-000659-00; Mon, 25 Jan 1999 14:29:15 +0000
Date: Mon, 25 Jan 99 14:29:14 GMT
From: J P Fitch
To: csound@maths.ex.ac.uk
Subject: more on v3.51
Message-Id:
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Binaries for Irix5.3 (SGI) and Solaris now on server as well.
==John
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa03933;
25 Jan 99 15:00 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 104nUs-0006zU-00; Mon, 25 Jan 1999 15:00:14 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA14611); Mon, 25 Jan 1999 14:45:39 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 14:45:16 GMT
Received: from falcon.glas.apc.org [193.124.5.54] by hermes via ESMTP (OAA04207); Mon, 25 Jan 1999 14:45:14 GMT
Received: from mail.glas.apc.org([193.124.5.37]) (1402 bytes) by falcon.glas.apc.org
via sendmail with P:esmtp/R:inet_hosts/T:inet_zone_smtp
(sender: )
id
for ; Mon, 25 Jan 1999 17:45:04 +0300 (WSU)
(Smail-3.2.0.104 1998-Nov-20 #2 built 1998-Nov-27)
Received: from default(src addr [194.154.81.51]) (1025 bytes) by mail.glas.apc.org
via sendmail with P\:esmtp/R:smart_host/T:smtp
(sender: )
id
for ; Mon, 25 Jan 1999 17:44:49 +0300 (WSU)
(Smail-3.2.0.96 1997-Jun-2 #11 built DST-Aug-25)
Message-Id:
From: Sergey Batov
To: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Simple question: a pitch of audio sample.
Date: Mon, 25 Jan 1999 17:43:55 +0300
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi!
Excuse me for naivety but I'd like to know is there a good way to obtain
exact meaning of pitch ("root") of audio sample?
It's clear that sample may be not too short and its pitch may change
through time of
playing. But there is well known device named "tuner" (for guitars).
What criteria may be used
if I want to say "the pitch of xxx.wav is yyy Hz"?
How people who works with samplers do it?
Is it possible to use Csound for it?
What about popular sound editors (Sound Forge, Cool Edit, e.t.c)?
Thank you,
Sergey Batov batov@glasnet.ru
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00617;
25 Jan 99 17:04 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 104pR3-00078K-00; Mon, 25 Jan 1999 17:04:25 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA10818); Mon, 25 Jan 1999 16:54:47 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 16:54:13 GMT
Received: from nmol.com [206.162.11.2] by hermes via SMTP (QAA18450); Mon, 25 Jan 1999 16:54:09 GMT
X-ROUTED: Mon, 25 Jan 1999 10:04:58 -0600
X-TCP-IDENTITY: Mikeb
Received: from nmol.com [206.162.11.170] by nmol.com with smtp
id AKAEBJBL ; Mon, 25 Jan 1999 10:04:26 -0600
Message-ID: <36ACA088.8FBACB58@nmol.com>
Date: Mon, 25 Jan 1999 09:49:13 -0700
From: Mike Berry
X-Mailer: Mozilla 4.5 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: Simple question: a pitch of audio sample.
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
In most cases, the pitch of a sample is not an objective measurement.
It is simply a basis for choosing a playback speed. For instance, if I
say a sample is 200 Hz (no matter what the audio data is), then if I ask
to play it back at 400 Hz., it will be played at twice speed, or one
octave up. If I changed the original setting to 100 Hz., then the
playback would be up 2 octaves. All of this is irrespective of the
content of the sample.
In some cases, the audio in the sample does have a single, discernable,
pitch. An example would be a multi-sampled piano sampler, which often
has a different sample for each note. Then the sample has the pitch
corresponding to its note. But even here, that is only for use in
determining the relative speed change if the note is transposed up or down.
So basically, unless there is a clear, single, unchanging, pitch in
your sample, you can make the frequency anything you want, as long as
you remember what you made it when you want to play it back at another pitch.
--
Mike Berry
mikeb@nmol.com
http://www.nmol.com/users/mikeb
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01199;
25 Jan 99 20:59 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 104t6M-0007N9-00; Mon, 25 Jan 1999 20:59:18 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA11219); Mon, 25 Jan 1999 20:56:31 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 20:56:19 GMT
Received: from mailhub.dartmouth.edu [129.170.16.6] by hermes via ESMTP (UAA02439); Mon, 25 Jan 1999 20:56:13 GMT
Received: from donner.Dartmouth.EDU (donner.dartmouth.edu [129.170.208.3])
by mailhub.dartmouth.edu (8.9.1+DND/8.9.1) with SMTP id PAA05841
for ; Mon, 25 Jan 1999 15:55:18 -0500 (EST)
Message-id: <18094237@donner.Dartmouth.EDU>
Date: 25 Jan 99 15:55:18 EST
From: "Peter M. Traub"
Subject: loscil loop points and sndinfo
To: csound@maths.ex.ac.uk
MIME-Version: 1.0
Content-Type: text/enriched
Content-Disposition: inline
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi all,
i'm in the process of downloading soundfiles from the web to use in a csound
composition. the soundfiles are of varying formats and i'm using sox to convert
them all to 16 bit 44k aiff. when using loscil to read gen 1 on linux, certain
samples, upon loading, caused csound to crash and a core dump to follow (i get a
'segmentation fault' error). i have assumed that none of the files, once
converted, have loop points (is this incorrect?) and i have therefore set the
sustain loop length for loscil to the number of frames in the file. for some
files this works, and others it gives me an 'illegal sustain loop value' error
and i have to reduce that number significantly. when running the same program
with the same samples on an sgi, these problems did not occur, and the
particular soundfile that caused the crash and core dump on linux runs perfectly
on the sgi. furthermore, i took the offending soundfile, converted it to .raw,
then to .aiff to see if it would make any difference, but it didn't. also, when
i run sndinfo on that file (in aiff format), it gives me several more lines of
data, including base freq. and loop points, than sndinfo does for other files.
why is this? is there any way to completely standardize all files i retrieve (in
linux) so that loscil (or gen 1?) will read them all without a problem? sox
doesn't seem to be doing the trick. many thanks in advance.
peter traub
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01285;
25 Jan 99 21:57 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 104u0J-0007Ps-00; Mon, 25 Jan 1999 21:57:07 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA14663); Mon, 25 Jan 1999 21:55:32 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 21:55:17 GMT
Received: from mail11.digital.com [192.208.46.10] by hermes via ESMTP (VAA01616); Mon, 25 Jan 1999 21:55:16 GMT
Received: from snopf1.dhcp.sno.dec.com (snopf1.dhcp.sno.dec.com [16.172.128.251])
by mail11.digital.com (8.9.1a/8.9.1/WV2.0c) with ESMTP id QAA16486
for ; Mon, 25 Jan 1999 16:56:40 -0500 (EST)
Received: by snopf1.dhcp.sno.dec.com with Internet Mail Service (5.5.2232.9)
id ; Tue, 26 Jan 1999 08:55:10 +1100
Message-ID: <1EF0BD7C3645D1118B7D08002BBC039F3FA66B@shlexc1.snl.dec.com>
From: Greg Sullivan - SHL
To: "'csound@maths.ex.ac.uk'"
Subject: re: Gigasampler's interpolation
Date: Tue, 26 Jan 1999 08:55:06 +1100
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
Well, even though it passed one particular test very well,
I still find that I can hear interpolation noise when using samples
which are sampled at a relatively low sample rate, such as 22kHz.
I knew it was too good to be true. I still think that it's very good
though. Definitely FAR better than at least one very well known
brand of hardware sampler, in my opinion. And yes, it's definitely
better than cubic interpolation.
The test I did was, really, the Gabriel Maldono(sp?) "transpose
a high frequency sine wave down" test. I transposed a 11025Hz
sine wave down by 11 semitones. (Gabriel transposed down further
than this, though, I think). Anyway, I listened to it, and also
did a spectrum analysis of it. I couldn't hear any obvious impurities,
and upon looking at the spectrum, I could see a few noise
frequencies up in the 17 to 20kHz range, but that's all.
Definitely a lot better than cubic interpolation. (Nemesys claim
they're using some type of "multi phase" filtering for the interpolation).
Given that it did so well on this test, I was expecting to be able to
use samples with low sample rates. I.e, I was hoping to be able
to use "critically sampled" samples. But it's not to be.
Sorry to go on about a product that is probably "off topic" for
this list, I guess. I just wanted to clear up any possible misconceptions
that Gigasampler may have had 100% CD quality interpolation.
It doesn't.
Greg.
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01350;
25 Jan 99 22:21 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 104uNc-0007R4-00; Mon, 25 Jan 1999 22:21:12 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA12223); Mon, 25 Jan 1999 22:20:11 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 22:19:56 GMT
Received: from falcon.glas.apc.org [193.124.5.54] by hermes via ESMTP (WAA16246); Mon, 25 Jan 1999 22:19:55 GMT
Received: from mail.glas.apc.org([193.124.5.37]) (2931 bytes) by falcon.glas.apc.org
via sendmail with P:esmtp/R:inet_hosts/T:inet_zone_smtp
(sender: )
id
for ; Tue, 26 Jan 1999 01:19:54 +0300 (WSU)
(Smail-3.2.0.104 1998-Nov-20 #2 built 1998-Nov-27)
Received: from default(src addr [195.218.128.135]) (2554 bytes) by mail.glas.apc.org
via sendmail with P\:esmtp/R:smart_host/T:smtp
(sender: )
id
for ; Tue, 26 Jan 1999 01:19:46 +0300 (WSU)
(Smail-3.2.0.96 1997-Jun-2 #11 built DST-Aug-25)
Message-Id:
From: Sergey Batov
To: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Re: Simple question: a pitch of audio sample.
Date: Tue, 26 Jan 1999 01:17:34 +0300
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by exeter.ac.uk id WAA16246
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Yes, that's right, of course!
But the main difficulty is to find frequency of content of the sample wit=
h
necessary accuracy. I know that this phrase is not quite correct because
any "live" sound consits of a complex of frequencies.
But if I try to build instrument from say real piano samples I must to kn=
ow
the meanings of its pitches with good exactness. For instance, sample for
note "A4" (a MIDI number is 69) may have a pitch 445 Hz instead of 440, a=
nd
I must to correct it in some way. So I must to know difference between
"right" and real pitches. How to find it? Depend on ears? Of course, it's
possible to use one of the program tuners (play the sample and catch the
jumpings of indicators). May be there is more
convenient method?
Regards,
Sergey Batov batov@glasnet.ru
----------
> =CE=F2: Mike Berry
> =CA=EE=EC=F3: csound@maths.ex.ac.uk
> =D2=E5=EC=E0: Re: Simple question: a pitch of audio sample.
> =C4=E0=F2=E0: 25 =FF=ED=E2=E0=F0=FF 1999 =E3. 19:49
>=20
> In most cases, the pitch of a sample is not an objective measurement.=20
> It is simply a basis for choosing a playback speed. For instance, if I
> say a sample is 200 Hz (no matter what the audio data is), then if I as=
k
> to play it back at 400 Hz., it will be played at twice speed, or one
> octave up. If I changed the original setting to 100 Hz., then the
> playback would be up 2 octaves. All of this is irrespective of the
> content of the sample.
> In some cases, the audio in the sample does have a single, discernable=
,
> pitch. An example would be a multi-sampled piano sampler, which often
> has a different sample for each note. Then the sample has the pitch
> corresponding to its note. But even here, that is only for use in
> determining the relative speed change if the note is transposed up or
down.
> So basically, unless there is a clear, single, unchanging, pitch in
> your sample, you can make the frequency anything you want, as long as
> you remember what you made it when you want to play it back at another
pitch.
> --=20
> Mike Berry
> mikeb@nmol.com
> http://www.nmol.com/users/mikeb
>=20
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01465;
25 Jan 99 23:14 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 104vCy-0007Tk-00; Mon, 25 Jan 1999 23:14:16 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA15177); Mon, 25 Jan 1999 23:13:21 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 23:13:07 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (XAA17851); Mon, 25 Jan 1999 23:13:06 GMT
Received: from dumburk (dialup182-1-43.swipnet.se [130.244.182.43])
by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id AAA14327
for ; Tue, 26 Jan 1999 00:12:38 +0100 (MET)
Message-ID: <36ACFAA5.8BA@hem.passagen.se>
Date: Tue, 26 Jan 1999 00:13:41 +0100
From: rasmus ekman
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Csound list
Subject: bugs.csd
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Begin DOS session output:
> E:\Csound>csound test.csd
> Csound Version 3.51 (Jan 24 1999)
> UnifiedCSD: test.csd
> Unknown command :
>
> Unknown command :
>
> Creating options
> Unknown command :
>
> Creating orchestra
> Creating \s3vvo1k3.orc (00478828)
> Unknown command :
>
> Creating score
> Unknown command :
>
> Unknown command :
>
> orchname: test.csd
> scorename: dCsynthesizer>
>
> cannot open scorefile dCsynthesizer>
End of DOS output.
When redirecting output to a file some extra carriage return
chars were shown in output, like so:
Unkown command :#CR#
- where #CR# = 0x13 (a semiquaver sign in the DOS charset).
So, output had CR CR LF rather than the normal PC line ending
CR LF, and Csound seemed to be complaining about those extra CR's.
I have of course checked the input text file; it was normal.
Below follows the text of file "test.csd":
----------------------------
-W -m3
instr 1 ; Demonstration of bug in C-comments
a3 oscil notlegal, ibasfrq / 2, 1 /*
This text is all covered by the semicolon beginning on
line 2 of instrument, and it works beautifully. Thanks!
But... the error messages for that line will refer
to the line of the final comment sign. This is just
the (relatively minor) problem I've been harping about
in my earlier posts on this topic.
Ie "notlegal" is reported to be on line 13 of instr.
*/ ; Bug in C-comments: This is not the faulty line!
endin
f1 0 8192 10 1
i1 0 2 100
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01483;
25 Jan 99 23:25 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 104vOB-0007UE-00; Mon, 25 Jan 1999 23:25:51 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA15367); Mon, 25 Jan 1999 23:24:57 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 23:24:45 GMT
Received: from ackroyd.harvard.edu [128.103.208.29] by hermes via ESMTP (XAA09511); Mon, 25 Jan 1999 23:24:43 GMT
Received: from gsd.harvard.edu (gsd.harvard.edu [128.103.170.29])
by ackroyd.harvard.edu (8.8.8/8.8.8) with ESMTP id SAA20620;
Mon, 25 Jan 1999 18:24:11 -0500 (EST)
Received: from terra.gsd.harvard.edu by gsd.harvard.edu (8.8.8/SMI-SVR4)
id SAA22773; Mon, 25 Jan 1999 18:21:14 -0500 (EST)
Received: from localhost by terra.gsd.harvard.edu (SMI-8.6/SMI-SVR4)
id SAA23321; Mon, 25 Jan 1999 18:21:10 -0500
Date: Mon, 25 Jan 1999 18:21:10 -0500 (EST)
From: Fuat Emre Erkal
X-Sender: gsd96fee@terra
To: Sergey Batov
cc: csound@maths.ex.ac.uk
Subject: Re: Simple question: a pitch of audio sample.
In-Reply-To:
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: QUOTED-PRINTABLE
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
hello..
"pitch" is a perceptual phenomenon, it is not a digital number that you
can tweak up and down. it is true that you can assign a number as "pitch"
(not perceptual; a misnomer perhaps) with today's digital technology,=20
and by proportioning that number, you can hear tones with various "pitch"
(this time perceptual pitch).
but the "pitch" (perceptual) of the tone you hear is different and is
inherent with the information in the spectral content. so, yes you can
tell the pitch, even though it is assigned a random number "pitch"
(digital misnomer)
you could refer to texts like handel's "hearing" for the psychology of
hearing.
there is way to do what you want but this message will not be very helpful
to you (sergey), because the way i know is by the use of spectral opcodes
in extended csound. now, i am not sure to what extent they have correlates
in public versions.
to be precise; in extended csound, there exists an opcode (called
"specptrk") which estimates the frequency correlate of the pitch value for
a given spectral input. (and i have to say that it works quite remarkably)
maybe the gurus in the list may tell the power of public versions in
terms of spectral operations...
best,
emre
On Tue, 26 Jan 1999, Sergey Batov wrote:
> Yes, that's right, of course!
> But the main difficulty is to find frequency of content of the sample wit=
h
> necessary accuracy. I know that this phrase is not quite correct because
> any "live" sound consits of a complex of frequencies.
> But if I try to build instrument from say real piano samples I must to kn=
ow
> the meanings of its pitches with good exactness. For instance, sample for
> note "A4" (a MIDI number is 69) may have a pitch 445 Hz instead of 440, a=
nd
> I must to correct it in some way. So I must to know difference between
> "right" and real pitches. How to find it? Depend on ears? Of course, it's
> possible to use one of the program tuners (play the sample and catch the
> jumpings of indicators). May be there is more
> convenient method?
>=20
> Regards,
> Sergey Batov batov@glasnet.ru
>=20
> ----------
> > =CE=F2: Mike Berry
> > =CA=EE=EC=F3: csound@maths.ex.ac.uk
> > =D2=E5=EC=E0: Re: Simple question: a pitch of audio sample.
> > =C4=E0=F2=E0: 25 =FF=ED=E2=E0=F0=FF 1999 =E3. 19:49
> >=20
> > =09In most cases, the pitch of a sample is not an objective measurement=
=2E=20
> > It is simply a basis for choosing a playback speed. For instance, if I
> > say a sample is 200 Hz (no matter what the audio data is), then if I as=
k
> > to play it back at 400 Hz., it will be played at twice speed, or one
> > octave up. If I changed the original setting to 100 Hz., then the
> > playback would be up 2 octaves. All of this is irrespective of the
> > content of the sample.
> > =09In some cases, the audio in the sample does have a single, discernab=
le,
> > pitch. An example would be a multi-sampled piano sampler, which often
> > has a different sample for each note. Then the sample has the pitch
> > corresponding to its note. But even here, that is only for use in
> > determining the relative speed change if the note is transposed up or
> down.
> > =09So basically, unless there is a clear, single, unchanging, pitch in
> > your sample, you can make the frequency anything you want, as long as
> > you remember what you made it when you want to play it back at another
> pitch.
> > --=20
> > Mike Berry
> > mikeb@nmol.com
> > http://www.nmol.com/users/mikeb
> >=20
>=20
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01496;
25 Jan 99 23:34 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 104vWH-0006jx-00; Mon, 25 Jan 1999 23:34:13 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA05347); Mon, 25 Jan 1999 23:32:45 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 23:32:33 GMT
Received: from ackroyd.harvard.edu [128.103.208.29] by hermes via ESMTP (XAA04564); Mon, 25 Jan 1999 23:32:32 GMT
Received: from gsd.harvard.edu (gsd.harvard.edu [128.103.170.29])
by ackroyd.harvard.edu (8.8.8/8.8.8) with ESMTP id SAA19215;
Mon, 25 Jan 1999 18:32:00 -0500 (EST)
Received: from terra.gsd.harvard.edu by gsd.harvard.edu (8.8.8/SMI-SVR4)
id SAA23130; Mon, 25 Jan 1999 18:29:03 -0500 (EST)
Received: from localhost by terra.gsd.harvard.edu (SMI-8.6/SMI-SVR4)
id SAA23458; Mon, 25 Jan 1999 18:28:59 -0500
Date: Mon, 25 Jan 1999 18:28:59 -0500 (EST)
From: Fuat Emre Erkal
X-Sender: gsd96fee@terra
To: Sergey Batov
cc: csound@maths.ex.ac.uk
Subject: Re: Simple question: a pitch of audio sample.
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
i am sorry,
handel's excellent book is NOT called "hearing",
but "listening".
emre
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01523;
26 Jan 99 0:00 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 104vvD-0007Vf-00; Mon, 25 Jan 1999 23:59:59 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA07993); Mon, 25 Jan 1999 23:53:45 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 25 Jan 1999 23:53:32 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (XAA05293); Mon, 25 Jan 1999 23:53:31 GMT
Received: from dumburk (dialup204-2-38.swipnet.se [130.244.204.102])
by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id AAA21055
for ; Tue, 26 Jan 1999 00:53:10 +0100 (MET)
Message-ID: <36AD0425.7B44@hem.passagen.se>
Date: Tue, 26 Jan 1999 00:54:13 +0100
From: rasmus ekman
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Csound list
Subject: Re: bugs.csd
References: <36ACFAA5.8BA@hem.passagen.se>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
rasmus ekman wrote:
>
> Begin DOS session output:
etc. Brilliant again, bozo!
If I type the correct commands (CsoundSynthesizer) in
the csd file, it does compile. Somebody made an error
in that winhelp file. This is of course what happens
if you drop too much M$ stuff.
Still complains about some extra CR's, and claims to be
running \s3voof23.orc and \s3voof23.sco files. That's
nothing to nag about however. (There was the shit about
error message line numbers too, but who cares. Document
it and it's a feature.)
regards,
re
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01566;
26 Jan 99 0:09 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 104w4l-0007Xp-00; Tue, 26 Jan 1999 00:09:51 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA18261); Tue, 26 Jan 1999 00:05:11 GMT
Received: from sunny.ex.ac.uk by maths.ex.ac.uk; Tue, 26 Jan 1999 00:04:57 GMT
Received: from nmol.com [206.162.11.2] by sunny via SMTP (AAA02508); Tue, 26 Jan 1999 00:04:57 GMT
X-ROUTED: Mon, 25 Jan 1999 17:15:44 -0600
X-TCP-IDENTITY: Mikeb
Received: from nmol.com [206.162.11.150] by nmol.com with smtp
id BBAFAJBI ; Mon, 25 Jan 1999 17:05:10 -0600
Message-ID: <36AD0324.45D7546D@nmol.com>
Date: Mon, 25 Jan 1999 16:50:05 -0700
From: Mike Berry
X-Mailer: Mozilla 4.5 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: Simple question: a pitch of audio sample.
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I see now that what you are asking is about pitch detection. There are
a lot of different methods of pitch detection, all of which work better
on some material and not so well on others. One method that you could
implement in csound would be the following:
lets say your sample has a fundamental between 100 and 400 hz.
1.) pass your sample through a filter bank with bandpass filters at 100,
150, 200, 300, and 400 Hz, with a width of 1/2 octave.
2.) determine the power of each output. (power can be output * output here)
3.) choose the lowest frequency output which has a power over a
threshold. Your fundamental is within this band (because none of the
lower bands have significant energy).
4.) count each time this output waveform passes from positive to
negative. use delay1 to compare the present sample to the previous. If
the previous is > 0 and the present is < 0, then you have a downward
zero crossing. You are going to have to have kr=sr for the compare to work.
5.) also count the distance in samples between each downward zero
crossing. take sr/distance to give you frequency. Display that for
each zero crossing and you have a basic pitch tracker.
This will give you a very good estimation for a sine wave (obviously an
easy case). For most clearly pitched samples without vibrato this will
work. If you have two notes at 250 and 280 Hz., this will not work.
--
Mike Berry
mikeb@nmol.com
http://www.nmol.com/users/mikeb
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01604;
26 Jan 99 0:32 GMT
Received: from [134.173.53.8] (helo=Thuban.AC.HMC.Edu)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 104wQU-0006nd-00; Tue, 26 Jan 1999 00:32:19 +0000
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-11 #D3207)
with ESMTP id <01J6YQ6H2U1O9TDT2R@THUBAN.AC.HMC.EDU> for
jpff@maths.bath.ac.uk; Mon, 25 Jan 1999 16:32:15 PST
Date: Mon, 25 Jan 1999 16:30:18 -0800
From: Erik Spjut
Subject: Re: TB-303 like Lowpass-Filter
In-reply-to:
X-Sender: spjut@thuban.ac.hmc.edu
To: jpff@maths.bath.ac.uk, gelida@intercom.es, csound@maths.ex.ac.uk
Message-id:
MIME-version: 1.0
Content-type: text/plain; charset="us-ascii"
THe problems with filter2 et al. are twofold:
1. For useful-sized FIR filters (100+ coefficients) there is no easy way to
get the coefficients in. Convolve works better. If someone has a method
that doesn't violate line-length and/or parameter number restrictions,
please let me know.
2. For IIR filters they work wonderfully for second order, marginally for
third order and not at all for fourth or higher where the poles are close
to the unit circle, which is the case for musically useful filters. They
are quite stable for poles far removed from the unit circle, but who needs
those?
The code could be rewritten to treat roundoff better, or create a series of
cascaded second-order filters (which works fine, by the way) but the rework
is significant. I don't have the time and jpff has insufficient background
and too many other projects. Any volunteers?
At 5:58 PM +0000 1/24/99, jpff@maths.bath.ac.uk wrote:
>Message written at 24 Jan 1999 13:12:50 +0000
>
>>>>>> "Josep" == Josep M Comajuncosas writes:
>
> Josep> Btw does anyone know if filter2, kfilter2 and zfilter2 (why
> Josep> "2"?) work as expected? I heard they were not very
> Josep> reliable..., and in fact I remember I implemented an allpass
> Josep> with kfilter2 and it didnt work (but worked ok. with "biquad").
>
>We spent some time in late summer looking at the filter2 opcodes (the
>2 so as to differentiate from the filter opcode in XTCsound) and we
>concluded that they were not very useful as they were numerically
>unstable in all useful cases (that was the executive summary). I
>rewrote the code (while at ICMC, Ann Arbor) to use double precision in
>an attempt to restrict the errors. As far as I could tell either my
>rewrite was wrong or it was still ustable. I do not know much
>(anthing?) about digital filters so I am rather in the dark. Erik
>Spjut was advising....
>
>I suspect that if no one can explain why these opcodes are useful, or
>can fix them, it wold be best to remove them from the system.
>
> Josep> It would be nice another filter opcode with all the filter
> Josep> coeff. being k-rate variable.
>
>I tink the work Hans has been doing of late is much more useful, but I
>would appreciate a calm reassessment of the filters available.
>
>==John ffitch
-------------------------------------------------------------------------------
Erik Spjut (spyoot, rhymes with cute) - Associate Professor of Engineering
and Associate Director for Engineering Computing, Center for Design Education
Harvey Mudd College, Claremont, CA 91711-5990 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01612;
26 Jan 99 0:33 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 104wRy-0006no-00; Tue, 26 Jan 1999 00:33:50 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA02148); Tue, 26 Jan 1999 00:32:27 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 26 Jan 1999 00:32:19 GMT
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (AAA03209); Tue, 26 Jan 1999 00:32:17 GMT
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-11 #D3207)
with ESMTP id <01J6YQ6H2U1O9TDT2R@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Mon, 25 Jan 1999 16:32:15 PST
Date: Mon, 25 Jan 1999 16:30:18 -0800
From: Erik Spjut
Subject: Re: TB-303 like Lowpass-Filter
In-reply-to:
X-Sender: spjut@thuban.ac.hmc.edu
To: jpff@maths.bath.ac.uk, gelida@intercom.es, csound@maths.ex.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
THe problems with filter2 et al. are twofold:
1. For useful-sized FIR filters (100+ coefficients) there is no easy way to
get the coefficients in. Convolve works better. If someone has a method
that doesn't violate line-length and/or parameter number restrictions,
please let me know.
2. For IIR filters they work wonderfully for second order, marginally for
third order and not at all for fourth or higher where the poles are close
to the unit circle, which is the case for musically useful filters. They
are quite stable for poles far removed from the unit circle, but who needs
those?
The code could be rewritten to treat roundoff better, or create a series of
cascaded second-order filters (which works fine, by the way) but the rework
is significant. I don't have the time and jpff has insufficient background
and too many other projects. Any volunteers?
At 5:58 PM +0000 1/24/99, jpff@maths.bath.ac.uk wrote:
>Message written at 24 Jan 1999 13:12:50 +0000
>
>>>>>> "Josep" == Josep M Comajuncosas writes:
>
> Josep> Btw does anyone know if filter2, kfilter2 and zfilter2 (why
> Josep> "2"?) work as expected? I heard they were not very
> Josep> reliable..., and in fact I remember I implemented an allpass
> Josep> with kfilter2 and it didnt work (but worked ok. with "biquad").
>
>We spent some time in late summer looking at the filter2 opcodes (the
>2 so as to differentiate from the filter opcode in XTCsound) and we
>concluded that they were not very useful as they were numerically
>unstable in all useful cases (that was the executive summary). I
>rewrote the code (while at ICMC, Ann Arbor) to use double precision in
>an attempt to restrict the errors. As far as I could tell either my
>rewrite was wrong or it was still ustable. I do not know much
>(anthing?) about digital filters so I am rather in the dark. Erik
>Spjut was advising....
>
>I suspect that if no one can explain why these opcodes are useful, or
>can fix them, it wold be best to remove them from the system.
>
> Josep> It would be nice another filter opcode with all the filter
> Josep> coeff. being k-rate variable.
>
>I tink the work Hans has been doing of late is much more useful, but I
>would appreciate a calm reassessment of the filters available.
>
>==John ffitch
-------------------------------------------------------------------------------
Erik Spjut (spyoot, rhymes with cute) - Associate Professor of Engineering
and Associate Director for Engineering Computing, Center for Design Education
Harvey Mudd College, Claremont, CA 91711-5990 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01618;
26 Jan 99 0: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 104wTC-0007Z5-00; Tue, 26 Jan 1999 00:35:06 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA14579); Tue, 26 Jan 1999 00:33:55 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 26 Jan 1999 00:33:42 GMT
Received: from out1.ibm.net [165.87.194.252] by hermes via ESMTP (AAA16594); Tue, 26 Jan 1999 00:33:41 GMT
Received: from ibm.net (slip-32-100-159-114.dc.us.ibm.net [32.100.159.114]) by out1.ibm.net (8.8.5/8.6.9) with ESMTP id AAA26204 for ; Tue, 26 Jan 1999 00:33:39 GMT
Message-ID: <36AD0E4D.11E362EE@ibm.net>
Date: Mon, 25 Jan 1999 19:37:33 -0500
From: "Job M. van Zuijlen"
Reply-To: zuijlen@ibm.net
Organization: electona
X-Mailer: Mozilla 4.05 [en] (Win95; U)
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: Simple question: a pitch of audio sample.
References:
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by exeter.ac.uk id AAA16594
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Cool Edit and, I guess, Sound Forge, give you the possibility to do a
frequency analysis (FFT with various windows). Cool Edit also tries to
determine a fundamental frequency, which may or may not, depending on
the kind of signal you analyze, correspond to the pitch value you are
after. You can check this by looking at your frequency analysis. If it
shows peaks at regular intervals you have a fairly decent periodic
signal. It is always good to listen as well!
Job van Zuijlen
Sergey Batov wrote:
>=20
> Yes, that's right, of course!
> But the main difficulty is to find frequency of content of the sample w=
ith
> necessary accuracy. I know that this phrase is not quite correct becaus=
e
> any "live" sound consits of a complex of frequencies.
> But if I try to build instrument from say real piano samples I must to =
know
> the meanings of its pitches with good exactness. For instance, sample f=
or
> note "A4" (a MIDI number is 69) may have a pitch 445 Hz instead of 440,=
and
> I must to correct it in some way. So I must to know difference between
> "right" and real pitches. How to find it? Depend on ears? Of course, it=
's
> possible to use one of the program tuners (play the sample and catch th=
e
> jumpings of indicators). May be there is more
> convenient method?
>=20
> Regards,
> Sergey Batov batov@glasnet.ru
>=20
> ----------
> > =CE=F2: Mike Berry
> > =CA=EE=EC=F3: csound@maths.ex.ac.uk
> > =D2=E5=EC=E0: Re: Simple question: a pitch of audio sample.
> > =C4=E0=F2=E0: 25 =FF=ED=E2=E0=F0=FF 1999 =E3. 19:49
> >
> > In most cases, the pitch of a sample is not an objective measur=
ement.
> > It is simply a basis for choosing a playback speed. For instance, if=
I
> > say a sample is 200 Hz (no matter what the audio data is), then if I =
ask
> > to play it back at 400 Hz., it will be played at twice speed, or one
> > octave up. If I changed the original setting to 100 Hz., then the
> > playback would be up 2 octaves. All of this is irrespective of the
> > content of the sample.
> > In some cases, the audio in the sample does have a single, disc=
ernable,
> > pitch. An example would be a multi-sampled piano sampler, which ofte=
n
> > has a different sample for each note. Then the sample has the pitch
> > corresponding to its note. But even here, that is only for use in
> > determining the relative speed change if the note is transposed up or
> down.
> > So basically, unless there is a clear, single, unchanging, pitc=
h in
> > your sample, you can make the frequency anything you want, as long as
> > you remember what you made it when you want to play it back at anothe=
r
> pitch.
> > --
> > Mike Berry
> > mikeb@nmol.com
> > http://www.nmol.com/users/mikeb
> >
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02316;
26 Jan 99 6:05 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 1051cn-00078D-00; Tue, 26 Jan 1999 06:05:21 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (GAA16264); Tue, 26 Jan 1999 06:04:33 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 26 Jan 1999 06:04:19 GMT
Received: from neptune.lyrick.com [38.227.100.46] by hermes via ESMTP (GAA06383); Tue, 26 Jan 1999 06:04:18 GMT
Received: by neptune.lyrick.com with Internet Mail Service (5.5.2232.9)
id ; Tue, 26 Jan 1999 00:01:47 -0600
Message-ID: <283AABB8FD0DD21187C200A0C995F5DE0ECE08@neptune.lyrick.com>
From: David Boothe
To: "Csound (E-mail)"
Subject: 3.51 pdf manual
Date: Tue, 26 Jan 1999 00:01:46 -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
Csounders-
Updates as well, as the full versions, of 3.51 Csound Manual in pdf format,
is available for download at http://web2.airmail.net/dboothe/index.htm.
Please note: If you downloaded version 3.50 of the complete manual,
single-sided, there were two pages missing from it. They have been restored
in v. 3.51. The missing pages are 1:1 and 7:22. This last one is a blank
page, so is important only for double-sided printing, however, they were not
missing in those files(Manual1.pdf and Manual2.pdf), only the single-sided
one(Manual.pdf).
-David.
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02495;
26 Jan 99 8:02 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 1053Sa-0000Ae-00; Tue, 26 Jan 1999 08:02:56 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (HAA15643); Tue, 26 Jan 1999 07:45:33 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 26 Jan 1999 07:45:19 GMT
Received: from falcon.glas.apc.org [193.124.5.54] by hermes via ESMTP (HAA04302); Tue, 26 Jan 1999 07:45:13 GMT
Received: from mail.glas.apc.org([193.124.5.37]) (992 bytes) by falcon.glas.apc.org
via sendmail with P:esmtp/R:inet_hosts/T:inet_zone_smtp
(sender: )
id
for ; Tue, 26 Jan 1999 10:45:12 +0300 (WSU)
(Smail-3.2.0.104 1998-Nov-20 #2 built 1998-Nov-27)
Received: from default(src addr [195.218.128.240]) (616 bytes) by mail.glas.apc.org
via sendmail with P\:esmtp/R:smart_host/T:smtp
(sender: )
id
for ; Tue, 26 Jan 1999 10:44:52 +0300 (WSU)
(Smail-3.2.0.96 1997-Jun-2 #11 built DST-Aug-25)
Message-Id:
From: Sergey Batov
To: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Re: Simple question: a pitch of audio sample.
Date: Tue, 26 Jan 1999 10:03:07 +0300
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Thank you all who answered my question!
It's a good and very important supporting.
Best wishes,
Sergey Batov batov@glasnet.ru
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02851;
26 Jan 99 10:41 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 1055vi-0007Ql-00; Tue, 26 Jan 1999 10:41:10 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (HAA00071); Tue, 26 Jan 1999 07:46:20 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 26 Jan 1999 07:46:08 GMT
Received: from uta.fi [153.1.1.12] by hermes via ESMTP (HAA15295); Tue, 26 Jan 1999 07:46:07 GMT
Received: from vuokko.uta.fi (tt56361@vuokko [153.1.1.11]) by uta.fi (8.8.7/8.8.2) with ESMTP id JAA22271 for ; Tue, 26 Jan 1999 09:46:03 +0200 (EET)
Received: from localhost (tt56361@localhost) by vuokko.uta.fi (8.8.5/8.8.2) with ESMTP id JAA13431 for ; Tue, 26 Jan 1999 09:45:59 +0200 (EET)
Date: Tue, 26 Jan 1999 09:45:59 +0200 (EET)
From: Timo Tossavainen
To: csound@maths.ex.ac.uk
Subject: Yet another member on the list
In-Reply-To:
Message-ID:
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1804928587-917336759=:9288"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-1804928587-917336759=:9288
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi,
The subject says it all, but I thought I'd contribute a bit while I'm at
it. Someone wrote about a TB-like filter. Well, here's the Moog VCF
implemented in CSound... it's a warm sounding resonant lpf with k-rate
controls. Sadly ksmps must be 1, but that's what you get when implementing
filters by hand. It would be great to have the Moog VCF as an opcode, it's
fairly simple to implement efficiently. In case you're interested...
the filter is the one presented in Tim Stilson's paper with a small tweak
to keep it from blowing up at high rez+cutoff.
Sorry about the unimaginative score; I'm not used to programming the
scores yet, so it had to be something simple.
I've done a fair bit of audio programming, even a small (was it 40+
modules ?) modular non-realtime softsynth with a GUI for windows.
I'm using CSound to prototype synth/fx ideas - nice -.
BTW, I tried to program an An1X emulator in CSound, but programming the
score was a pain (20+ controls). Is there anything (a front-end for Linux
?) that would help with this problem ?
Cheers,
Timo
---559023410-1804928587-917336759=:9288
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="moog.orc"
Content-Transfer-Encoding: BASE64
Content-ID:
Content-Description:
Content-Disposition: attachment; filename="moog.orc"
Oy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0NCjsgICAgICAgICAgbW9vZy5vcmMgDQo7CSAgICBDb2RlIGJ5IA0KOyAg
ICAgIFRpbW8gVG9zc2F2YWluZW4NCjsgICAgICAgIHR0NTYzNjFAdXRhLmZp
DQo7LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLQ0KCXNyID0gNDQxMDANCglrciA9IDQ0MTAwDQoJa3NtcHMgPSAxDQoJ
bmNobmxzID0gMQ0KOy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0NCjsgQW5hbG9ndWlzaCBCYXNzbGluZSBTeW50aCB1
c2luZyB0aGUgTW9vZyBWQ0YNCjstLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoJaW5zdHIJMQ0KOy0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCjsgcDIgPSBz
dGFydA0KOyBwMyA9IGR1cmF0aW9uDQo7LS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KOyBwNCA9IHBpdGNoDQo7IHA1
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AtLS0tDQoNCmFwaQk9IGFvc2MgLSAoa2ZiICogYW91
dDQpDQoNCmF0MQk9IGtzY2FsZSAqIGFwaQkNCmFvdXQxCT0gYXQxICsgMC4z
ICogYWluMSArICgxLjAgLSBrZikgKiBhb3V0MSA7IHBvbGUgMQ0KYWluMQk9
IGF0MQ0KYXQyCT0ga3NjYWxlICogYW91dDENCmFvdXQyCT0gYXQyICsgMC4z
ICogYWluMiArICgxLjAgLSBrZikgKiBhb3V0MiA7IHBvbGUgMg0KYWluMgk9
IGF0Mg0KYXQzCT0ga3NjYWxlICogYW91dDINCmFvdXQzCT0gYXQzICsgMC4z
ICogYWluMyArICgxLjAgLSBrZikgKiBhb3V0MyA7IHBvbGUgMw0KYWluMwk9
IGF0Mw0KYXQ0CT0ga3NjYWxlICogYW91dDMNCmFvdXQ0CT0gYXQ0ICsgMC4z
ICogYWluNCArICgxLjAgLSBrZikgKiBhb3V0NCA7IHBvbGUgNA0KYWluNAk9
IGF0NA0KDQphb3V0CT0gYW91dDQgKiBrZW52Ow0KDQoJb3V0CWFvdXQNCmVu
ZGluDQoNCg0KDQoNCg0KDQo=
---559023410-1804928587-917336759=:9288
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="moog.sco"
Content-Transfer-Encoding: BASE64
Content-ID:
Content-Description:
Content-Disposition: attachment; filename="moog.sco"
OyBtb29nLnNjbw0KOyBieSBUaW1vIFRvc3NhdmFpbmVuLCB0dDU2MzYxQHV0
YS5maQ0KOyBzYXcgdGFibGUNCg0KZjEgMCA0MDk2IDcgMSA0MDk2IC0xDQp0
IDAgMTYwDQoNCjsgc2NvcmUNCjtpbnMgYmVnICBkdXIgIHBpdCAgIHZlbCAg
Y3V0ICByZXogIGVudg0KaTEgICAwLjAgIDAuNiAgNy4wMyAgMC45ICAwLjAy
IDMuNiAgMC4wMQ0KaTEgICAwLjUgIDAuNiAgNi4wNyAgLiAgICAuICAgIC4g
ICAgLg0KaTEgICAxLjAgIDAuNiAgNy4wMCAgLiAg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