Questions tagged [osc]

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
  • Real-time data broadcast
  • 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.

https://en.wikipedia.org/wiki/Open_Sound_Control

244 questions
4
votes
4 answers

How can java.util.ConcurrentModificationException be avoided when using OSC?

The code I am working on is throwing the aforementioned exception. I am not very experienced with multi-threaded programming and I'm not having a lot of luck troubleshooting this. The program is written in Java using Processing and OSC. The main…
JeremyFromEarth
  • 14,344
  • 4
  • 33
  • 47
3
votes
0 answers

Using JavaOsc to get meter readings from a Behringer X32

I am trying to work with JavaOsc but I am having difficulties establishing a connection. My test code is below, but it does not matter what IP address port I put in, it appears to connect (which is not correct) and there is no response I am…
Luuk D. Jansen
  • 4,402
  • 8
  • 47
  • 90
3
votes
1 answer

MIDI or OSC controls between browsers

I'm looking into the possibility of simple music snychronisation and control (MIDI / OSC) between mobile browsers, XMPP would seem promising, but I've found no suitable extensions. Have you any useful pointers? Moreover, do you feel xmpp could be…
Douglas
  • 31
  • 1
3
votes
2 answers

convert json to osc address and arguments

I am trying to make a universal function in javascript, that converts a json data structure to an OSC compatible format. OSC meaning '/' seperated address strings assigned to arguments of any type. A nested json like this: { "hello":"world", …
lasse
  • 95
  • 8
3
votes
1 answer

Processing to grasshopper with oscP5

I’m trying to see if I can link a sketch made in processing to grasshopper using oscP5. The sketch is a sphere of points outlined in the first half of this Coding Train video: https://www.youtube.com/watch?v=RkuBWEkBrZA The code before I’ve started…
3
votes
1 answer

OSC messages from a python-osc client are not picked up by ChucK server

I'm trying to set up communication between chuck and python via the OSC (Open Sound Control) protocol. On the python side we're using the python-osc library and chuck natively supports the OSC protocol. It appears that the messages we send from the…
chtenb
  • 14,924
  • 14
  • 78
  • 116
3
votes
1 answer

How to send MIDI or OSC signals to a Mac application from my iOS application?

I'm thinking of writing an iPhone/iPad application to emulate a MIDI controller. I know there are already quite a few available but I still want to do my own. I have several questions about that: I know a little bit about MIDI, but I've recently…
Sebastien
  • 3,583
  • 4
  • 43
  • 82
3
votes
4 answers

iPhone OSC Library

I know there are some iPhone Apps out there that use OSC and i'm wondering now if someone of them released a nice library for it. I googled a loot around but didn't found anything. Maybe someone knows how to google better then me :) I'm currently…
Philip
  • 277
  • 5
  • 18
3
votes
2 answers

Open Sound Control (OSC) in c#

I bought TouchOSC app for my iPod Touch, because I thought it would be easy to find a library to use osc protocol in c#. I would like to develop an application using c#, but haven't found one yet. Would someone know about any good libraries to do…
Pablo Gonzalez
  • 673
  • 2
  • 10
  • 24
3
votes
1 answer

Node.JS to OSC via UDP

I installed Node.js and integrated Socket.io. In a file called "appudp.js", I have the following code: var dgram = require('dgram'); var message = new Buffer("5656"); // Whatever the number could be... var client =…
Justin01
  • 288
  • 1
  • 4
  • 14
2
votes
1 answer

Converting EEG osc signal as midi for use in Ableton Live

I have EEG signal that is processed using openvibe, which outputs the signal as osc. Using the livegrabber I was able to receive the signal in ableton (see pic). However, now I’m stuck on how I can make use of this signal. I want to convert it into…
kraftwerk
  • 35
  • 3
2
votes
1 answer

How can I have a keypress do one thing the first time, and a different thing the second time?

So I've put this script together, which allows me to send an osc, (open sound control), message whenever I hit the "w" key. (I need this to run in the background of my computer so any suggestions on how to make it more efficient would be…
maczook
  • 23
  • 2
2
votes
2 answers

How do I send OSC over TCP from javascript?

I'm trying to build a mobile web application that sends OSC (Open Sound Control) messages to another program (for audio synthesis) over TCP. I can't find a javascript library which will open a TCP connection to a given address. Any advice?
user636685
  • 21
  • 2
2
votes
1 answer

Problems running Pure Data on raspberry Pi 3, "ALSA input error (snd_pcm_open): No such file or directory"

I have a set up with an input device (basically an Arduino nano) which I then use a Python script to read in the input, process it and send the results over OSC to a Pure Data patch. This all works fine on my Windows laptop but I really want it to…
Edwin Love
  • 91
  • 4
2
votes
1 answer

How to use array values as function arguments in sclang (in the context of sending lots of floats via OSC)

I would like to use an array of floats as function arguments for OSC.sendMessage(). For example in PHP I'm aware of call_user_func_array(). Is there something similar availabe in sclang? The context is that I would like to send lots of float values…
8yteCrunch
  • 23
  • 2
1
2
3
16 17