Csound Csound-dev Csound-tekno Search About

[Csnd] Metronome sound

Date2013-10-30 07:43
FromPhilippe de Rochambeau
Subject[Csnd] Metronome sound
Hello,

I am a Csound newbie and would like to a create a metronome  sound (« tic » sound every second) as a learning exercise.

How would you go about doing that?

Many thanks.

Philroc




Date2013-10-30 07:49
FromNicholas Arner
SubjectRe: [Csnd] Metronome sound
If you're a newbie, I would suggest taking  a look at the Csound FLOSS manuals here:





Sent from my iPhone

On 30 Oct 2013, at 08:43, Philippe de Rochambeau <phiroc@free.fr> wrote:

Hello,

I am a Csound newbie and would like to a create a metronome  sound (« tic » sound every second) as a learning exercise.

How would you go about doing that?

Many thanks.

Philroc




Send bugs reports to the Sourceforge bug trackers
csound6:
           https://sourceforge.net/p/csound/tickets/
csound5:
           https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-10-30 08:24
Fromphiroc@free.fr
SubjectRe: [Csnd] Metronome sound
Thanks Nicholas.

I am already familiar with that manual and various other Csound books.

My question is how do you create a sound that sounds like a metronome tick? What kind of envelope should it have? Should you use additive or subtractive synthesis? etc.

Philippe


----- Mail original -----
De: "Nicholas Arner" 
À: csound@lists.bath.ac.uk
Envoyé: Mercredi 30 Octobre 2013 08:49:15
Objet: Re: [Csnd] Metronome sound


If you're a newbie, I would suggest taking a look at the Csound FLOSS manuals here: 


http://www.flossmanuals.net/csound/ 






Sent from my iPhone 

On 30 Oct 2013, at 08:43, Philippe de Rochambeau < phiroc@free.fr > wrote: 




Hello, 

I am a Csound newbie and would like to a create a metronome sound (« tic » sound every second) as a learning exercise. 

How would you go about doing that? 

Many thanks. 

Philroc 




Send bugs reports to the Sourceforge bug trackers 
csound6: 
https://sourceforge.net/p/csound/tickets/ 
csound5: 
https://sourceforge.net/p/csound/bugs/ 
Discussions of bugs and features can be posted here 
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" 




Date2013-10-30 08:44
Fromzappfinger
Subject[Csnd] Re: Metronome sound
Csound also has some physical modelling instruments. Maybe there is something
like a claves or woodblock?

I also found this interesting link:

http://www.adp-gmbh.ch/csound/synth_secret.html

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/Metronome-sound-tp5728878p5728882.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-10-30 08:53
Fromphiroc@free.fr
SubjectRe: [Csnd] Re: Metronome sound
Richard,

you've literally read my mind.

I have just read this book: http://www.amazon.com/Geometry-Musical-Rhythm-What-Makes/dp/1466512024/ref=sr_1_1?s=books&ie=UTF8&qid=1383122987&sr=1-1&keywords=analysis+of+musical+rhythm, and would like to reproduce various Latin rythms with Csound to hear how they sound (and learn a bit of Csound).


Many thanks.

Philippe





----- Mail original -----
De: "zappfinger" 
À: csound@lists.bath.ac.uk
Envoyé: Mercredi 30 Octobre 2013 09:44:33
Objet: [Csnd] Re: Metronome sound

Csound also has some physical modelling instruments. Maybe there is something
like a claves or woodblock?

I also found this interesting link:

http://www.adp-gmbh.ch/csound/synth_secret.html

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/Metronome-sound-tp5728878p5728882.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-10-30 16:04
FromTito Latini
SubjectRe: [Csnd] Metronome sound
AttachmentsNone  

Date2013-10-30 16:46
FromSteven Yi
SubjectRe: [Csnd] Metronome sound
Great sounds everyone, thanks for sharing!

On Wed, Oct 30, 2013 at 12:04 PM, Tito Latini  wrote:
> On Wed, Oct 30, 2013 at 08:43:41AM +0100, Philippe de Rochambeau wrote:
>> Hello,
>>
>> I am a Csound newbie and would like to a create a metronome  sound (« tic » sound every second) as a learning exercise.
>>
>> How would you go about doing that?
>
> Hello,
>
> often I use a filtered train of impulses when I dance a waltz
>
> 
> 
>
> sr = 48000
> ksmps = 64
> nchnls = 2
> 0dbfs = 1
>
> instr 1
>   iamp = ampdb(p7-12)
>   ibps = round(6000/p4)*.01
>
>   atac mpulse iamp, ibps*p5
>   acotral mpulse iamp, ibps
>   ametro resonz atac+acotral, p6, p6*.01
>   out ametro, ametro
> endin
>
> 
> 
> ;;   at  dur   bpm   measure   freq   amp
> i1   0   123   138      3      3210   -6
> 
> 
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Date2013-10-30 17:38
FromEnrico Francioni
Subject[Csnd] Re: Metronome sound
…this is a metronome by Matt Ingalls (examples of MacCsound)




 

nchnls = 2


instr click
	iamp = p4*0dbfs
	icps = p5
	ipan = p6
	kcps = icps

	kamp line iamp, p3, 0
	aout1 pluck	kamp, kcps, icps, 0, 1

	outs aout1*ipan, aout1*(1-ipan)
endin


instr metronome
	kcount init 0
	kpan init 0
	
	ktempo invalue "tempo"
	kpit invalue "pitch"
	kdur invalue "dur"

	kgain invalue "amp"
	ktime = kr*60/ktempo

	if (kcount > ktime) then
		event "i", "click", 0, kdur, kgain, kpit, kpan
		kcount = 0
		kpan = (kpan == 0 ? 1 : 0)
	else
		kcount = kcount + 1
	endif

	kcurtime = kcount/ktime
	outvalue "meter1", (kpan == 0 ? 1 - kcurtime : kcurtime )
	outvalue "meter2", (kpan == 1 ? 1 - kcurtime : kcurtime )

endin




i "metronome" 0 9999









--
View this message in context: http://csound.1045644.n5.nabble.com/Metronome-sound-tp5728878p5728900.html
Sent from the Csound - General mailing list archive at Nabble.com.