Closed carltesta closed 5 years ago
And when I restart ATOM after a force quit I get the following error from the osc-loader:
osc-loader.js? [sm]:105 events.js:173
throw er; // Unhandled 'error' event
^
Error: bind EADDRINUSE 0.0.0.0:57101
at state.handle.lookup (dgram.js:300:18)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
at process.runNextTicks [as _tickCallback] (internal/process/next_tick.js:51:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:804:11)
at internal/main/run_main_module.js:21:11
Emitted 'error' event at:
at state.handle.lookup (dgram.js:301:14)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
[... lines matching original stack trace ...]
at internal/main/run_main_module.js:21:11
@carltesta ctrl + enter runs a block of code (separated by line breaks) make sure you run the line with freq = 10 before running the rest of the code, or combine all of the code into a single block
Of course, so sorry for the simple mistake. I tried CTRL-SHIFT-ENTER to run the whole file, but I think I still got the same error because they weren't in a block. Thank you, I'm excited to try and interface Hydra with SuperCollider via OSC.
When I attempt to run this simplified code:
from the osc.js example I get the following error:
What am I missing?