Csound Csound-dev Csound-tekno Search About

Re: instrument design?

Date1998-02-07 17:34
FromBoothe/Duncan
SubjectRe: instrument design?
Qian Chen wrote:
> 
> Hi, there
> 
> I have learned AM, FM, waveshaping... but have no idea
> about what to do when I really think out of a sound.  What I have to
> do is just trying again and again.  Sometimes I got what I want, but
> it is very seldom for me.  Could someone tell me what to do?
> 
> Regards
> 
> ==
> Qian Chen
> 

Like many things in life, this requires patience, time, and thought, but
the value (and fun) is the journey, not the destination.

The best sound analysis tools ever invented are the human ears and the
brain they are attached to. Concsiously, listen to sounds around you:
birds, cars, washing machines, brooks, people, even ..... musical
instruments. Why do they sound the way they do? Pick one aspect of a
sound, pitch, timbre (waveform),envelope, rhythm, etc. Try to recreate
it with the tools at your disposal knowing what you do about how they
work. Csound is probably the best, but not necessarily instant
gratification. Example: birdsong are great pitch studies. Try to
recreate one with only a sine wave. Taking something apart and putting
it back together is one of the best ways to learn. People have done it
for millenia.

Look at other people's orc and sco files. Compile them, try to relate
the code to what your hear. Simple ones are best. This apply's also to
Steven LeBeau's question re GEN Ftables. A good source is John Gather's
Amsterdam Catalogue. Find it here:



Sorry for being so wordy. Happy listening.

David Boothe.





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12107;
          7 Feb 98 17:54 GMT
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa12842;
          7 Feb 98 17:54 GMT
Received: (qmail 17618 invoked from network); 7 Feb 1998 17:55:01 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 7 Feb 1998 17:55:01 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA15994); Sat, 7 Feb 1998 17:45:56 GMT
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 7 Feb 98 17:45:20 GMT
Received: from mail.airmail.net [206.66.12.40] by hermes via SMTP (RAA08268); Sat, 7 Feb 1998 17:45:07 GMT
Received: from Internet America.airmail.net from [207.136.54.29] by mail.airmail.net 
	(/\##/\ Smail3.1.30.16 #30.233) with smtp for 
	id ; Sat, 7 Feb 98 11:45:05 -0600 (CST)
Message-Id: <34DC9D9A.4E2C@airmail.net>
Date: Sat, 07 Feb 1998 11:44:58 -0600
From: Boothe/Duncan 
Reply-To: dboothe@airmail.net
X-Mailer: Mozilla 3.01C-KIT  (Win95; U)
Mime-Version: 1.0
To: Qian Chen 
Cc: Csound , music-dsp@shoko.calarts.edu, 
    slebeau@worldnet.att.net
Subject: Re: instrument design?
References: <19980202120956.21236.rocketmail@send1c.yahoomail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Qian Chen wrote:
> 
> I have learned AM, FM, waveshaping... but have no idea
> about what to do when I really think out of a sound.  What I have to
> do is just trying again and again.  Sometimes I got what I want, but
> it is very seldom for me.  Could someone tell me what to do?
> 
> Regards
> 
> ==
> Qian Chen
> 

Like many things in life, this requires patience, time, and thought, but
the value (and fun) is the journey, not the destination.

The best qualitative sound analysis tools ever invented are the human
ears and the
brain they are attached to. Concsiously, listen to sounds around you:
birds, cars, washing machines, brooks, people, even ..... musical
instruments. Why do they sound the way they do? Pick one aspect of a
sound, pitch, timbre (waveform),envelope, rhythm, etc. Try to quantify
it an re-create
it with the tools at your disposal, using your knowledge of how they
work. Csound is probably the best, but not necessarily instant
gratification. 

Example: Birdsongs are good pitch studies. Try to
recreate one with only a sine wave. Taking something apart and putting
it back together is one of the best ways to learn. People have done it
for millenia.

Look at other people's orc and sco files. Compile them, try to relate
the code to what your hear. Simple ones are best. This apply's also to
Steven LeBeau's question re: GEN Ftables. A good source is John Gather's
Amsterdam Catalogue. Find it here:

   mars.let.uva.nl/gather/accci/accci.html

Sorry for being so wordy. Happy listening.

David Boothe.




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12198;
          7 Feb 98 18:42 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa13888;
          7 Feb 98 18:42 GMT
Received: (qmail 12106 invoked from network); 7 Feb 1998 18:42:32 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 7 Feb 1998 18:42:32 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA25984); Sat, 7 Feb 1998 18:39:21 GMT
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 7 Feb 98 18:39:02 GMT
Received: from dns.rdn.it [194.247.174.4] by hermes via ESMTP (SAA20783); Sat, 7 Feb 1998 18:36:40 GMT
Received: from dns.rdn.it (ppp-0.rdn.it [194.247.174.32]) by dns.rdn.it (8.8.2/8.7.1) with SMTP id UAA02126 for ; Sat, 7 Feb 1998 20:40:35 +0100
Date: Sat, 7 Feb 1998 20:40:35 +0100
Message-Id: <199802071940.UAA02126@dns.rdn.it>
X-Sender: s.zambon@rdn.it
X-Mailer: Windows Eudora Light Version 1.5.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: csound@maths.ex.ac.uk
From: Silvano Zambon 
Subject: warning
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

 Hello all,
 I have just received this message and spread it because it seems important:

 If you receive an e-mail titled  "join the crew",  don't open and delete!
 It contains a new virus who destroys the files in Hard Drive. 

 If you receive an e-mail titled  "penpal greetings",  don't open and delete!
 It contains a new virus which corrupt the boot sector and send itself 
 to the address contained in your mail box. This virus in theory can
 damage all the web.

 I don't know if the mailing-list is already protected from such viruses, and  
 neither if the message is true, in any case I decided to warn.

 Silvano Zambon
 s.zambon@rdn.it




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12210;
          7 Feb 98 18:52 GMT
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa14106;
          7 Feb 98 18:52 GMT
Received: (qmail 17900 invoked from network); 7 Feb 1998 18:52:40 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 7 Feb 1998 18:52:40 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA17960); Sat, 7 Feb 1998 18:49:59 GMT
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 7 Feb 98 18:49:40 GMT
Received: from root@huitzilo.tezcat.com [204.128.247.17] by hermes via ESMTP (SAA14402); Sat, 7 Feb 1998 18:49:33 GMT
Received: from [204.248.80.120] (antiorp.tezcat.com [204.248.80.120])
	by huitzilo.tezcat.com (8.8.5/8.8.5/tezcat-96091001) with SMTP id MAA10014
	for ; Sat, 7 Feb 1998 12:49:39 -0600 (CST)
Message-Id: <199802071849.MAA10014@huitzilo.tezcat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 7 Feb 1998 12:53:46 -0600
To: csound@maths.ex.ac.uk
From: =cw4t7abs 
Subject: jo!n dze krew
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> Hello all,
> I have just received this message and spread it because it seems important:
>
> If you receive an e-mail titled  "join the crew",  don't open and delete!
> It contains a new virus who destroys the files in Hard Drive.
>
> If you receive an e-mail titled  "penpal greetings",  don't open and delete!
> It contains a new virus which corrupt the boot sector and send itself
> to the address contained in your mail box. This virus in theory can
> damage all the web.
>
> I don't know if the mailing-list is already protected from such viruses, and
> neither if the message is true, in any case I decided to warn.
>
> Silvano Zambon
> s.zambon@rdn.it





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12273;
          7 Feb 98 19:27 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa14853;
          7 Feb 98 19:27 GMT
Received: (qmail 13650 invoked from network); 7 Feb 1998 19:27:36 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 7 Feb 1998 19:27:36 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA19325); Sat, 7 Feb 1998 19:24:50 GMT
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 7 Feb 98 19:24:17 GMT
Received: from lt@westnet.com [206.24.6.2] by hermes via ESMTP (TAA20229); Sat, 7 Feb 1998 19:24:06 GMT
Received: from localhost (lt@localhost)
	by westnet.com (8.8.6/8.8.7) with SMTP id OAA08876;
	Sat, 7 Feb 1998 14:18:41 -0500 (EST)
Date: Sat, 7 Feb 1998 14:18:40 -0500 (EST)
From: Larry Troxler 
To: Silvano Zambon 
Cc: csound@maths.ex.ac.uk
Subject: Re: warning
In-Reply-To: <199802071940.UAA02126@dns.rdn.it>
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

1. Do you live in a cave? This is a hoax.
2. Don't post virus warnings to the csound list. That's what 
virus lists and newsgroups are for.
3. Get a clue.


On Sat, 7 Feb 1998, Silvano Zambon wrote:

>  Hello all,
>  I have just received this message and spread it because it seems important:
> 
>  If you receive an e-mail titled  "join the crew",  don't open and delete!
>  It contains a new virus who destroys the files in Hard Drive. 
> 
>  If you receive an e-mail titled  "penpal greetings",  don't open and delete!
>  It contains a new virus which corrupt the boot sector and send itself 
>  to the address contained in your mail box. This virus in theory can
>  damage all the web.
> 
>  I don't know if the mailing-list is already protected from such viruses, and  
>  neither if the message is true, in any case I decided to warn.
> 
>  Silvano Zambon
>  s.zambon@rdn.it
> 
> 

--  Larry Troxler  --  lt@westnet.com  --  Patterson, NY USA  --
  




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12285;
          7 Feb 98 19:36 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa15048;
          7 Feb 98 19:36 GMT
Received: (qmail 13819 invoked from network); 7 Feb 1998 19:36:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 7 Feb 1998 19:36:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA22168); Sat, 7 Feb 1998 19:33:22 GMT
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 7 Feb 98 19:32:55 GMT
Received: from root@rzaixsrv2.rrz.uni-hamburg.de [134.100.33.12] by hermes via ESMTP (TAA27537); Sat, 7 Feb 1998 19:32:48 GMT
Received: from rrz.uni-hamburg.de (eggink3.public.uni-hamburg.de [134.100.44.65]) by rzaixsrv2.rrz.uni-hamburg.de (AIX4.2/UCB 8.7/8.7) with ESMTP id UAA65652; Sat, 7 Feb 1998 20:32:31 +0100 (NFT)
Message-Id: <34DCB6CA.59D7A2F7@rrz.uni-hamburg.de>
Date: Sat, 07 Feb 1998 20:32:26 +0100
From: Bernd Eggink 
Organization: Regionales Rechenzentrum der Uni Hamburg
X-Mailer: Mozilla 4.03 [en] (X11; I; Linux 2.0.30 i586)
Mime-Version: 1.0
To: Silvano Zambon 
Cc: csound@maths.ex.ac.uk
Subject: Re: warning
References: <199802071940.UAA02126@dns.rdn.it>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Silvano Zambon wrote:
> 
>  Hello all,
>  I have just received this message and spread it because it seems important:
> 
>  If you receive an e-mail titled  "join the crew",  don't open and delete!
>  It contains a new virus who destroys the files in Hard Drive.
> 
>  If you receive an e-mail titled  "penpal greetings",  don't open and delete!
>  It contains a new virus which corrupt the boot sector and send itself
>  to the address contained in your mail box. This virus in theory can
>  damage all the web.
> 
>  I don't know if the mailing-list is already protected from such viruses, and
>  neither if the message is true, in any case I decided to warn.
> 
>  Silvano Zambon
>  s.zambon@rdn.it

Arghh! Not again! This is complete nonsense. No virus can be activated
by opening an e-mail. The warning itself is the virus, and the only harm
it does is wasting bandwidth.

-- 
Bernd Eggink
Regionales Rechenzentrum der Universitaet Hamburg
eggink@rrz.uni-hamburg.de
http://www.rrz.uni-hamburg.de/eggink/BEggink.html



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12309;
          7 Feb 98 19:48 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa15288;
          7 Feb 98 19:49 GMT
Received: (qmail 14178 invoked from network); 7 Feb 1998 19:49:05 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 7 Feb 1998 19:49:05 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA03798); Sat, 7 Feb 1998 19:45:51 GMT
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 7 Feb 98 19:45:26 GMT
Received: from root@huitzilo.tezcat.com [204.128.247.17] by hermes via ESMTP (TAA27821); Sat, 7 Feb 1998 19:45:11 GMT
Received: from [204.248.80.120] (antiorp.tezcat.com [204.248.80.120])
	by huitzilo.tezcat.com (8.8.5/8.8.5/tezcat-96091001) with SMTP id NAA11904
	for ; Sat, 7 Feb 1998 13:45:11 -0600 (CST)
Message-Id: <199802071945.NAA11904@huitzilo.tezcat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 7 Feb 1998 13:49:17 -0600
To: csound@maths.ex.ac.uk
From: =cw4t7abs 
Subject: Re: war.ing
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

>1. Do you live in a cave? This is a hoax.
>2. Don't post virus warnings to the csound list. That's what
>virus lists and newsgroups are for.
>3. Get a clue.

lang ~= abov = v!ruz















mob!le.gendr.m9nd.konta!nr+s!mulatd.lang.
bot trap. nr.0-24. anti|human|probe
0 f 0 0 0 3 . m a s c h 1 n 3 n k u n Z t
hTTp://www.tezcat.com/~antiorp
hTTp://www.god-emil.dk/=cw4t7abs





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12316;
          7 Feb 98 19:49 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa15310;
          7 Feb 98 19:50 GMT
Received: (qmail 14203 invoked from network); 7 Feb 1998 19:50:08 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 7 Feb 1998 19:50:08 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA25672); Sat, 7 Feb 1998 19:47:27 GMT
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 7 Feb 98 19:47:08 GMT
Received: from root@huitzilo.tezcat.com [204.128.247.17] by hermes via ESMTP (TAA00931); Sat, 7 Feb 1998 19:47:01 GMT
Received: from [204.248.80.120] (antiorp.tezcat.com [204.248.80.120])
	by huitzilo.tezcat.com (8.8.5/8.8.5/tezcat-96091001) with SMTP id NAA11969
	for ; Sat, 7 Feb 1998 13:47:02 -0600 (CST)
Message-Id: <199802071947.NAA11969@huitzilo.tezcat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 7 Feb 1998 13:51:08 -0600
To: csound@maths.ex.ac.uk
From: =cw4t7abs 
Subject: Re: warn ng
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


>Arghh! Not again! This is complete nonsense. No virus can be activated
>by opening an e-mail. The warning itself is the virus, and the only harm
>it does is wasting bandwidth.

return true.
mor + fastr. !
dze   mposs!b lt+e
     !   ov reazon.





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12667;
          7 Feb 98 23:22 GMT
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa19815;
          7 Feb 98 23:22 GMT
Received: (qmail 19249 invoked from network); 7 Feb 1998 23:23:03 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 7 Feb 1998 23:23:03 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA10233); Sat, 7 Feb 1998 23:20:12 GMT
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 7 Feb 98 23:19:55 GMT
Received: from mb05.swip.net [193.12.122.209] by hermes via ESMTP (XAA13735); Sat, 7 Feb 1998 23:19:48 GMT
Received: from rasmus (dialup237-2-5.swipnet.se [130.244.237.69]) 
          by mb05.swip.net (8.8.8/8.8.8) with SMTP 
          id AAA27406; 
          Sun, 8 Feb 1998 00:19:49 +0100 (MET)
Message-Id: <34DCEC8D.490@hexagon.se>
Date: Sun, 08 Feb 1998 00:21:49 +0100
From: rasmus ekman 
X-Mailer: Mozilla 3.0 (Win95; I)
Mime-Version: 1.0
To: David Schuyeteneer 
Cc: csound mailing list 
Subject: Re: adsyn partials control
References: <19980206130331690.AAA305@nobody>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

David Schuyeteneer wrote:
> 
> I tried to use adsyn and it works, but how can I control partials of it ?

not at all, inside Csound. What you can do is to use the utility
program het_expo.exe to export the numbers in the analysis file
as text, then import that text eg into a spreadsheet and transform
them there. Then save as text and convert back to hetro digital
format with het_impo.exe. Or check the hetro file format in the 
manual and write your own processing utility in the programming 
language of your choice ;}

Cheers,

	re



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa13561;
          8 Feb 98 12:47 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa12387;
          8 Feb 98 12:47 GMT
Received: (qmail 3705 invoked from network); 8 Feb 1998 12:47:54 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 8 Feb 1998 12:47:54 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (MAA21756); Sun, 8 Feb 1998 12:38:50 GMT
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sun, 8 Feb 98 12:38:31 GMT
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (MAA18981); Sun, 8 Feb 1998 12:38:24 GMT
Received: from [194.184.60.246] (ws1.axnet.it [194.184.60.246]) by agora.stm.it (8.8.8/8.8.5) with ESMTP id NAA21242 for ; Sun, 8 Feb 1998 13:38:23 +0100 (ITA)
X-Sender: m.giri@HELLA.stm.it
Message-Id: 
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 8 Feb 1998 13:44:00 +0100
To: csound@maths.ex.ac.uk
From: Maurizio Giri 
Subject: found a bug in 3.47?
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

in my previous message i wrote:

>I'm experimenting with filtering single pulses with a reson filter with a
>very narrow filter band.
>
>with (e.g.) this orchestra:
>
>sr=44100
>kr=44100
>ksmps=1
>nchnls=2
>
>
>instr 1
>a1 linseg 10000, 1/kr, 0, p3-1/kr, 0
>a2 reson a1, 621.08, 0.5
>a3 reson a1, 207.53, 0.5
>outs a2*0.1, a3*0.1
>endin
>
>and this score:
>
>i1 0 5
>
>i used to get nice exponentially decaying sinusoids with the old perf.ppc
>(v 0.3.2b0).
>Now with perf3.47 beta3 i get a very strange-looking distorted sound, that
>seems to change when changing p3.
>I have tried the same orc/sco with bath's PCCsound also. Result: same
>distorted sound. Maybe it's something on the source code?

Now i've found that the problem is that the rescaling of signals in the
outs operator:
outs a2*0.1, a3*0.1
       ^       ^
does not work, and the signal outputs at full amplitude, even if you
multiply it by 0, while in the previous version of csound the signal was
rescaled as expected.
I don't think it's reson's fault, because if you (in the mills PPC version)
choose the "32-bit float -> 16-bits int" option for the output soundfile
format, you get the undistorted exponetially decaying sinusoids, because of
the larger dynamic allowed by 32 bit, wich prevents clipping.
I havent tested the * operator in other situations, though.

BTW is there a "mod" operator hidden somewhere?

best regs
maurizio

_____________________________________________
o              Maurizio  Giri               o
o                 ConTempo                  o
o  Italian Contemporary (and Early) Music   o
o       http://www.axnet.it/contempo        o
o-------------------------------------------o
o ConTempo e-mail:  contempo@wmail.axnet.it o
o Personal e-mail:      m.giri@agora.stm.it o
o                                           o
o Snail: Via Ostilia, 55 - 00184 Roma Italy o
o Tel +39.6.70451885                        o
_____________________________________________

http://www.univr.it/germano/eme/compos/girima.htm