Skip to content

Instantly share code, notes, and snippets.

@duhaime
Last active October 20, 2021 16:09
Show Gist options
  • Save duhaime/4052a44655b414f6c6e72bdb5446bfa6 to your computer and use it in GitHub Desktop.
Save duhaime/4052a44655b414f6c6e72bdb5446bfa6 to your computer and use it in GitHub Desktop.
Communication between supercollider and python via osc. Just run `python osc_music.py` and the `supercollider_music`
import time
import socket
for pings in range(10):
client_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
client_socket.settimeout(1.0)
message = b'test'
addr = ("127.0.0.1", 12000)
start = time.time()
client_socket.sendto(message, addr)
try:
data, server = client_socket.recvfrom(1024)
end = time.time()
elapsed = end - start
print(f'{data} {pings} {elapsed}')
except socket.timeout:
print('REQUEST TIMED OUT')
from pythonosc import udp_client
import argparse
import random
import time
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--ip", default="127.0.0.1", help="The ip of the OSC server")
parser.add_argument("--port", type=int, default=3335, help="The port the OSC server is listening on")
args = parser.parse_args()
client = udp_client.SimpleUDPClient(args.ip, args.port)
while True:
client.send_message("/SC", random.random())
time.sleep(1)
from pythonosc import udp_client
import argparse
import random
import time
# midi
s = '''START n36_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.125 n79_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 n79_0.25 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n52_0.0625 w0.25 n55_0.125 n76_0.125 w0.25 n60_0.0625 w0.25 n74_0.25 w0.25 n53_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 n67_0.25 w0.25 n53_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n72_0.25 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.125 n76_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 n48_0.0625 w0.25 n36_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.125 n79_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 n79_0.25 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n52_0.0625 w0.25 n55_0.125 n76_0.125 w0.25 n60_0.0625 w0.25 n74_0.25 w0.25 n53_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 n67_0.25 w0.25 n53_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n72_0.125 w0.5 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n62_0.0625 w0.25 n60_0.0625 n43_0.0625 w0.25 n59_0.125 n31_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.125 n77_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 n77_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n55_0.0625 w0.25 n59_0.125 n74_0.125 w0.25 n67_0.0625 w0.25 n76_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n72_0.25 w0.25 n55_0.0625 w0.25 n64_0.0625 w0.25 n67_0.0625 w0.25 n71_0.25 w0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n74_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 n43_0.0625 w0.25 n31_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.125 n77_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 n77_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n55_0.0625 w0.25 n59_0.125 n74_0.125 w0.25 n67_0.0625 w0.25 n75_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n72_0.25 w0.25 n55_0.0625 w0.25 n63_0.0625 w0.25 n67_0.0625 w0.25 n71_0.25 w0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n74_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n76_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n72_0.25 w0.25 n55_0.0625 w0.25 n64_0.0625 w0.25 n67_0.0625 w0.25 n71_0.25 w0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n74_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n75_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n72_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n57_0.0625 w0.25 n60_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n71_0.0625 w0.25 n69_0.0625 w0.25 n66_0.0625 w0.25 n67_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n71_0.0625 w0.25 n74_0.0625 w0.25 n72_0.0625 w0.25 n69_0.0625 w0.25 n71_0.0625 w0.25 n67_0.0625 w0.25 n71_0.0625 w0.25 n74_0.0625 w0.25 n79_0.0625 w0.25 n83_0.0625 w0.25 n81_0.0625 w0.25 n78_0.0625 w0.25 n79_0.0625 w0.25 n83_0.0625 w0.25 n81_0.0625 w0.25 n84_0.0625 w0.25 n83_0.0625 w0.25 n86_0.0625 w0.25 n85_0.0625 w0.25 n88_0.0625 w0.25 n86_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n91_0.0625 w0.25 n89_0.0625 w0.25 n93_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n86_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n91_0.0625 w0.25 n89_0.0625 w0.25 n93_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n86_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n84_0.0625 w0.25 n83_0.0625 w0.25 n86_0.0625 w0.25 n84_0.0625 w0.25 n81_0.0625 w0.25 n79_0.0625 w0.25 n83_0.0625 w0.25 n81_0.0625 w0.25 n77_0.0625 w0.25 n76_0.0625 w0.25 n79_0.0625 w0.25 n77_0.0625 w0.25 n74_0.0625 w0.25 n72_0.0625 n36_0.0625 w0.25 n43_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n91_0.0625 n79_0.0625 n55_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n91_0.25 n79_0.25 n60_0.0625 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n55_0.0625 w0.25 n88_0.0625 n76_0.0625 n60_0.0625 w0.25 n64_0.0625 w0.25 n86_0.25 n74_0.25 n65_0.0625 w0.25 n64_0.0625 w0.25 n62_0.0625 w0.25 n60_0.0625 w0.25 n79_0.25 n67_0.25 n59_0.0625 w0.25 n57_0.0625 w0.25 n55_0.0625 w0.25 n53_0.0625 w0.25 n84_0.25 n72_0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n88_0.0625 n76_0.0625 n43_0.0625 w0.25 n48_0.0625 w0.25 n40_0.0625 w0.25 n43_0.0625 w0.25 n36_0.0625 w0.25 n43_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n91_0.0625 n79_0.0625 n55_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n91_0.25 n79_0.25 n60_0.0625 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n55_0.0625 w0.25 n88_0.0625 n76_0.0625 n60_0.0625 w0.25 n64_0.0625 w0.25 n86_0.25 n74_0.25 n65_0.0625 w0.25 n64_0.0625 w0.25 n62_0.0625 w0.25 n60_0.0625 w0.25 n79_0.25 n67_0.25 n59_0.0625 w0.25 n55_0.0625 w0.25 n57_0.0625 w0.25 n59_0.0625 w0.25 n84_0.0625 n72_0.0625 n60_0.0625 w0.25 n59_0.0625 w0.25 n57_0.0625 w0.25 n55_0.0625 w0.25 n53_0.0625 w0.25 n52_0.0625 w0.25 n50_0.0625 w0.25 n48_0.0625 w0.25 n43_0.0625 w0.25 n47_0.0625 w0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n89_0.0625 n77_0.0625 n47_0.0625 w0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n89_0.25 n77_0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n86_0.0625 n74_0.0625 n62_0.0625 w0.25 n67_0.0625 w0.25 n88_0.25 n76_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n60_0.0625 w0.25 n84_0.25 n72_0.25 n55_0.0625 w0.25 n64_0.0625 w0.25 n67_0.0625 w0.25 n64_0.0625 w0.25 n83_0.25 n71_0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n62_0.0625 w0.25 n86_0.0625 n74_0.0625 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n59_0.0625 w0.25 n43_0.0625 w0.25 n47_0.0625 w0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n89_0.0625 n77_0.0625 n47_0.0625 w0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n89_0.25 n77_0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n86_0.0625 n74_0.0625 n62_0.0625 w0.25 n67_0.0625 w0.25 n87_0.25 n75_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n60_0.0625 w0.25 n84_0.25 n72_0.25 n55_0.0625 w0.25 n63_0.0625 w0.25 n67_0.0625 w0.25 n63_0.0625 w0.25 n83_0.25 n71_0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n62_0.0625 w0.25 n86_0.25 n74_0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n59_0.0625 w0.25 n88_0.25 n76_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n60_0.0625 w0.25 n84_0.25 n72_0.25 n55_0.0625 w0.25 n64_0.0625 w0.25 n67_0.0625 w0.25 n64_0.0625 w0.25 n83_0.25 n71_0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n62_0.0625 w0.25 n86_0.25 n74_0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n59_0.0625 w0.25 n87_0.25 n75_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n60_0.0625 w0.25 n84_0.25 n72_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n60_0.0625 w0.25 n79_0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n59_0.0625 w0.25 n79_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n60_0.0625 w0.25 n81_0.0625 n55_0.0625 n79_0.0625 w0.25 n59_0.0625 n81_0.0625 w0.25 n79_0.0625 n62_0.0625 n81_0.0625 w0.25 n59_0.0625 n79_0.0625 w0.25 n81_0.0625 n55_0.0625 n79_0.0625 w0.25 n60_0.0625 n81_0.0625 w0.25 n79_0.0625 n64_0.0625 n81_0.0625 w0.25 n60_0.0625 n79_0.0625 w0.25 n81_0.0625 n55_0.0625 n79_0.0625 w0.25 n59_0.0625 n81_0.0625 w0.25 n79_0.0625 n62_0.0625 n81_0.0625 w0.25 n59_0.0625 n79_0.0625 w0.25 n81_0.0625 n55_0.0625 n79_0.0625 w0.25 n57_0.0625 n81_0.0625 w0.25 n79_0.0625 n60_0.0625 n81_0.0625 w0.25 n57_0.0625 n79_0.0625 w0.25 n81_0.0625 n55_0.0625 n79_0.0625 w0.25 n59_0.0625 n81_0.0625 w0.25 n79_0.0625 n57_0.0625 n81_0.0625 w0.25 n55_0.0625 n79_0.0625 w0.25 n81_0.0625 n53_0.0625 n79_0.0625 w0.25 n57_0.0625 n81_0.0625 w0.25 n79_0.0625 n55_0.0625 n81_0.0625 w0.25 n53_0.0625 n79_0.0625 w0.25 n81_0.0625 n52_0.0625 n79_0.0625 w0.25 n55_0.0625 n81_0.0625 w0.25 n79_0.0625 n53_0.0625 n81_0.0625 w0.25 n52_0.0625 n79_0.0625 w0.25 n81_0.0625 n50_0.0625 n79_0.0625 w0.25 n53_0.0625 n81_0.0625 w0.25 n79_0.0625 n52_0.0625 n81_0.0625 w0.25 n50_0.0625 n79_0.0625 w0.25 n81_0.0625 n79_0.0625 n36_0.0625 n48_0.0625 n79_0.0625 w0.25 n50_0.0625 n81_0.0625 n52_0.0625 w0.25 n79_0.0625 n53_0.0625 n55_0.0625 n81_0.0625 w0.25 n57_0.0625 n79_0.0625 n59_0.0625 w0.25 n81_0.0625 n60_0.0625 n79_0.0625 n91_0.0625 n60_0.0625 n79_0.0625 w0.25 n62_0.0625 n81_0.0625 n64_0.0625 w0.25 n79_0.0625 n65_0.0625 n67_0.0625 n81_0.0625 w0.25 n69_0.0625 n79_0.0625 n71_0.0625 w0.25 n81_0.0625 n72_0.0625 n79_0.0625 n91_0.25 w0.25 n71_0.0625 n81_0.0625 w0.25 n79_0.0625 n69_0.0625 n81_0.0625 w0.25 n67_0.0625 n79_0.0625 w0.25 n81_0.0625 n65_0.0625 n79_0.0625 w0.25 n64_0.0625 n81_0.0625 w0.25 n79_0.0625 n62_0.0625 n81_0.0625 n88_0.0625 n81_0.0625 w0.25 n60_0.0625 n79_0.0625 w0.25 n81_0.0625 n59_0.0625 n79_0.0625 n86_0.25 w0.25 n60_0.0625 n81_0.0625 w0.25 n79_0.0625 n59_0.0625 n81_0.0625 w0.25 n57_0.0625 n79_0.0625 w0.25 n81_0.0625 n79_0.0625 n55_0.0625 w0.25 n79_0.0625 n81_0.0625 n53_0.0625 n81_0.0625 w0.25 n79_0.0625 n81_0.0625 n52_0.0625 n81_0.0625 w0.25 n50_0.0625 n79_0.0625 w0.25 n81_0.0625 n48_0.0625 n79_0.0625 n84_0.25 w0.25 n48_0.0625 n81_0.0625 w0.25 n79_0.0625 n47_0.0625 n81_0.0625 w0.25 n45_0.0625 n79_0.0625 w0.25 n81_0.0625 n43_0.0625 n79_0.0625 n88_0.0625 n79_0.0625 w0.25 n41_0.0625 n81_0.0625 w0.25 n79_0.0625 n40_0.0625 n81_0.0625 w0.25 n38_0.0625 n79_0.0625 w0.25 n81_0.0625 n79_0.0625 n36_0.0625 n48_0.0625 n79_0.0625 w0.25 n50_0.0625 n81_0.0625 n52_0.0625 w0.25 n79_0.0625 n53_0.0625 n55_0.0625 n81_0.0625 w0.25 n57_0.0625 n79_0.0625 n59_0.0625 w0.25 n81_0.0625 n60_0.0625 n79_0.0625 n91_0.0625 n60_0.0625 n79_0.0625 w0.25 n62_0.0625 n81_0.0625 n64_0.0625 w0.25 n79_0.0625 n65_0.0625 n67_0.0625 n81_0.0625 w0.25 n69_0.0625 n79_0.0625 n71_0.0625 w0.25 n81_0.0625 n72_0.0625 n79_0.0625 n91_0.25 w0.25 n71_0.0625 n81_0.0625 w0.25 n79_0.0625 n69_0.0625 n81_0.0625 w0.25 n67_0.0625 n79_0.0625 w0.25 n81_0.0625 n65_0.0625 n79_0.0625 w0.25 n64_0.0625 n81_0.0625 w0.25 n79_0.0625 n62_0.0625 n81_0.0625 n88_0.0625 n81_0.0625 w0.25 n60_0.0625 n79_0.0625 w0.25 n81_0.0625 n59_0.0625 n79_0.0625 n86_0.25 w0.25 n60_0.0625 n81_0.0625 w0.25 n79_0.0625 n59_0.0625 n81_0.0625 w0.25 n57_0.0625 n79_0.0625 w0.25 n81_0.0625 n79_0.0625 n55_0.0625 w0.25 n79_0.0625 n81_0.0625 n53_0.0625 n81_0.0625 w0.25 n79_0.0625 n78_0.0625 n52_0.0625 n78_0.0625 w0.25 n50_0.0625 n79_0.0625 w0.25 n84_0.125 n48_0.125 w0.5 n36_0.125 w0.5 n60_0.0625 n64_0.0625 w0.3333 n60_0.0625 n55_0.0625 w0.1667 n36_0.0625 n48_0.0625 n52_0.0625 w0.25 n55_0.0625 n60_0.0625 w0.5 n65_0.0625 n60_0.0625 w0.25 n57_0.0625 n53_0.0625 n36_0.0625 n48_0.0625 n53_0.0625 w0.25 n57_0.0625 n60_0.0625 w0.5 n64_0.0625 n60_0.0625 w0.25 n55_0.0625 n52_0.0625 n36_0.0625 n48_0.0625 n52_0.0625 w0.25 n55_0.0625 n60_0.0625 w0.5 n62_0.0625 n60_0.0625 w0.25 n53_0.0625 n50_0.0625 n36_0.0625 n48_0.0625 n50_0.0625 w0.25 n53_0.0625 n60_0.0625 w0.5 n63_0.0625 n60_0.0625 w0.25 n54_0.0625 n51_0.0625 n36_0.0625 n48_0.0625 n51_0.0625 w0.25 n54_0.0625 n60_0.0625 w0.5 n64_0.0625 n60_0.0625 w0.25 n55_0.0625 n52_0.0625 n36_0.0625 n48_0.0625 n52_0.0625 w0.25 n55_0.0625 n59_0.0625 w0.5 n62_0.0625 n59_0.0625 w0.25 n53_0.0625 n50_0.0625 n36_0.0625 n48_0.0625 n50_0.0625 w0.25 n53_0.0625 n55_0.0625 w0.5 n60_0.0625 n55_0.0625 w0.25 n52_0.0625 n48_0.0625 n36_0.0625 n48_0.0625 w0.25 n52_0.0625 n64_0.0625 w0.5 n67_0.0625 n64_0.0625 w0.25 n60_0.0625 n55_0.0625 n48_0.0625 n40_0.0625 n52_0.0625 n55_0.0625 w0.25 n60_0.0625 n65_0.0625 w0.5 n69_0.0625 n65_0.0625 w0.25 n60_0.0625 n57_0.0625 n48_0.0625 n41_0.0625 n53_0.0625 n57_0.0625 w0.25 n60_0.0625 n64_0.0625 w0.5 n67_0.0625 n64_0.0625 w0.25 n60_0.0625 n55_0.0625 n48_0.0625 n40_0.0625 n52_0.0625 n55_0.0625 w0.25 n60_0.0625 n62_0.0625 w0.5 n65_0.0625 n62_0.0625 w0.25 n60_0.0625 n53_0.0625 n48_0.0625 n38_0.0625 n50_0.0625 n53_0.0625 w0.25 n60_0.0625 n63_0.0625 w0.5 n66_0.0625 n63_0.0625 w0.25 n60_0.0625 n54_0.0625 n48_0.0625 n39_0.0625 n51_0.0625 n54_0.0625 w0.25 n60_0.0625 n64_0.0625 w0.5 n67_0.0625 n64_0.0625 w0.25 n60_0.0625 n55_0.0625 n48_0.0625 n40_0.0625 n52_0.0625 n55_0.0625 w0.25 n60_0.0625 n62_0.0625 w0.5 n65_0.0625 n62_0.0625 w0.25 n59_0.0625 n53_0.0625 n48_0.0625 n38_0.0625 n50_0.0625 n53_0.0625 w0.25 n59_0.0625 n60_0.0625 w0.5 n64_0.0625 n60_0.0625 w0.25 n52_0.0625 n64_0.0625 n36_0.0625 n48_0.0625 n64_0.0625 w0.25 n52_0.0625 n40_0.0625 w0.5 n52_0.0625 n64_0.0625 w0.25 n40_0.0625 n52_0.0625 w0.25 n64_0.0625 n33_0.0625 n45_0.0625 w0.5 n57_0.0625 n69_0.0625 w0.25 n35_0.0625 n47_0.0625 n59_0.0625 w0.25 n71_0.0625 n36_0.0625 n48_0.0625 w0.5 n60_0.0625 n72_0.0625 w0.25 n38_0.0625 n50_0.0625 n62_0.0625 w0.25 n74_0.0625 n76_0.0625 w0.25 n40_0.25 n52_0.25 w0.25 n64_0.0625 n76_0.0625 w0.25 n64_0.0625 n76_0.0625 w0.25 n64_0.0625 n40_0.0625 n52_0.0625 w0.5 n64_0.0625 n76_0.0625 w0.25 n38_0.0625 n50_0.0625 n62_0.0625 w0.25 n74_0.0625 n36_0.0625 n48_0.0625 w0.5 n60_0.0625 n72_0.0625 w0.25 n35_0.0625 n47_0.0625 n59_0.0625 w0.25 n71_0.0625 n36_0.0625 n48_0.0625 w0.25 n60_0.0625 n72_0.0625 w0.5 n33_0.0625 n45_0.0625 n57_0.0625 w0.25 n69_0.0625 n64_0.0625 w0.25 n40_0.25 w0.25 n52_0.0625 n64_0.0625 w0.25 n52_0.0625 n64_0.0625 w0.25 n52_0.0625 n40_0.0625 n52_0.0625 w0.5 n64_0.0625 n76_0.0625 w0.25 n40_0.0625 n52_0.0625 n64_0.0625 w0.25 n74_0.0625 n45_0.0625 n57_0.0625 w0.5 n69_0.0625 n81_0.0625 w0.25 n47_0.0625 n59_0.0625 n71_0.0625 w0.25 n83_0.0625 n48_0.0625 n60_0.0625 w0.5 n72_0.0625 n84_0.0625 w0.25 n50_0.0625 n62_0.0625 n74_0.0625 w0.25 n86_0.0625 n88_0.0625 w0.25 n52_0.25 n64_0.25 w0.25 n76_0.0625 n88_0.0625 w0.25 n76_0.0625 n88_0.0625 w0.25 n76_0.0625 n52_0.0625 n64_0.0625 w0.5 n76_0.0625 n88_0.0625 w0.25 n50_0.0625 n62_0.0625 n74_0.0625 w0.25 n86_0.0625 n48_0.0625 n60_0.0625 w0.5 n72_0.0625 n84_0.0625 w0.25 n47_0.0625 n59_0.0625 n71_0.0625 w0.25 n83_0.0625 n48_0.0625 n60_0.0625 w0.25 n72_0.0625 n84_0.0625 w0.5 n45_0.0625 n57_0.0625 n69_0.0625 w0.25 n81_0.0625 n76_0.0625 w0.25 n40_0.25 n52_0.25 w0.25 n64_0.0625 n76_0.0625 w0.25 n64_0.0625 n76_0.0625 w0.25 n64_0.0625 n81_0.0625 n41_0.0625 n45_0.0625 n53_0.0625 w0.5 n69_0.0625 n81_0.0625 w0.25 n69_0.0625 n41_0.0625 n45_0.0625 n53_0.0625 n81_0.0625 w0.25 n69_0.0625 n81_0.0625 n40_0.0625 n45_0.0625 n52_0.0625 w0.5 n69_0.0625 n81_0.0625 w0.25 n69_0.0625 n40_0.0625 n45_0.0625 n52_0.0625 n81_0.0625 w0.25 n69_0.0625 n81_0.0625 n38_0.0625 n45_0.0625 n50_0.0625 w0.5 n69_0.0625 n81_0.0625 w0.25 n69_0.0625 n38_0.0625 n45_0.0625 n50_0.0625 n81_0.0625 w0.25 n69_0.0625 n81_0.0625 n36_0.0625 n45_0.0625 n48_0.0625 w0.5 n69_0.0625 n81_0.0625 w0.25 n69_0.0625 n36_0.0625 n45_0.0625 n48_0.0625 n81_0.0625 w0.25 n69_0.0625 n77_0.0625 n38_0.0625 n45_0.0625 n50_0.0625 w0.5 n79_0.0625 n81_0.0625 w0.25 n77_0.0625 n38_0.0625 n45_0.0625 n50_0.0625 n76_0.0625 w0.25 n74_0.0625 n72_0.0625 n40_0.0625 n45_0.0625 n52_0.0625 w0.5 n74_0.0625 n76_0.0625 w0.25 n72_0.0625 n40_0.0625 n52_0.0625 n71_0.0625 w0.25 n69_0.0625 n71_0.0625 n40_0.0625 n52_0.0625 w0.5 n72_0.0625 n74_0.0625 w0.25 n71_0.0625 n40_0.0625 n52_0.0625 n69_0.0625 w0.25 n68_0.0625 n69_0.0625 n36_0.0625 w0.5 n57_0.0625 n45_0.0625 n69_0.0625 w0.25 n57_0.0625 n44_0.0625 n69_0.0625 w0.25 n45_0.0625 n57_0.0625 w0.25 n69_0.0625 n41_0.0625 n57_0.0625 w0.25 n45_0.0625 n69_0.0625 w0.25 n57_0.0625 n44_0.0625 n69_0.0625 w0.25 n45_0.0625 n57_0.0625 w0.25 n69_0.0625 n40_0.0625 n57_0.0625 w0.25 n45_0.0625 n69_0.0625 w0.25 n57_0.0625 n44_0.0625 n69_0.0625 w0.25 n45_0.0625 n57_0.0625 w0.25 n69_0.0625 n38_0.0625 n57_0.0625 w0.25 n45_0.0625 n69_0.0625 w0.25 n57_0.0625 n44_0.0625 n69_0.0625 w0.25 n45_0.0625 n57_0.0625 w0.25 n69_0.0625 n36_0.0625 n57_0.0625 w0.25 n45_0.0625 n69_0.0625 w0.25 n57_0.0625 n44_0.0625 n69_0.0625 w0.25 n45_0.0625 n57_0.0625 w0.25 n65_0.0625 n38_0.0625 n67_0.0625 w0.25 n45_0.0625 n69_0.0625 w0.25 n65_0.0625 n38_0.0625 n64_0.0625 w0.25 n45_0.0625 n62_0.0625 w0.25 n60_0.0625 n40_0.0625 n62_0.0625 w0.25 n45_0.0625 n64_0.0625 w0.25 n60_0.0625 n40_0.0625 n59_0.0625 w0.25 n52_0.0625 n57_0.0625 w0.25 n59_0.0625 n40_0.0625 n60_0.0625 w0.25 n52_0.0625 n62_0.0625 w0.25 n59_0.0625 n40_0.0625 n57_0.0625 w0.25 n52_0.0625 n56_0.0625 w0.25 n57_0.0625 n45_0.0625 w0.25 n52_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n88_0.0625 n76_0.0625 n45_0.0625 n47_0.0625 w0.25 n52_0.0625 w0.25 n88_0.0625 n76_0.0625 n45_0.0625 n50_0.0625 w0.25 n52_0.0625 w0.25 n76_0.0625 n64_0.0625 n45_0.0625 n48_0.0625 w0.25 n52_0.0625 w0.25 n76_0.0625 n64_0.0625 n45_0.0625 n48_0.0625 w0.25 n52_0.0625 w0.25 n64_0.0625 n76_0.0625 n45_0.0625 n47_0.0625 w0.25 n52_0.0625 w0.25 n68_0.0625 n80_0.0625 n45_0.0625 n50_0.0625 w0.25 n52_0.0625 w0.25 n69_0.25 n81_0.25 n45_0.0625 n48_0.0625 w0.25 n57_0.0625 w0.25 n52_0.0625 w0.25 n57_0.0625 w0.25 n83_0.0625 n45_0.0625 n50_0.0625 w0.25 n86_0.0625 n56_0.0625 w0.25 n84_0.0625 n52_0.0625 w0.25 n83_0.0625 n56_0.0625 w0.25 n84_0.0625 n45_0.0625 n48_0.0625 w0.25 n88_0.0625 n57_0.0625 w0.25 n86_0.0625 n52_0.0625 w0.25 n84_0.0625 n57_0.0625 w0.25 n83_0.0625 n45_0.0625 n50_0.0625 w0.25 n86_0.0625 n56_0.0625 w0.25 n84_0.0625 n52_0.0625 w0.25 n83_0.0625 n56_0.0625 w0.25 n81_0.25 n45_0.0625 n48_0.0625 w0.25 n57_0.0625 w0.25 n52_0.0625 w0.25 n57_0.0625 w0.25 n88_0.0625 n76_0.0625 n45_0.0625 n47_0.0625 w0.25 n52_0.0625 w0.25 n88_0.0625 n76_0.0625 n45_0.0625 n50_0.0625 w0.25 n52_0.0625 w0.25 n76_0.0625 n64_0.0625 n45_0.0625 n48_0.0625 w0.25 n52_0.0625 w0.25 n76_0.0625 n64_0.0625 n45_0.0625 n48_0.0625 w0.25 n52_0.0625 w0.25 n64_0.0625 n76_0.0625 n45_0.0625 n47_0.0625 w0.25 n52_0.0625 w0.25 n68_0.0625 n80_0.0625 n45_0.0625 n50_0.0625 w0.25 n52_0.0625 w0.25 n69_0.25 n81_0.25 n45_0.0625 n48_0.0625 w0.25 n57_0.0625 w0.25 n52_0.0625 w0.25 n57_0.0625 n83_0.0625 n50_0.0625 w0.25 n45_0.125 w0.25 n86_0.0625 n56_0.0625 w0.25 n84_0.0625 n52_0.0625 w0.25 n83_0.0625 n56_0.0625 w0.25 n84_0.125 n48_0.125 n45_0.125 w0.25 n88_0.0625 n57_0.0625 w0.25 n86_0.0625 n52_0.0625 w0.25 n84_0.0625 n57_0.0625 w0.25 n83_0.125 n50_0.125 n45_0.125 w0.25 n86_0.0625 n56_0.0625 w0.25 n84_0.0625 n52_0.0625 w0.25 n83_0.0625 n56_0.0625 w0.25 n81_0.0625 n45_0.0625 n48_0.0625 w0.25 n84_0.0625 n57_0.0625 w0.25 n83_0.0625 n52_0.0625 w0.25 n81_0.0625 n57_0.0625 w0.25 n83_0.125 n50_0.125 n45_0.125 w0.25 n86_0.0625 n56_0.0625 w0.25 n84_0.0625 n52_0.0625 w0.25 n83_0.0625 n56_0.0625 w0.25 n84_0.125 n48_0.125 n45_0.125 w0.25 n88_0.0625 n57_0.0625 w0.25 n86_0.0625 n52_0.0625 w0.25 n84_0.0625 n57_0.0625 w0.25 n83_0.125 n50_0.125 n45_0.125 w0.25 n86_0.0625 n56_0.0625 w0.25 n84_0.0625 n52_0.0625 w0.25 n83_0.0625 n56_0.0625 w0.25 n81_0.0625 n45_0.0625 n48_0.0625 w0.25 n84_0.0625 n57_0.0625 w0.25 n83_0.0625 n52_0.0625 w0.25 n81_0.0625 n57_0.0625 w0.25 n83_0.125 n50_0.125 n45_0.125 w0.25 n86_0.0625 n56_0.0625 w0.25 n84_0.0625 n52_0.0625 w0.25 n83_0.0625 n56_0.0625 w0.25 n81_0.0625 n45_0.0625 n48_0.0625 w0.25 n84_0.0625 n57_0.0625 w0.25 n83_0.0625 n52_0.0625 w0.25 n81_0.0625 n57_0.0625 w0.25 n83_0.125 n50_0.125 n45_0.125 w0.25 n86_0.0625 n56_0.0625 w0.25 n84_0.0625 n52_0.0625 w0.25 n83_0.0625 n56_0.0625 w0.25 n81_0.125 n45_0.125 n57_0.125 w1.0 n76_0.125 n64_0.125 w1.0 n76_0.25 n64_0.25 w1.5 n72_0.125 n60_0.125 w0.5 n71_0.25 n59_0.25 w1.0 n64_0.25 n52_0.25 w1.0 n69_0.125 n57_0.125 w2.0 n53_0.125 n29_0.125 n41_0.125 w1.0 n72_0.125 n84_0.125 n60_0.125 w1.0 n72_0.25 n84_0.25 n60_0.25 w1.5 n69_0.125 n81_0.125 n57_0.125 w0.5 n67_0.25 n79_0.25 n55_0.25 w1.0 n60_0.25 n72_0.25 n48_0.25 w1.0 n65_0.125 n77_0.125 n53_0.125 w2.0 n55_0.125 n31_0.125 n43_0.125 w1.0 n77_0.125 n89_0.125 n65_0.125 w1.0 n77_0.25 n89_0.25 n65_0.25 w1.5 n74_0.125 n86_0.125 n62_0.125 w0.5 n71_0.25 n83_0.25 n59_0.25 w1.0 n67_0.25 n79_0.25 n55_0.25 w1.0 n65_0.25 n77_0.25 n53_0.25 w1.5 n62_0.125 n74_0.125 n50_0.125 w0.5 n59_0.25 n71_0.25 n47_0.25 w1.0 n55_0.25 n67_0.25 n43_0.25 w1.0 n53_0.25 n65_0.25 n41_0.25 w1.5 n50_0.125 n62_0.125 n38_0.125 w0.5 n47_0.25 n59_0.25 n35_0.25 w2.0 n55_0.25 n31_0.25 n43_0.25 w2.0 n36_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.125 n79_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 n79_0.25 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n52_0.0625 w0.25 n55_0.125 n76_0.125 w0.25 n60_0.0625 w0.25 n74_0.25 w0.25 n53_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 n67_0.25 w0.25 n53_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n72_0.25 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.125 n76_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 n48_0.0625 w0.25 n36_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.125 n79_0.125 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 n79_0.25 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n52_0.0625 w0.25 n55_0.125 n76_0.125 w0.25 n60_0.0625 w0.25 n74_0.25 w0.25 n53_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 n67_0.25 w0.25 n53_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n72_0.125 w0.5 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n62_0.0625 w0.25 n60_0.0625 n43_0.0625 w0.25 n59_0.125 n31_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.125 n77_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 n77_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n55_0.0625 w0.25 n59_0.125 n74_0.125 w0.25 n67_0.0625 w0.25 n76_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n72_0.25 w0.25 n55_0.0625 w0.25 n64_0.0625 w0.25 n67_0.0625 w0.25 n71_0.25 w0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n74_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 n43_0.0625 w0.25 n31_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.125 n77_0.125 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 n77_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n55_0.0625 w0.25 n59_0.125 n74_0.125 w0.25 n67_0.0625 w0.25 n75_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n72_0.25 w0.25 n55_0.0625 w0.25 n63_0.0625 w0.25 n67_0.0625 w0.25 n71_0.25 w0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n74_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n76_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n72_0.25 w0.25 n55_0.0625 w0.25 n64_0.0625 w0.25 n67_0.0625 w0.25 n71_0.25 w0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n74_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n75_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n72_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n57_0.0625 w0.25 n60_0.0625 w0.25 n79_0.25 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n71_0.0625 w0.25 n69_0.0625 w0.25 n66_0.0625 w0.25 n67_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n71_0.0625 w0.25 n74_0.0625 w0.25 n72_0.0625 w0.25 n69_0.0625 w0.25 n71_0.0625 w0.25 n67_0.0625 w0.25 n71_0.0625 w0.25 n74_0.0625 w0.25 n79_0.0625 w0.25 n83_0.0625 w0.25 n81_0.0625 w0.25 n78_0.0625 w0.25 n79_0.0625 w0.25 n83_0.0625 w0.25 n81_0.0625 w0.25 n84_0.0625 w0.25 n83_0.0625 w0.25 n86_0.0625 w0.25 n85_0.0625 w0.25 n88_0.0625 w0.25 n86_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n91_0.0625 w0.25 n89_0.0625 w0.25 n93_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n86_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n91_0.0625 w0.25 n89_0.0625 w0.25 n93_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n86_0.0625 w0.25 n89_0.0625 w0.25 n88_0.0625 w0.25 n84_0.0625 w0.25 n83_0.0625 w0.25 n86_0.0625 w0.25 n84_0.0625 w0.25 n81_0.0625 w0.25 n79_0.0625 w0.25 n83_0.0625 w0.25 n81_0.0625 w0.25 n77_0.0625 w0.25 n76_0.0625 w0.25 n79_0.0625 w0.25 n77_0.0625 w0.25 n74_0.0625 w0.25 n72_0.0625 n36_0.0625 w0.25 n43_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n91_0.0625 n79_0.0625 n55_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n91_0.25 n79_0.25 n60_0.0625 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n55_0.0625 w0.25 n88_0.0625 n76_0.0625 n60_0.0625 w0.25 n64_0.0625 w0.25 n86_0.25 n74_0.25 n65_0.0625 w0.25 n64_0.0625 w0.25 n62_0.0625 w0.25 n60_0.0625 w0.25 n79_0.25 n67_0.25 n59_0.0625 w0.25 n57_0.0625 w0.25 n55_0.0625 w0.25 n53_0.0625 w0.25 n84_0.25 n72_0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n88_0.0625 n76_0.0625 n43_0.0625 w0.25 n48_0.0625 w0.25 n40_0.0625 w0.25 n43_0.0625 w0.25 n36_0.0625 w0.25 n43_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n91_0.0625 n79_0.0625 n55_0.0625 w0.25 n48_0.0625 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n91_0.25 n79_0.25 n60_0.0625 w0.25 n52_0.0625 w0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n64_0.0625 w0.25 n55_0.0625 w0.25 n88_0.0625 n76_0.0625 n60_0.0625 w0.25 n64_0.0625 w0.25 n86_0.25 n74_0.25 n65_0.0625 w0.25 n64_0.0625 w0.25 n62_0.0625 w0.25 n60_0.0625 w0.25 n79_0.25 n67_0.25 n59_0.0625 w0.25 n55_0.0625 w0.25 n57_0.0625 w0.25 n59_0.0625 w0.25 n84_0.0625 n72_0.0625 n60_0.0625 w0.25 n59_0.0625 w0.25 n57_0.0625 w0.25 n55_0.0625 w0.25 n53_0.0625 w0.25 n52_0.0625 w0.25 n50_0.0625 w0.25 n48_0.0625 w0.25 n43_0.0625 w0.25 n47_0.0625 w0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n89_0.0625 n77_0.0625 n47_0.0625 w0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n89_0.25 n77_0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n86_0.0625 n74_0.0625 n62_0.0625 w0.25 n67_0.0625 w0.25 n88_0.25 n76_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n60_0.0625 w0.25 n84_0.25 n72_0.25 n55_0.0625 w0.25 n64_0.0625 w0.25 n67_0.0625 w0.25 n64_0.0625 w0.25 n83_0.25 n71_0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n62_0.0625 w0.25 n86_0.0625 n74_0.0625 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n59_0.0625 w0.25 n43_0.0625 w0.25 n47_0.0625 w0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n89_0.0625 n77_0.0625 n47_0.0625 w0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n89_0.25 n77_0.25 n50_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n86_0.0625 n74_0.0625 n62_0.0625 w0.25 n67_0.0625 w0.25 n87_0.25 n75_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n60_0.0625 w0.25 n84_0.25 n72_0.25 n55_0.0625 w0.25 n63_0.0625 w0.25 n67_0.0625 w0.25 n63_0.0625 w0.25 n83_0.25 n71_0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n62_0.0625 w0.25 n86_0.25 n74_0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n59_0.0625 w0.25 n88_0.25 n76_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n60_0.0625 w0.25 n84_0.25 n72_0.25 n55_0.0625 w0.25 n64_0.0625 w0.25 n67_0.0625 w0.25 n64_0.0625 w0.25 n83_0.25 n71_0.25 n55_0.0625 w0.25 n62_0.0625 w0.25 n67_0.0625 w0.25 n62_0.0625 w0.25 n86_0.25 n74_0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n67_0.0625 w0.25 n59_0.0625 w0.25 n87_0.25 n75_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n67_0.0625 w0.25 n60_0.0625 w0.25 n84_0.25 n72_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n60_0.0625 w0.25 n79_0.25 n55_0.0625 w0.25 n59_0.0625 w0.25 n62_0.0625 w0.25 n59_0.0625 w0.25 n79_0.25 n55_0.0625 w0.25 n60_0.0625 w0.25 n63_0.0625 w0.25 n60_0.0625 w0.25 n81_0.0625 n55_0.0625 n79_0.0625 w0.25 n59_0.0625'''
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--ip", default="127.0.0.1", help="The ip of the OSC server")
parser.add_argument("--port", type=int, default=3335, help="The port the OSC server is listening on")
args = parser.parse_args()
client = udp_client.SimpleUDPClient(args.ip, args.port)
l = []
for i in s.split():
if i.startswith('n'):
note, duration = i.split('_')
note = note.lstrip('n')
duration = float(duration)
client.send_message("/SC/NOTE_ON", note)
time.sleep(0.1)
client.send_message("/SC/NOTE_OFF", note)
elif i.startswith('w'):
duration = i.lstrip('w')
duration = float(duration)
import random
import socket
server_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
server_socket.bind(('', 12000))
while True:
rand = random.randint(0, 10)
message, address = server_socket.recvfrom(1024)
message = message.upper()
if rand >= 4:
server_socket.sendto(message, address)
(
//handles incoming OSC messages
~dispatch = {
arg msg, time, addr, recvPort;
msg.postln;
switch (msg[1],
'hello', {
'messagereceived'.postln
}
)
};
OSCFunc.newMatching(~dispatch, '/SC', nil, 3335);
)
(
s.waitForBoot {
SynthDef(\sawperc, {
arg freq, pan, lvl = 0.5, time = 0.8, dtn = 0.01;
var snd, saws, env, amp = 0.5;
lvl = LFNoise2.kr(1, lvl);
env = EnvGen.kr(Env.perc(releaseTime: time, level: lvl), doneAction:2);
//env = EnvGen.kr(Env.new([0, lvl, lvl, 0], [time, time/2, time]), doneAction: 2);
saws = Array.fill(4, {Saw.ar(freq + (freq * rrand(dtn * -1, dtn))) * env * amp});
snd = Splay.ar(RLPF.ar(saws, 1000));
Out.ar(0, snd);
}).add;
//handles incoming OSC messages
~dispatch = {
arg msg, time, addr, recvPort;
msg[1].postln;
Synth(\sawperc, [\freq, msg[1].midicps]);
};
OSCFunc.newMatching(~dispatch, '/SC/NOTE_ON', nil, 3335);
}
)
import socket
UDP_IP = "127.0.0.1"
UDP_PORT = 5005
MESSAGE = "Hello, World!"
print("UDP target IP:", UDP_IP)
print("UDP target port:", UDP_PORT)
print("message:", MESSAGE)
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # UDP
while True:
sock.sendto(bytes(MESSAGE, "utf-8"), (UDP_IP, UDP_PORT))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment