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
26
votes
6 answers

A plethora of Python OSC modules - which one to use?

Open Sound Control (OSC) is a protocol for communication among computers, sound synthesizers, and other multimedia devices that is optimized for modern networking technology. It is particularly common to use OSC with MAX/MSP -- which in fact is what…
Wes Modes
  • 2,024
  • 2
  • 22
  • 40
16
votes
5 answers

looping through the values of an ArrayList in C#

I'm trying to figure out what sort of information these messages contain that are being streamed via OSC. The messages are being stored to an ArrayList. Here is the code: public void OSCMessageReceived(OSC.NET.OSCMessage message){ string…
mheavers
  • 29,530
  • 58
  • 194
  • 315
11
votes
2 answers

Where to find a comparison of Flex/Bison, Ragel, ANTLR and others?

I am intending to define a protocol similar to Open Sound Control, but a bit different. The idea is quite complex, and I won't try to describe it here. Suppose I was to implement an OSC library using libev and one of the tools in the subject…
errordeveloper
  • 6,716
  • 6
  • 41
  • 54
10
votes
4 answers

javascript osc library?

Does an open sound control library exists for javascript? I cant seem to find any information on this.
davivid
  • 5,910
  • 11
  • 42
  • 71
8
votes
1 answer

Input needed for my program structure/design

I've tried to describe the application I'm building in a much detail as needed, so I apologise in advance for the essay! I'm in the process of designing and building a fairly large music application, using the C++ Juce framework, that in a nutshell…
Liam Lacey
  • 215
  • 3
  • 7
7
votes
1 answer

(fluxus) learning curve

I'm trying to have some fun with fluxus, but its manual and online docs all seem to assume that the reader is already an expert network programmer who's never heard of Scheme before. Consequently, you get passages that try to explain the very basics…
Inaimathi
  • 13,853
  • 9
  • 49
  • 93
7
votes
2 answers

Communicating between Pure Data and MATLAB using OSC

I'm trying to receive a message sent over OSC from Pure Data (or Max/MSP) to MATLAB. I'm able to send OSC messages from Pure Data to Pure Data I can send messages from MATLAB to MATLAB I can even send messages from MATLAB to Pure Data ...I'm really…
CaptainProg
  • 5,610
  • 23
  • 71
  • 116
6
votes
2 answers

basic OSC tutorial in C++? what library to use?

I would like to learn how to write the simplest server/client C++ command line application for sending a few lines of data from one application to the other in real-time, using OSC (Open Sound Control). I would like to make it work in localhost mode…
hyperknot
  • 13,454
  • 24
  • 98
  • 153
6
votes
1 answer

Can I execute a Python script from Pure Data?

I know there are some tools out there for using Pure Data(Pd) within Python, so you can program and use Pd without using its GUI. I was wondering if anyone has tried the opposite. I want to send sequencing information into Python and process it with…
Rich
  • 71
  • 5
5
votes
2 answers

How to send clip names using LiveAPI (of Ableton Live)

When an audio or midi clip is played (triggered), its name needs to be sent using OSC to another application. LiveAPI is an interface which allows one to explore and automate Ableton Live using python scripts. The code to do this must be written in…
5
votes
3 answers

C++ Interrupting UDP Listener. Compiled using oscpack in Xcode

I have successfully incorporated an UDPreceive function into my application. HOWEVER! I can not figure out how to stop UDP listener from running infinitely. The OSCPack library has a Break() and AsynchronousBreak() built into it, but I have been…
Tom Wilson
  • 67
  • 6
5
votes
3 answers

sending OSC (open sound control) messages from an android application

I'm writing an android application using the SDK for android 4.0 I wonder if there is an API for sending OSC messages (Open Sound Control) in the android SDK or should I just use the java OSC SDK. I tried browsing the…
ufk
  • 30,912
  • 70
  • 235
  • 386
5
votes
3 answers

What's the difference between char * and const_cast(string.c_str())

I use an external library to deal with udp (OSC) communication between 2 apps. To format the messages that will be sent, the library is expecting a char* but I get a string from the UI that I have to convert. While I was dealing with other parts…
err0r_500
  • 103
  • 2
  • 6
4
votes
1 answer

Using OSC with NodeJS

I need to create a test server in NodeJS that supports OSC over UDP. After a quick search there seems to be a lot of options. Can anyone recommend a module for OSC in NodeJS?
Bachalo
  • 6,965
  • 27
  • 95
  • 189
4
votes
3 answers

Is low OSC/Midi (no audio) latency possible on Android?

I want to do a concept for a real-time interface for audio interaction, so real low latency is essential. I have read a lot about this topic in the last week, but it's impossible to get a real overview in such a short time. So before I dig really…
1
2 3
16 17