; Example written by Matt Ingalls ; run with a commandline something like: ; csound --opcode-lib=serialOpcodes.dylib serialdemo.csd -odac -iadc ;--opcode-lib=serialOpcodes.dylib -odac ksmps = 500 ; the default krate can be too fast for the arduino to handle 0dbfs = 1 instr 1 iPort serialBegin "/COM4", 9600 kVal serialRead iPort printk2 kVal endin i 1 0 3600