Browse Source

Can get sine wave from supercollider

tags/kitchen
Pete Shadbolt 3 years ago
parent
commit
2340e94828
3 changed files with 8 additions and 1 deletions
  1. +3
    -0
      README.md
  2. +1
    -1
      osc.scd
  3. +4
    -0
      sine.scd

+ 3
- 0
README.md View File

@@ -1 +1,4 @@
# Radio

`python radio.py`
`sclang sine.scd`

audio.sc → osc.scd View File

@@ -1,4 +1,4 @@
thisProcess.openUDPPort(5005);
n = NetAddr.new("0.0.0.0", 5005)
o = OSCFunc({ arg msg, time, addr, recvPort; [msg, time, addr, recvPort].postln; }, '/block', n);
OSCFunc.trace(true);
OSCFunc.trace(true);

+ 4
- 0
sine.scd View File

@@ -0,0 +1,4 @@
s = Server.local;
s.waitForBoot {
{ SinOsc.ar() }.play;
};

Loading…
Cancel
Save