examples/oscbundle.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsOptions> |
| 3 | -odac |
| 4 | </CsOptions> |
| 5 | <CsInstruments> |
| 6 | |
| 7 | instr 1 |
| 8 | Sdest[] init 2 |
| 9 | Stype[] init 2 |
| 10 | kdata[][] init 2, 2 |
| 11 | |
| 12 | Sdest[0] = "/test/floats" |
| 13 | Sdest[1] = "/test/ints" |
| 14 | Stype[0] = "ff" |
| 15 | Stype[1] = "ii" |
| 16 | |
| 17 | kdata fillarray 1,2,3,4 |
| 18 | |
| 19 | OSCbundle 1, "localhost", 7000, Sdest, Stype, kdata |
| 20 | endin |
| 21 | |
| 22 | </CsInstruments> |
| 23 | <CsScore> |
| 24 | i1 0 1 |
| 25 | </CsScore> |
| 26 | </CsoundSynthesizer> |