Questions tagged [opensoundcontrol]

Open Sound Control (OSC) is a protocol for communication among computers, sound synthesizers, and other multimedia devices that is optimized for modern networking technology.

From the OSC Home Page at the CNMAT, UC Berkeley

Bringing the benefits of modern networking technology to the world of electronic musical instruments, OSC's advantages include interoperability, accuracy, flexibility, and enhanced organization and documentation.

This simple yet powerful protocol provides everything needed for real-time control of sound and other media processing while remaining flexible and easy to implement.

Features:

  • Open-ended, dynamic, URL-style symbolic naming scheme
  • Symbolic and high-resolution numeric argument data
  • Pattern matching language to specify multiple recipients of a single message
  • High resolution time tags
  • "Bundles" of messages whose effects must occur simultaneously
  • Query system to dynamically find out the capabilities of an OSC server and get documentation

There are dozens of implementations of OSC, including real-time sound and media processing environments, web interactivity tools, software synthesizers, a large variety programming languages, and hardware devices for sensor measurement. OSC has achieved wide use in fields including computer-based new interfaces for musical expression, wide-area and local-area networked distributed music systems, inter-process communication, and even within a single application.

12 questions
4
votes
4 answers

I have an embedded project idea that i want to start. I have many questions

This is my first post on stackoverflow, I've heard of this website and I think its awesome! Let's see if i can get some guidance on how to start my project. The Idea: Basically I want to build my own custom OSC controller (OSC is a protocol based…
user186067
3
votes
3 answers

Midi library for Python on Mac

I'm looking for a python midi library (preferably python3) which will allow me to produce midi commands so that I can control midi instruments on my mac. I'm also interested in open sound control capabilities but this is less…
Baz
  • 12,713
  • 38
  • 145
  • 268
2
votes
1 answer

Using OSC in Arduino from Touch OSC MultiToggle

I can not find an OSC library for Arduino that supports Touch OSC's multitoggle controls. Am I doing something wrong, or is there a library that does have support for this control? The library I'm using: https://github.com/recotana/ArdOSC The OSC…
Mark Kropf
  • 101
  • 1
  • 5
1
vote
0 answers

How to fix 'The requested address is not valid in its context' for local ip

I'm attempting to add an Open Sound Control (UDP) listener to a python program, but I keep getting the error "OSError: [WinError 10049] The requested address is not valid in its context". The program works when accessing my own ip, but not when I…
DJ Martin
  • 49
  • 7
1
vote
2 answers

Configuring client and server using OSC in Unity

I'm trying to utilize a library for Unity called UnityOSC, which allows you to receive OSC messages, presumably, from other applications. I have an application which transmits data via UDP at the following address: host: 127.0.0.1 port: 33433 I now…
mheavers
  • 29,530
  • 58
  • 194
  • 315
0
votes
1 answer

Node red OSC Error "Flows stopped due to missing node types"

I am setting up an OSC receiver at the moment using node-red and node-red-contrib-osc on a Windows 10 machine (Node.js version 12.13.1, npm Version 6.12.1). Unfortunately, I cannot deploy the flow, node-red throws the following error: "Flows stopped…
lights
  • 1
  • 3
0
votes
1 answer

Send OSC messages from react native

Im trying to send OSC messages (open sound control) from a vue-native (vue wrapper for react-native) app straight to an application called Touchdesigner. I have now solved this by sending messages from my client app on my android to a node server…
acroscene
  • 845
  • 4
  • 16
  • 45
0
votes
1 answer

Swift and Open Sound Control (OSC) communication

we've had a simple requirement of triggering commands via the following 3 commands: 1.) `/hog/playback/go/0/1' 2.) `/hog/playback/go/0/2' 3.) `/hog/playback/go/0/3' i've no idea on how OSC communicates but considering its somewhat a UDP/TCP…
Fahad Bilal
  • 159
  • 2
  • 3
  • 14
0
votes
0 answers

Can someone recommend a good hash function for OSC addresses

A lot of OSC addresses are similar, often same prefixes, etc so it’s unclear that a general purpose string hash function that assumes random strings is the right way to go. In particular, OSC messages happen in real time, there can be many of them…
David
  • 5,991
  • 5
  • 33
  • 39
0
votes
2 answers

Debugging Supercollider OSCresponderNode

Anyone have an idea how to debug supercollider's OSCresponderNode? I'm trying to catch messages from another program with this : o = OSCresponderNode(nil, '/note', { arg t, r, msg; t.postln; r.postln; msg.postln; Synth( "guru2", [\mfreq, msg[1]]); …
interstar
  • 26,048
  • 36
  • 112
  • 180
0
votes
1 answer

SuperCollider without OSC

I have used PD in the past, but right now I'd like to try using SuperCollider for this one project. Specifically, I'd like to research control protocol and try swapping OSC for CoAP. I'm trying to figure how deeply scsynth depends on OSC? Is there…
errordeveloper
  • 6,716
  • 6
  • 41
  • 54
0
votes
1 answer

system call from within osc lib module

i'm using the OSC library found here. i'd like to programmatically exit the program via sys.exit() when a specific msg is received. i use something like the following: oserve = OSC.OSCServer(('localhost', iportarg)) st = threading.Thread(target =…
jml
  • 1,745
  • 6
  • 29
  • 55