# ex2C03.py # Midi All In from moduleCsound import * add(startSyn) add(startOpt) add("-+rtmidi=virtual -Ma -odac") add(stopOpt) add(startIns) header(ksmps=32) add(""" instr 1 kStatus, kChan, kData1, kData2 midiin if kStatus != 0 then ;print if any new MIDI message has been received printk 0, kStatus printk 0, kChan printk 0, kData1 printk 0, kData2 endif endin """) tags(2) add("i1 0 3600") tags(3) writeRun(__file__, False)
Thursday, July 13, 2017
ex2C03. Midi All In
Subscribe to:
Post Comments (Atom)
-
# ex1D13.py # Simple Algorithmic Note Generator from moduleCsound import * tags( 1 ) header(ksmps =32 , nch =1 ) # --- global # G...
-
# ex1D10.py # Rejection Sampling from moduleCsound import * tags( 1 ) header(nch =1 ) # --- user defined opcodes add( "...
-
# ex2D02.py # Live Input from moduleCsound import * add(startSyn) add(startOpt) add( "-iadc -odac -B512 -b128" ) add(stop...
No comments:
Post a Comment