Csound Csound-dev Csound-tekno Search About

Re: [Csnd] metro based drums

Date2025-09-11 02:53
FromLuq Tas <00000fa7b5cfaa13-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] metro based drums
well, since i created this post; there's any way of having all of this in a single instrument? or are separated ways always better?

instr 1
; f100 0 8 2  1 1 1 1 1 -1 -1 -1
;1 str dur trig dur amp note edo rept base
ktrig metro p4
if (ktrig == 1) then
event "i", 10, p2, p5, p6, p7, p8, p9, p10
endif
endin

instr 10
; http://www.adp-gmbh.ch/csound/instruments/simple_drum.html
; f100 0 8 2  1 1 1 1 1 -1 -1 -1
icps cpsxpch p5, p6, p7, p8
a1 pluck p4, icps, icps, 100, 3, .5
out a1
endin

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2025-09-11 06:49
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] metro based drums
you can trigger an instrument itself recursively

instr 1
 out(expon(1, p3, 0.001)*rand(p4))
 schedule(1, 0.1, 0.3, 0.2)
endin
schedule(1,0,0.3,0.2)


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 11 Sep 2025, at 02:53, Luq Tas <00000fa7b5cfaa13-dmarc-request@listserv.heanet.ie> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> well, since i created this post; there's any way of having all of this in a single instrument? or are separated ways always better?
>
> instr 1
> ; f100 0 8 2  1 1 1 1 1 -1 -1 -1
> ;1 str dur trig dur amp note edo rept base
> ktrig metro p4
> if (ktrig == 1) then
> event "i", 10, p2, p5, p6, p7, p8, p9, p10
> endif
> endin
>
> instr 10
> ; http://www.adp-gmbh.ch/csound/instruments/simple_drum.html
> ; f100 0 8 2  1 1 1 1 1 -1 -1 -1
> icps cpsxpch p5, p6, p7, p8
> a1 pluck p4, icps, icps, 100, 3, .5
> out a1
> endin
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here