Csound Csound-dev Csound-tekno Search About

[Csnd] simple drums..

Date2010-10-13 23:22
FromRory Walsh
Subject[Csnd] simple drums..
My undergrad students have been asking me recently about how to
synthesise drum sounds. The students in question are only 3 weeks into
their first synthesis class and have never used Csound before,
therefore complex instruments are out of the question. So I built 3 of
the simplest drum instruments I could, a snare, kick and hihat. I
purposely avoided using any filters as they're not really ready for
that yet. Below is a sample csd. If anyone has any other simple drums
please share so I can add them to what I have!

Rory.




-+rtaudio=alsa -odac:hw:1,0 -idevaudio:hw:1,0


sr = 44100
nchnls = 2

instr 1; hihat closed
aamp      expon     1000,  0.1,   p4
arand     rand      aamp
outs arand, arand
endin

instr 2;snare
aenv1  expon  p4, 0.03, 0.5
a1   oscili aenv1, 147, 1
aamp      expon     1000,  0.2,   10
arand     rand      aamp
outs a1+arand, a1+arand
endin

instr 3; kick
k1  expon    p4, .2, 50
aenv expon 1, p3, 0.01
a1  poscil    10000, k1, 1
outs a1*aenv, a1*aenv
endin



f1 0 1024 10 1

i1 0      0.25 10
i1 0.25   0.25 10
i1 0.5    0.25 10
i1 0.75   0.25 10
i1 1      0.25 10
i1 1.25   0.25 10
i1 1.5    0.25 10
i1 1.75   0.25 10
i1 2      0.25 10
i1 2.25   0.25 10
i1 2.5    0.25 10
i1 2.75   0.25 10
i1 3      0.25 10
i1 3.25   0.25 10
i1 3.5    0.25 10
i1 3.75   0.25 10

i2 0.5 1 10000
i2 1.5 1 10000
i2 2.5 1 10000
i2 3.5 1 10000

i3 0      0.25  100
i3 0.375  0.25  100
i3 0.75   0.25  100
i3 1.25   0.25  100
i3 2      0.25  100
i3 2.375  0.25  100
i3 2.75   0.25  100
i3 3.25   0.25  100
i3 3.75   0.25  100





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-10-13 23:48
FromVictor Lazzarini
Subject[Csnd] Re: simple drums..
you can try the trick of ring-modulating a sine oscillator and a band- 
limited noise (randi) generator.
The frequency of the sine will centre your noise band and the freq of  
your noise generator will be
about 1/2 bandwidth of the noise, like so


instr 1
k1 expon 1, p3, 0.001
a1 randi 0dbfs*p4, p6
a2 oscili a1, p5, 1
out a2*k1
endin


f1 0 16384 10 1
i1 0 3 0.2 4500 5000
i1 1 3 0.2 5500 6000
i1 2 3 0.2 3500 2000



On 13 Oct 2010, at 23:22, Rory Walsh wrote:

> My undergrad students have been asking me recently about how to
> synthesise drum sounds. The students in question are only 3 weeks into
> their first synthesis class and have never used Csound before,
> therefore complex instruments are out of the question. So I built 3 of
> the simplest drum instruments I could, a snare, kick and hihat. I
> purposely avoided using any filters as they're not really ready for
> that yet. Below is a sample csd. If anyone has any other simple drums
> please share so I can add them to what I have!
>
> Rory.
>
>
> 
> 
> -+rtaudio=alsa -odac:hw:1,0 -idevaudio:hw:1,0
> 
> 
> sr = 44100
> nchnls = 2
>
> instr 1; hihat closed
> aamp      expon     1000,  0.1,   p4
> arand     rand      aamp
> outs arand, arand
> endin
>
> instr 2;snare
> aenv1  expon  p4, 0.03, 0.5
> a1   oscili aenv1, 147, 1
> aamp      expon     1000,  0.2,   10
> arand     rand      aamp
> outs a1+arand, a1+arand
> endin
>
> instr 3; kick
> k1  expon    p4, .2, 50
> aenv expon 1, p3, 0.01
> a1  poscil    10000, k1, 1
> outs a1*aenv, a1*aenv
> endin
>
> 
> 
> f1 0 1024 10 1
>
> i1 0      0.25 10
> i1 0.25   0.25 10
> i1 0.5    0.25 10
> i1 0.75   0.25 10
> i1 1      0.25 10
> i1 1.25   0.25 10
> i1 1.5    0.25 10
> i1 1.75   0.25 10
> i1 2      0.25 10
> i1 2.25   0.25 10
> i1 2.5    0.25 10
> i1 2.75   0.25 10
> i1 3      0.25 10
> i1 3.25   0.25 10
> i1 3.5    0.25 10
> i1 3.75   0.25 10
>
> i2 0.5 1 10000
> i2 1.5 1 10000
> i2 2.5 1 10000
> i2 3.5 1 10000
>
> i3 0      0.25  100
> i3 0.375  0.25  100
> i3 0.75   0.25  100
> i3 1.25   0.25  100
> i3 2      0.25  100
> i3 2.375  0.25  100
> i3 2.75   0.25  100
> i3 3.25   0.25  100
> i3 3.75   0.25  100
>
> 
> 
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-10-14 00:23
FromRory Walsh
Subject[Csnd] Re: Re: simple drums..
à la Dodge/Jerse, I forgot about that one!

On 13 October 2010 23:48, Victor Lazzarini  wrote:
> you can try the trick of ring-modulating a sine oscillator and a
> band-limited noise (randi) generator.
> The frequency of the sine will centre your noise band and the freq of your
> noise generator will be
> about 1/2 bandwidth of the noise, like so
>
> 
> instr 1
> k1 expon 1, p3, 0.001
> a1 randi 0dbfs*p4, p6
> a2 oscili a1, p5, 1
> out a2*k1
> endin
> 
> 
> f1 0 16384 10 1
> i1 0 3 0.2 4500 5000
> i1 1 3 0.2 5500 6000
> i1 2 3 0.2 3500 2000
> 
>
>
> On 13 Oct 2010, at 23:22, Rory Walsh wrote:
>
>> My undergrad students have been asking me recently about how to
>> synthesise drum sounds. The students in question are only 3 weeks into
>> their first synthesis class and have never used Csound before,
>> therefore complex instruments are out of the question. So I built 3 of
>> the simplest drum instruments I could, a snare, kick and hihat. I
>> purposely avoided using any filters as they're not really ready for
>> that yet. Below is a sample csd. If anyone has any other simple drums
>> please share so I can add them to what I have!
>>
>> Rory.
>>
>>
>> 
>> 
>> -+rtaudio=alsa -odac:hw:1,0 -idevaudio:hw:1,0
>> 
>> 
>> sr = 44100
>> nchnls = 2
>>
>> instr 1; hihat closed
>> aamp      expon     1000,  0.1,   p4
>> arand     rand      aamp
>> outs arand, arand
>> endin
>>
>> instr 2;snare
>> aenv1  expon  p4, 0.03, 0.5
>> a1   oscili aenv1, 147, 1
>> aamp      expon     1000,  0.2,   10
>> arand     rand      aamp
>> outs a1+arand, a1+arand
>> endin
>>
>> instr 3; kick
>> k1  expon    p4, .2, 50
>> aenv expon 1, p3, 0.01
>> a1  poscil    10000, k1, 1
>> outs a1*aenv, a1*aenv
>> endin
>>
>> 
>> 
>> f1 0 1024 10 1
>>
>> i1 0      0.25 10
>> i1 0.25   0.25 10
>> i1 0.5    0.25 10
>> i1 0.75   0.25 10
>> i1 1      0.25 10
>> i1 1.25   0.25 10
>> i1 1.5    0.25 10
>> i1 1.75   0.25 10
>> i1 2      0.25 10
>> i1 2.25   0.25 10
>> i1 2.5    0.25 10
>> i1 2.75   0.25 10
>> i1 3      0.25 10
>> i1 3.25   0.25 10
>> i1 3.5    0.25 10
>> i1 3.75   0.25 10
>>
>> i2 0.5 1 10000
>> i2 1.5 1 10000
>> i2 2.5 1 10000
>> i2 3.5 1 10000
>>
>> i3 0      0.25  100
>> i3 0.375  0.25  100
>> i3 0.75   0.25  100
>> i3 1.25   0.25  100
>> i3 2      0.25  100
>> i3 2.375  0.25  100
>> i3 2.75   0.25  100
>> i3 3.25   0.25  100
>> i3 3.75   0.25  100
>>
>> 
>> 
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-10-14 04:52
FromDavidW
Subject[Csnd] Re: simple drums..
+ (from memory) I think there is a CMJ paper from last century on using Karplus-Strong alg. (also used for plucked strings) for syntheisising drum-like sounds.

David
On 14/10/2010, at 10:23 AM, Rory Walsh wrote:

à la Dodge/Jerse, I forgot about that one!

On 13 October 2010 23:48, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
you can try the trick of ring-modulating a sine oscillator and a
band-limited noise (randi) generator.
The frequency of the sine will centre your noise band and the freq of your
noise generator will be
about 1/2 bandwidth of the noise, like so

<CsInstruments>
instr 1
k1 expon 1, p3, 0.001
a1 randi 0dbfs*p4, p6
a2 oscili a1, p5, 1
out a2*k1
endin
</CsInstruments>
<CsScore>
f1 0 16384 10 1
i1 0 3 0.2 4500 5000
i1 1 3 0.2 5500 6000
i1 2 3 0.2 3500 2000
</CsScore>


On 13 Oct 2010, at 23:22, Rory Walsh wrote:

My undergrad students have been asking me recently about how to
synthesise drum sounds. The students in question are only 3 weeks into
their first synthesis class and have never used Csound before,
therefore complex instruments are out of the question. So I built 3 of
the simplest drum instruments I could, a snare, kick and hihat. I
purposely avoided using any filters as they're not really ready for
that yet. Below is a sample csd. If anyone has any other simple drums
please share so I can add them to what I have!

Rory.


<CsoundSynthesizer>
<CsOptions>
-+rtaudio=alsa -odac:hw:1,0 -idevaudio:hw:1,0
</CsOptions>
<CsInstruments>
sr = 44100
nchnls = 2

instr 1; hihat closed
aamp      expon     1000,  0.1,   p4
arand     rand      aamp
outs arand, arand
endin

instr 2;snare
aenv1  expon  p4, 0.03, 0.5
a1   oscili aenv1, 147, 1
aamp      expon     1000,  0.2,   10
arand     rand      aamp
outs a1+arand, a1+arand
endin

instr 3; kick
k1  expon    p4, .2, 50
aenv expon 1, p3, 0.01
a1  poscil    10000, k1, 1
outs a1*aenv, a1*aenv
endin

</CsInstruments>
<CsScore>
f1 0 1024 10 1

i1 0      0.25 10
i1 0.25   0.25 10
i1 0.5    0.25 10
i1 0.75   0.25 10
i1 1      0.25 10
i1 1.25   0.25 10
i1 1.5    0.25 10
i1 1.75   0.25 10
i1 2      0.25 10
i1 2.25   0.25 10
i1 2.5    0.25 10
i1 2.75   0.25 10
i1 3      0.25 10
i1 3.25   0.25 10
i1 3.5    0.25 10
i1 3.75   0.25 10

i2 0.5 1 10000
i2 1.5 1 10000
i2 2.5 1 10000
i2 3.5 1 10000

i3 0      0.25  100
i3 0.375  0.25  100
i3 0.75   0.25  100
i3 1.25   0.25  100
i3 2      0.25  100
i3 2.375  0.25  100
i3 2.75   0.25  100
i3 3.25   0.25  100
i3 3.75   0.25  100

</CsScore>
</CsoundSynthesizer>


Send bugs reports to the Sourceforge bug tracker
          https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"


_____________________________________________
Dr David Worrall
Adjunct Research Fellow, Australian National University
Board Member, International Community for Auditory Display 
Regional Editor, Organised Sound (CUP) 
Projects Officer, Music Council of Australia 
worrall.avatar.com.au sonification.com.au
mca.org.au musicforum.org.au






Date2010-10-14 08:10
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: simple drums..
 From Risset's catalogue, originally.
On 14 Oct 2010, at 00:23, Rory Walsh wrote:

> à la Dodge/Jerse, I forgot about that one!
>
> On 13 October 2010 23:48, Victor Lazzarini  
>  wrote:
>> you can try the trick of ring-modulating a sine oscillator and a
>> band-limited noise (randi) generator.
>> The frequency of the sine will centre your noise band and the freq  
>> of your
>> noise generator will be
>> about 1/2 bandwidth of the noise, like so
>>
>> 
>> instr 1
>> k1 expon 1, p3, 0.001
>> a1 randi 0dbfs*p4, p6
>> a2 oscili a1, p5, 1
>> out a2*k1
>> endin
>> 
>> 
>> f1 0 16384 10 1
>> i1 0 3 0.2 4500 5000
>> i1 1 3 0.2 5500 6000
>> i1 2 3 0.2 3500 2000
>> 
>>
>>
>> On 13 Oct 2010, at 23:22, Rory Walsh wrote:
>>
>>> My undergrad students have been asking me recently about how to
>>> synthesise drum sounds. The students in question are only 3 weeks  
>>> into
>>> their first synthesis class and have never used Csound before,
>>> therefore complex instruments are out of the question. So I built  
>>> 3 of
>>> the simplest drum instruments I could, a snare, kick and hihat. I
>>> purposely avoided using any filters as they're not really ready for
>>> that yet. Below is a sample csd. If anyone has any other simple  
>>> drums
>>> please share so I can add them to what I have!
>>>
>>> Rory.
>>>
>>>
>>> 
>>> 
>>> -+rtaudio=alsa -odac:hw:1,0 -idevaudio:hw:1,0
>>> 
>>> 
>>> sr = 44100
>>> nchnls = 2
>>>
>>> instr 1; hihat closed
>>> aamp      expon     1000,  0.1,   p4
>>> arand     rand      aamp
>>> outs arand, arand
>>> endin
>>>
>>> instr 2;snare
>>> aenv1  expon  p4, 0.03, 0.5
>>> a1   oscili aenv1, 147, 1
>>> aamp      expon     1000,  0.2,   10
>>> arand     rand      aamp
>>> outs a1+arand, a1+arand
>>> endin
>>>
>>> instr 3; kick
>>> k1  expon    p4, .2, 50
>>> aenv expon 1, p3, 0.01
>>> a1  poscil    10000, k1, 1
>>> outs a1*aenv, a1*aenv
>>> endin
>>>
>>> 
>>> 
>>> f1 0 1024 10 1
>>>
>>> i1 0      0.25 10
>>> i1 0.25   0.25 10
>>> i1 0.5    0.25 10
>>> i1 0.75   0.25 10
>>> i1 1      0.25 10
>>> i1 1.25   0.25 10
>>> i1 1.5    0.25 10
>>> i1 1.75   0.25 10
>>> i1 2      0.25 10
>>> i1 2.25   0.25 10
>>> i1 2.5    0.25 10
>>> i1 2.75   0.25 10
>>> i1 3      0.25 10
>>> i1 3.25   0.25 10
>>> i1 3.5    0.25 10
>>> i1 3.75   0.25 10
>>>
>>> i2 0.5 1 10000
>>> i2 1.5 1 10000
>>> i2 2.5 1 10000
>>> i2 3.5 1 10000
>>>
>>> i3 0      0.25  100
>>> i3 0.375  0.25  100
>>> i3 0.75   0.25  100
>>> i3 1.25   0.25  100
>>> i3 2      0.25  100
>>> i3 2.375  0.25  100
>>> i3 2.75   0.25  100
>>> i3 3.25   0.25  100
>>> i3 3.75   0.25  100
>>>
>>> 
>>> 
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>           https://sourceforge.net/tracker/? 
>>> group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>>> csound"
>>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-10-14 13:23
FromBrian Redfern
Subject[Csnd] Re: Re: Re: Re: simple drums..

You might also want to have them load some sample based drum sounds as well.

On Oct 14, 2010 3:10 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:

From Risset's catalogue, originally.


On 14 Oct 2010, at 00:23, Rory Walsh wrote:

> à la Dodge/Jerse, I forgot about that one!
>
> On 13...


Date2010-10-14 13:37
FromRory Walsh
Subject[Csnd] Re: Re: Re: Re: Re: simple drums..
The way to course is set up is that we look at 'pure' synthesis in the
first semester and in the second semester we look at manipulating
recorded samples. You'll know when the second semester gets going as
the number of hits to the freesound homepage jumps dramatically!

On 14 October 2010 13:23, Brian Redfern  wrote:
> You might also want to have them load some sample based drum sounds as well.
>
> On Oct 14, 2010 3:10 AM, "Victor Lazzarini" 
> wrote:
>
> From Risset's catalogue, originally.
>
> On 14 Oct 2010, at 00:23, Rory Walsh wrote:
>
>> à la Dodge/Jerse, I forgot about that one!
>>
>> On 13...


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-10-14 13:51
FromAidan Collins
Subject[Csnd] Re: Re: Re: Re: Re: Re: simple drums..
There was a nice series on synthesizing drum sounds in Sound on Sound,
Synth Secrets. I made a .csd based on the article about kick drums.

I had made it originally with some filters, but I commented them out here:

I think it makes a pretty natural kick sound with the filters, and
sounds a bit more techno-drum machine without them.




-o/Applications/MacCsound 1.3b4/drums/kick_short.aif


sr = 48000
kr = 48000
ksmps = 1
nchnls = 2

/*================================
Aidan Collins
4/13/07
================================*/

instr 1

idec = .2
kamp1 = 0dbfs * .9
k1   expseg 1, idec, .0001
k2   expon  1, .05, .0001
kenv expon 1, p3, .0001

kcps = 43 * (k1 + 1)

;noisey bit for hit sound
am   oscili 0dbfs*.5, kcps, 1
ac   oscili 0dbfs*.2, (kcps * 3)*am, 1

;afc  butbp ac, 1000, 750

;bassy bit for body of sound
a1   vco2 kamp1, kcps, 12
;af1  butlp a1, 200

;mixer part
;amixl = af1*kenv + (afc*k2)
;amixr = af1*kenv + (afc*k2)
amixl = ac*k2 + a1*kenv
amixr = ac*k2 + a1*kenv
outs amixl, amixr

endin


f1 0 512 10 1

/*
i1 0 .25
i. + .
i. + .5
i. + 1
i. + 2
*/
/*
i1 0 1
i. + .5
i. + .5
i. + 1
*/

i1 0 .75




On Thu, Oct 14, 2010 at 8:37 AM, Rory Walsh  wrote:
> The way to course is set up is that we look at 'pure' synthesis in the
> first semester and in the second semester we look at manipulating
> recorded samples. You'll know when the second semester gets going as
> the number of hits to the freesound homepage jumps dramatically!
>
> On 14 October 2010 13:23, Brian Redfern  wrote:
>> You might also want to have them load some sample based drum sounds as well.
>>
>> On Oct 14, 2010 3:10 AM, "Victor Lazzarini" 
>> wrote:
>>
>> From Risset's catalogue, originally.
>>
>> On 14 Oct 2010, at 00:23, Rory Walsh wrote:
>>
>>> à la Dodge/Jerse, I forgot about that one!
>>>
>>> On 13...
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-10-14 13:54
FromRory Walsh
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: simple drums..
Great, I'll add that one too!

On 14 October 2010 13:51, Aidan Collins  wrote:
> There was a nice series on synthesizing drum sounds in Sound on Sound,
> Synth Secrets. I made a .csd based on the article about kick drums.
>
> I had made it originally with some filters, but I commented them out here:
>
> I think it makes a pretty natural kick sound with the filters, and
> sounds a bit more techno-drum machine without them.
>
>
> 
> 
> -o/Applications/MacCsound 1.3b4/drums/kick_short.aif
> 
> 
> sr = 48000
> kr = 48000
> ksmps = 1
> nchnls = 2
>
> /*================================
> Aidan Collins
> 4/13/07
> ================================*/
>
> instr 1
>
> idec = .2
> kamp1 = 0dbfs * .9
> k1   expseg 1, idec, .0001
> k2   expon  1, .05, .0001
> kenv expon 1, p3, .0001
>
> kcps = 43 * (k1 + 1)
>
> ;noisey bit for hit sound
> am   oscili 0dbfs*.5, kcps, 1
> ac   oscili 0dbfs*.2, (kcps * 3)*am, 1
>
> ;afc  butbp ac, 1000, 750
>
> ;bassy bit for body of sound
> a1   vco2 kamp1, kcps, 12
> ;af1  butlp a1, 200
>
> ;mixer part
> ;amixl = af1*kenv + (afc*k2)
> ;amixr = af1*kenv + (afc*k2)
> amixl = ac*k2 + a1*kenv
> amixr = ac*k2 + a1*kenv
> outs amixl, amixr
>
> endin
> 
> 
> f1 0 512 10 1
>
> /*
> i1 0 .25
> i. + .
> i. + .5
> i. + 1
> i. + 2
> */
> /*
> i1 0 1
> i. + .5
> i. + .5
> i. + 1
> */
>
> i1 0 .75
> 
>
> 
>
> On Thu, Oct 14, 2010 at 8:37 AM, Rory Walsh  wrote:
>> The way to course is set up is that we look at 'pure' synthesis in the
>> first semester and in the second semester we look at manipulating
>> recorded samples. You'll know when the second semester gets going as
>> the number of hits to the freesound homepage jumps dramatically!
>>
>> On 14 October 2010 13:23, Brian Redfern  wrote:
>>> You might also want to have them load some sample based drum sounds as well.
>>>
>>> On Oct 14, 2010 3:10 AM, "Victor Lazzarini" 
>>> wrote:
>>>
>>> From Risset's catalogue, originally.
>>>
>>> On 14 Oct 2010, at 00:23, Rory Walsh wrote:
>>>
>>>> à la Dodge/Jerse, I forgot about that one!
>>>>
>>>> On 13...
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-10-14 16:19
FromAaron Krister Johnson
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: simple drums..
Rory,

It's also a good idea, IMO, to get them to use 0dbfs, eps. 0dbfs=1, if there's any way to explain it. Makes the amplitude aspects of instruments much simpler!

AKJ

On Thu, Oct 14, 2010 at 7:54 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
Great, I'll add that one too!

On 14 October 2010 13:51, Aidan Collins <mr.aidan.collins@gmail.com> wrote:
> There was a nice series on synthesizing drum sounds in Sound on Sound,
> Synth Secrets. I made a .csd based on the article about kick drums.
>
> I had made it originally with some filters, but I commented them out here:
>
> I think it makes a pretty natural kick sound with the filters, and
> sounds a bit more techno-drum machine without them.
>
>
> <CsoundSynthesizer>
> <CsOptions>
> -o/Applications/MacCsound 1.3b4/drums/kick_short.aif
> </CsOptions>
> <CsInstruments>
> sr = 48000
> kr = 48000
> ksmps = 1
> nchnls = 2
>
> /*================================
> Aidan Collins
> 4/13/07
> ================================*/
>
> instr 1
>
> idec = .2
> kamp1 = 0dbfs * .9
> k1   expseg 1, idec, .0001
> k2   expon  1, .05, .0001
> kenv expon 1, p3, .0001
>
> kcps = 43 * (k1 + 1)
>
> ;noisey bit for hit sound
> am   oscili 0dbfs*.5, kcps, 1
> ac   oscili 0dbfs*.2, (kcps * 3)*am, 1
>
> ;afc  butbp ac, 1000, 750
>
> ;bassy bit for body of sound
> a1   vco2 kamp1, kcps, 12
> ;af1  butlp a1, 200
>
> ;mixer part
> ;amixl = af1*kenv + (afc*k2)
> ;amixr = af1*kenv + (afc*k2)
> amixl = ac*k2 + a1*kenv
> amixr = ac*k2 + a1*kenv
> outs amixl, amixr
>
> endin
> </CsInstruments>
> <CsScore>
> f1 0 512 10 1
>
> /*
> i1 0 .25
> i. + .
> i. + .5
> i. + 1
> i. + 2
> */
> /*
> i1 0 1
> i. + .5
> i. + .5
> i. + 1
> */
>
> i1 0 .75
> </CsScore>
>
> </CsoundSynthesizer>
>
> On Thu, Oct 14, 2010 at 8:37 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
>> The way to course is set up is that we look at 'pure' synthesis in the
>> first semester and in the second semester we look at manipulating
>> recorded samples. You'll know when the second semester gets going as
>> the number of hits to the freesound homepage jumps dramatically!
>>
>> On 14 October 2010 13:23, Brian Redfern <brianwredfern@gmail.com> wrote:
>>> You might also want to have them load some sample based drum sounds as well.
>>>
>>> On Oct 14, 2010 3:10 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>
>>> wrote:
>>>
>>> From Risset's catalogue, originally.
>>>
>>> On 14 Oct 2010, at 00:23, Rory Walsh wrote:
>>>
>>>> à la Dodge/Jerse, I forgot about that one!
>>>>
>>>> On 13...
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2010-10-14 16:37
FromRory Walsh
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: simple drums..
We eventually do move onto using 0dbfs. The reason I start off using
explicit amplitude values is that I think it helps to reinforce what
they recently learned about bit-depth resolution. I like to show how
using amplitudes of more than circa 32000 will cause samples out of
range when using a bit-depth of 16. I guess I should probably just
give a quick demonstration of that and then move on to using 0dbfs
straight away.

Rory.


On 14 October 2010 16:19, Aaron Krister Johnson  wrote:
> Rory,
>
> It's also a good idea, IMO, to get them to use 0dbfs, eps. 0dbfs=1, if
> there's any way to explain it. Makes the amplitude aspects of instruments
> much simpler!
>
> AKJ
>
> On Thu, Oct 14, 2010 at 7:54 AM, Rory Walsh  wrote:
>>
>> Great, I'll add that one too!
>>
>> On 14 October 2010 13:51, Aidan Collins 
>> wrote:
>> > There was a nice series on synthesizing drum sounds in Sound on Sound,
>> > Synth Secrets. I made a .csd based on the article about kick drums.
>> >
>> > I had made it originally with some filters, but I commented them out
>> > here:
>> >
>> > I think it makes a pretty natural kick sound with the filters, and
>> > sounds a bit more techno-drum machine without them.
>> >
>> >
>> > 
>> > 
>> > -o/Applications/MacCsound 1.3b4/drums/kick_short.aif
>> > 
>> > 
>> > sr = 48000
>> > kr = 48000
>> > ksmps = 1
>> > nchnls = 2
>> >
>> > /*================================
>> > Aidan Collins
>> > 4/13/07
>> > ================================*/
>> >
>> > instr 1
>> >
>> > idec = .2
>> > kamp1 = 0dbfs * .9
>> > k1   expseg 1, idec, .0001
>> > k2   expon  1, .05, .0001
>> > kenv expon 1, p3, .0001
>> >
>> > kcps = 43 * (k1 + 1)
>> >
>> > ;noisey bit for hit sound
>> > am   oscili 0dbfs*.5, kcps, 1
>> > ac   oscili 0dbfs*.2, (kcps * 3)*am, 1
>> >
>> > ;afc  butbp ac, 1000, 750
>> >
>> > ;bassy bit for body of sound
>> > a1   vco2 kamp1, kcps, 12
>> > ;af1  butlp a1, 200
>> >
>> > ;mixer part
>> > ;amixl = af1*kenv + (afc*k2)
>> > ;amixr = af1*kenv + (afc*k2)
>> > amixl = ac*k2 + a1*kenv
>> > amixr = ac*k2 + a1*kenv
>> > outs amixl, amixr
>> >
>> > endin
>> > 
>> > 
>> > f1 0 512 10 1
>> >
>> > /*
>> > i1 0 .25
>> > i. + .
>> > i. + .5
>> > i. + 1
>> > i. + 2
>> > */
>> > /*
>> > i1 0 1
>> > i. + .5
>> > i. + .5
>> > i. + 1
>> > */
>> >
>> > i1 0 .75
>> > 
>> >
>> > 
>> >
>> > On Thu, Oct 14, 2010 at 8:37 AM, Rory Walsh  wrote:
>> >> The way to course is set up is that we look at 'pure' synthesis in the
>> >> first semester and in the second semester we look at manipulating
>> >> recorded samples. You'll know when the second semester gets going as
>> >> the number of hits to the freesound homepage jumps dramatically!
>> >>
>> >> On 14 October 2010 13:23, Brian Redfern 
>> >> wrote:
>> >>> You might also want to have them load some sample based drum sounds as
>> >>> well.
>> >>>
>> >>> On Oct 14, 2010 3:10 AM, "Victor Lazzarini" 
>> >>> wrote:
>> >>>
>> >>> From Risset's catalogue, originally.
>> >>>
>> >>> On 14 Oct 2010, at 00:23, Rory Walsh wrote:
>> >>>
>> >>>> à la Dodge/Jerse, I forgot about that one!
>> >>>>
>> >>>> On 13...
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug tracker
>> >>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe csound"
>> >>
>> >>
>> >
>> >
>> > Send bugs reports to the Sourceforge bug tracker
>> >            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> > Discussions of bugs and features can be posted here
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> > csound"
>> >
>> >
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
>
> --
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"