1.0.2 • Published 7 years ago

csound-udp v1.0.2

Weekly downloads
4
License
GPL-3.0
Repository
github
Last release
7 years ago

Useage

const csound_udp = require('csound_udp');

//This starts a csound instance on port 6006 (optional)
csound_udp.spawnCsound(6006);

//use compileOrc to evaluate orchestra code
//port number is mandatory
csound_udp.compileOrc(`
    instr 2
     aout2 vco2 0.2, p4
     outs aout2/16, aout2/16
    endin
`, 6006);


//send score event with inputMessage as string
//port number is mandatory
csound_udp.inputMessage(`i2 0 1 440`, 6006);

Requirements

  • Csound 6.10 or later
  • Only works with nodejs
1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago