Warning, /education/minuet/src/plugins/csoundsoundcontroller/template_rhythm.csd is written in an unsupported language. File is not indexed.

0001 <CsoundSynthesizer>
0002 <CsOptions>
0003 ; Select audio/midi flags here according to platform
0004 ;;;RT audio out, midi in, note=p4 and velocity=p5
0005 --opcode-lib=/data/data/org.kde.minuet/qt-reserved-files/share/libfluidOpcodes.so
0006 -odac 
0007 ;-+rtmidi=virtual -M0d --midi-key=4 --midi-velocity-amp=5
0008 ;-iadc    ;;;uncomment -iadc if RT audio input is needed too
0009 ; For Non-realtime ouput leave only the line below:
0010 ; -o cpsmidinn.wav -W ;;; for file output any platform
0011 </CsOptions>
0012 <CsInstruments>
0013 
0014 sr = 44100
0015 ksmps = 32
0016 nchnls = 2
0017 0dbfs = 1
0018 
0019 massign 0, 1    ;assign all midi to instr. 1
0020 
0021 instr 1 ;play virtual keyboard
0022 
0023 inote = p4
0024 icps  = cpsmidinn(inote)
0025 asig pluck 0.5, inote, inote*0.81, 1, 3, .5
0026 out asig
0027 print icps
0028 endin
0029 
0030 </CsInstruments>
0031 <CsScore>
0032 </CsScore>
0033 </CsoundSynthesizer>
0034