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
1
vote
0 answers

Swift 3 - Migrating error Cannot convert value of type 'sockaddr'

I am trying to convert a OSC library from swift 2 to swift 3. I have only two errors left that I caanot solve. The errors are in the code below. The errors are given by UnsafePointer error 1: Cannot convert value of type 'sockaddr' to expected…
SNos
  • 3,430
  • 5
  • 42
  • 92
1
vote
1 answer

Python OSC, Query / Close active thread

I'm using a relatively simple python execution, using OSC modules, in order to 'Send' code, from an application to an other. import OSC import threading #------OSC Server-------------------------------------# receive_address = '127.0.0.1', 9002 #…
1
vote
1 answer

sending OSC between machines on a LAN using Node.js and OSC.js

Has anyone created a working setup where OSC is being sent between machines on a LAN using Node.js? Ideally, using Colin Clark's osc.js package? I have what I think should be a pretty simple example, except that it doesn't work - I get an…
jwn
  • 21
  • 4
1
vote
1 answer

Node.js OSC Module send TCP

I am using the OSC module https://github.com/colinbdclark/osc.js but I am struggling to get it to work over TCP. I am unable to find any examples that use TCP, they are all based on UDP. I have tried just creating a TCP client in node.js but still…
Wayde
  • 53
  • 7
1
vote
1 answer

Passing String to OSCMessage on Arduino using OSCbundle.h library

I am using the OSCbundle.h library to receive OSC messages on a Teensy 3.x(Arduino) from TouchOSC. Once the OSC message ahas been recieved, there is (often) a return message that sends feedback back to the TouchOSC interface, that is typically…
rdel
  • 155
  • 1
  • 1
  • 10
1
vote
1 answer

Can not pass OSC data using IMU manufacturer's python2.7 example script

I am working with a high refresh rate IMU (x-IO technologies NGIMU) which outputs all data in osc format. The manufacturer provides the following python script to serve the data on linux platforms ( I am running Ubuntu 16.04) ''' NGIMU Demo python…
1
vote
2 answers

Control Camera desktop application using Gyroscope of Android smartphone

For a project at my university I need to create a Unity3D application on my laptop, in which the camera is stationairy and can be controlled to rotate in any direction using the gyroscope of my Android smartphone (Nexus 5), wirelessly or through…
1
vote
2 answers

Python, A class within a class, how to access variables from the upper class

I have Qt Gui class that handles all the variables (p1, p2) adjustment with sliders and stuff. Inside this class, I have a OSC listener class that was supposed to listen to trigger signals and a variable p3 from another device and use the parameters…
J_yang
  • 2,672
  • 8
  • 32
  • 61
1
vote
1 answer

Sending Open Sound Control (OSC) in Android Studio, socket error

I tried to use OSC in android studio, following by "Tutorial: Android OSC Communication" on http://courses.ideate.cmu.edu/physcomp/f14/16-223/tutorial-android-osc-communication/. It uses JavaOSC from Illposed. However, I got a socket exception error…
J_yang
  • 2,672
  • 8
  • 32
  • 61
1
vote
2 answers

How to parse indeterminate length packet from MCU UART?

I am attempting to attach a new microcontroller to an existing OSC (Open Sound Control) network via an ethernet-to-serial converter. The OSC messages are sent with the following formatting: OSC Address Pattern: /string/optional substring --> always…
M D
  • 217
  • 1
  • 2
  • 6
1
vote
1 answer

Why do I stop receiving OSC messages after a while on Mac?

I'm working on a Unity game that receives OSC messages from the Muse EEG headset. I've tried two 3rd party C# libraries to handle the OSC communication, UnityOSC and unity-OSC-receiver. Both implement the OSC communication with an underlying…
Junuxx
  • 14,011
  • 5
  • 41
  • 71
1
vote
0 answers

Cordova 3/Phonegap 3 install plugin

I'm currently building an application which should send messages via OSC protocol to Grasshopper (to Rhino 5). I installed the OSC cordova plugin (https://github.com/sy1vain/cordova-osc-plugin) via cordova plugin add. This all seems to work. The…
Gio
  • 165
  • 1
  • 2
  • 9
1
vote
1 answer

Querying a value over pyOSC

I'm working on a python script to send OSC messages to MOTU's Cuemix software. After much hackery, I was finally able to set a high value, and a low value with two different scripts. These scripts are SND_UP and SND_DOWN :…
derjur
  • 123
  • 3
1
vote
1 answer

NodeJS OSC receive and distribution to local network

Hi I have this project that includes receiving real time data from a remote computer in OSC format, I want then to be able to communicate or distribute the OSC data to other computers logged in the same network. I am looking in NodeJS, Express,…
KonVas
  • 267
  • 2
  • 12
1
vote
0 answers

Describing OSC in a .kv langage

kivy 1.9.0 from kivy.app import App from kivy.uix.floatlayout import FloatLayout from kivy.uix.boxlayout import BoxLayout from kivy.uix.button import Button from kivy.uix.gridlayout import GridLayout from kivy.uix.widget import Widget from kivy.lang…