| Both instances are playing here. It’s hard to hear because they’re the same pitch class, but
if you change it to an interval other than the octave you will hear it
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952
> On 11 Oct 2018, at 14:00, fauveboy wrote:
>
> With the program below, I was expecting two instances of prepiano to play
> simultaneously. Why does it only play the second note? I hoping to play a
> chord from the instrument?
>
> Many thanks
>
>
>
>
> ; Select audio/midi flags here according to platform
> -odac ;;;realtime audio out
> ;-iadc ;;;uncomment -iadc if real audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ; -o prepiano.wav -W ;;; for file output any platform
>
>
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> instr 1
>
> ifreq = cpspch(p4)
> iamp = p5
>
>
>
>
> ;;
> FRQ4|NO.STR5|DTUN6|STIF7|DCAY8|HIFRQ9|MASS10|HMFQ11|HMPOS|STPOS| VEL |sFRQ
> | scn |
> aa, ab prepiano ifreq, p6, p7, p8, p9, p10, p11, p12, p13,
> p14, p15, p16, p17, p18, p19
>
>
> outs aa*3.5, ab*3.5
>
> endin
>
>
> ;f10 0 8 2 1 0.6 10 100 0.001 ;; 1 rattle
> ;f11 0 8 2 1 0.7 50 500 1000 ;; 1 rubber
>
> ; INS STR DUR ;FRQ4 AMP5
> i 1 1 1 8.12 5
>
> ;NO.STR6 DTUN7 STIF8 DCAY9 HIFQDCAY10
> 3 10 1 3 0.002
>
> ;MAS11 HMFQ12 HMPOS13 STRPOS14 VEL15
> 2 2 1 5000 -0.01
>
> ;SCFRQ SCREAD RATTLE RUBBER
> 0.09 40 0 0.5
>
>
>
> ; INS STR DUR ;FRQ4 AMP5
> i 1 1 1 6.12 5
>
> ;NO.STR6 DTUN7 STIF8 DCAY9 HIFQDCAY10
> 3 10 1 3 0.002
>
> ;MAS11 HMFQ12 HMPOS13 STRPOS14 VEL15
> 2 2 1 5000 -0.01
>
> ;SCFRQ SCREAD RATTLE RUBBER
> 0.09 40 0 0.5
>
>
>
>
> e
>
>
>
>
>
>
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>
> 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
|