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
2
votes
1 answer

How to debug OSC protocol between Supercollider and Python app

Being new to SuperCollider I am using a tutorial to try to get a Pycharm application to talk to Supercollider (Python version: 3.7/SuperCollider 3.9.3). On the client side i have tried with pythonosc and OSC: pythosc code: import argparse import…
Kammo3
  • 51
  • 4
2
votes
3 answers

How to send OSC commands from iPad/iPhone over the Internet (not Wi-Fi)

I am building an Arduino based servo driver that I want to control with OSC commands from my iPad over the Internet. Is it possible to send OSC commands over 3G / UMTS with my iPad or iPhone to control a device? So I will not be limited by the…
Patrick
  • 21
  • 1
  • 2
2
votes
2 answers

Passing OSC messages between two computers over WAN via UDP and Node.js

I'm trying to write some minimalist client-server code to pass OSC messages between two computers that are on different local networks. Specifically my end goal is to send and receive from MAX patches in Ableton, using MAX's UDPSend and UDPReceive…
K Lovell
  • 45
  • 7
2
votes
0 answers

Python Mouse Position send via OSC Slow

I'm using a raspberry pi, running debian to send mouse position data over OSC using Python. The information is sending correctly, but after a minute or two, the stream gets slower and slower... I can't figure why. I combined these two sets of…
Jerome M
  • 21
  • 1
2
votes
1 answer

Python OSC installation using pip

I am trying to install the Python package OSC using pip. It keeps showing up errors of: Could not find a version that satisfies the requirement osc I have pip 9.0.1. Do you know this error? How can I install OSC? Thanks, Miya
Miya
  • 21
  • 1
  • 2
2
votes
1 answer

Android, OSC, receiver not receiving messages.

I am working on an app that receive message from other program via OSC. The library I used is the JavaOSC from http://www.illposed.com/software/javaosc.html. I put the following in the onCreate method (the try{} part): import…
J_yang
  • 2,672
  • 8
  • 32
  • 61
2
votes
1 answer

python script to send OSC to SuperCollider using Neuroskys mindwave and NeuroPy module

I'm trying to send multiple OSC messages to Supercollider using the variables (1-13) from neuroPy. It works fine with only one variable. How can I utilize more variables. from NeuroPy import NeuroPy import time import OSC port = 57120 sc =…
2
votes
0 answers

Flask-socketio emit function in OSCserver thread

I am creating an Flask-socketio app, in which I want to send socket when an OSC message is received, in order to receive it into a web app thanks to socketio.js from flask import Flask, render_template, copy_current_request_context, current_app from…
2
votes
1 answer

Convert incoming OSC message to TUIO 2Dcur

Here's what works right now: Microcontroller reads 2 touch surfaces, outputs them as a single OSC bundle (using this library) every 10ms over USB. Chrome app receives these OSC bundles (using this library) over USB via chrome.serial and displays…
Alex Shroyer
  • 3,499
  • 2
  • 28
  • 54
2
votes
1 answer

Message formatting of OSC for MIDI messages

I'm using the github.com/hypebeast/go-osc/osc package to send OSC messages to an OSC server. For this I'm using OSCulator so that I can route the data as MIDI to Abelton Live. The problem I'm having is I can not find any information on message…
BugHunterUK
  • 8,346
  • 16
  • 65
  • 121
2
votes
2 answers

Terminating Sonic Pi with PyOSC

I am using the Pyosc library to send code from python to Sonic Pi on a Raspberry Pi. The following code sends my code to Sonic Pi. code = SOME SONIC PI CODE oscmsg =…
user1011332
  • 773
  • 12
  • 27
2
votes
0 answers

Creating array of data, for line graphs in Android?

This application, displays an EEG devices OSC data. So far it can display the it receives from the device. @Override public void receiveDataPacket(DataPacket p) { switch (p.getPacketType()) { case EEG: …
3rdeye7
  • 536
  • 4
  • 25
2
votes
1 answer

Using Open Sound Control (OSC) with multicasting

I'm creating a system where agents written in different languages need to communicate over a local area network using the open sound control (OSC) protocol. One controller agent will need to broadcast information to a number of client agents. I…
Ollie Bown
  • 101
  • 6
2
votes
1 answer

TUIO cursor + openframeworks

I'm trying to make an app that does some blob tracking and sends all the data for Unity3D using TUIO cursor messages, just like CCV does. This is what i have regarding the messages ("media" is a button to switch between sending all blob's…
Rita Maia
  • 89
  • 1
  • 2
  • 11
2
votes
1 answer

OSCPack external library test case in Eclipse project

Can someone explain to me how to use the oscpack library in an Eclipse workspace based project? I have created the object files with make, added the ip and osc directories to my project tree, and added these directories to the include path list in…
staxas
  • 149
  • 12
1 2
3
16 17