Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Open Sound Control
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Protocol for multimedia devices}} {{No footnotes|date=August 2010}} [[File:IPad_TouchOSC_&_microKontrol.jpg | thumb | right | iPad running TouchOSC]] '''Open Sound Control''' ('''OSC''') is a [[Communications protocol|protocol]] for networking [[Synthesizer|sound synthesizers]], computers, and other multimedia devices for purposes such as musical performance or [[show control]]. OSC's advantages include [[interoperability]], accuracy, flexibility and enhanced organization and documentation.<ref name="osc org">{{cite web |title=Introduction to OSC |url=http://opensoundcontrol.org/spec-1_0.html#introduction |website=opensoundcontrol.org |date=7 April 2021 |access-date=11 September 2021}}</ref> Its disadvantages include inefficient [[Computer programming|coding of information]], increased load on [[Embedded system|embedded processors]],<ref name=":0">{{Cite web |last=Fraietta |first=Angelo |date=2008 |title=Open Sound Control: Constraints and Limitations |doi=10.5281/zenodo.1179537 |s2cid=5690441 |language=en}}</ref> and lack of standardized messages/interoperability.<ref>{{Cite web |title=Home · fabb/SynOSCopy Wiki |url=https://github.com/fabb/SynOSCopy |access-date=2022-12-31 |website=GitHub |language=en |quote=one of the reasons OSC has not replaced MIDI yet is that there is no connect-and-play … There is no standard namespace in OSC for interfacing e.g. a synth}}</ref><ref>{{Cite web |last=Supper |first=Ben |date=October 24, 2012 |title=We hate MIDI. We love MIDI. |url=https://focusritedevelopmentteam.wordpress.com/2012/10/24/we-hate-midi-we-love-midi/ |access-date=2023-01-01 |website=Focusrite Development |language=en |quote=OSC suffers from a superset of this problem: it’s anarchy, and deliberately so. The owners of the specification have been so eager to avoid imposing constraints upon it that it has become increasingly difficult for hardware to cope with it. … More severely, there is an interoperability problem. OSC lacks a defined namespace for even the most common musical exchanges, to the extent that one cannot use it to send Middle C from a sequencer to a synthesiser in a standardised manner}}</ref><ref>{{Cite web |title=OSC-Namespace and OSC-State: Schemata for Describing the Namespace and State of OSC-Enabled Systems |url=https://www.nime.org/proceedings/2014/nime2014_300.pdf |quote=OSC also introduces new obstacles. First, since there is no fixed set of messages, each participating server needs to know what messages it can send to the servers it intends to communicate with. Currently the OSC standard does not provide for a means of programmatically discovering all messages a server responds to}}</ref> The first specification was released in March 2002. == Motivation == OSC is a [[content format]] developed at [[CNMAT]] by Adrian Freed and Matt Wright comparable to [[XML]], [[WDDX]], or [[JSON]].<ref>{{cite web |title=OpenSoundControl {{!}} CNMAT |url=http://cnmat.berkeley.edu/opensoundcontrol |website=cnmat.berkeley.edu |access-date=22 December 2019}}</ref> It was originally intended for sharing music performance data ([[Gesture|gestures]], parameters and note sequences) between musical instruments (especially [[electronic musical instruments]] such as [[synthesizers]]), computers, and other multimedia devices. OSC is sometimes used as an alternative to the 1983 [[MIDI]] standard, when higher resolution and a richer parameter space is desired. OSC messages are transported across the internet and within local subnets using [[UDP/IP]] and [[Ethernet]]. OSC messages between gestural controllers are usually transmitted over serial endpoints of [[USB]] wrapped in the [[Serial Line Internet Protocol|SLIP]] protocol.{{Citation needed|date=December 2022}} == Features == OSC's main features, compared to MIDI, include:<ref name="osc org" /> * Open-ended, dynamic, [[Uniform Resource Identifier|URI]]-style symbolic naming scheme * Symbolic and high-resolution numeric data * [[Pattern matching]] language to specify multiple recipients of a single message * High resolution [[Network Time Protocol#Timestamps|time tag]]s * "Bundles" of messages whose effects must occur simultaneously == Applications == There are dozens of OSC applications, including real-time sound and media processing environments, web interactivity tools, software synthesizers, programming languages and hardware devices. OSC has achieved wide use in fields including [[musical expression]], robotics, video performance interfaces, distributed music systems and [[inter-process communication]]. The [[TUIO]] community standard for tangible interfaces such as multitouch is built on top of OSC. Similarly the GDIF system for representing gestures integrates OSC. OSC is used extensively in experimental musical controllers, and has been built into several open source and commercial products. The Open Sound World (OSW) music programming language is designed around OSC messaging.<ref>{{cite web |title=OSW Manual OpenSound Control (OSC) |url=http://osw.sourceforge.net/manual/osc.htm |website=osw.sourceforge.net |access-date=22 December 2019}}</ref> OSC is the heart of the [[Disposable Soft Synth Interface|DSSI]] plugin API, an evolution of the LADSPA API, in order to make the eventual [[Graphical user interface|GUI]] interact with the core of the plugin via messaging the plugin host. LADSPA and DSSI are APIs dedicated to audio effects and synthesizers. In 2007, a standardized namespace within OSC called SYN, for communication between controllers, synthesizers and hosts, was proposed, Notable software with OSC implementations include: <!--Listed applications should be notable with a sourced Wikipedia article.--> {{columns-list|colwidth=22em| * [[Ableton Live]] * [[Ardour (audio processor)|Ardour]] * [[Aurora dBTechnologies Network]] * [[BespokeSynth]] * [[ChucK]] * [[CasparCG (open source video graphics engine)]] * [[Crystal Space]] * [[CSound]] * [[Digital Performer]] * [[Fluxus (programming environment)|Fluxus]] * [[FreeJ]] * [[Gig Performer]] * [[IanniX]] * [[Impromptu (programming environment)|Impromptu]] * [[Isadora (software)|Isadora]] (v.1.1) * [[JUCE]] (Framework) * [[Kyma (sound design language)|Kyma]] * [[Lily (software)|Lily]] * [[LiVES]] * [[Logic Pro]] * [[LoopToGo]] * [[MadMapper]] * [[Magic Music Visuals]] * [[Max/MSP]] * [[Mocolo]] * [[Modul8]] * [[MuseScore]] * [[Mxwendler]] * [[openFrameworks]] * [[ossia score]] * [[Processing (programming language)|Processing]] * [[Pure (programming language)|Pure]] * [[Pure Data]] * [[QLab]] * [[Quartz Composer]] (as of v3.0 / [[Mac OS X v10.5]]) * [[Reaktor]] * [[REAPER]] * [[Renoise]] * [[Resolume Arena/Avenue]] * [[ShowForge]] * [[Sonic Pi]] * [[SPAT Revolution]] * [[Squeak]] * [[SuperCollider]] * [[Surge XT]] * [[TouchDesigner]] * [[Unreal Engine]] * [[VRChat]] * [[Ventuz]] }} Notable hardware with OSC implementations include: <!--Listed hardware should be notable with a sourced Wikipedia article.--> {{columns-list|colwidth=22em| * [[AlphaSphere (Instrument)|AlphaSphere]] * [[Audiocubes]] * [[ETCConnect|ETC]] EOS Consoles * [[MA Lightning]] * [[DiGiCo]] SD Mixing Consoles * [[Flic (company)|Flic]] Flic smart controller * [[Kyma (sound design language)|Kyma]] * [[Lemur (input device)|Lemur]] * [[MC2 Delta-DSP Amplifiers]] * [[MIDIbox]] * [[Milkymist]] One * [[Monome|Monome 40h]] * [[X32 Digital Mixing Console]] * [[XTA DPA Amplifiers]] * [[Yamaha Rivage PM Series Consoles (V5.0)]]}} == Design == OSC messages consist of an address pattern (such as <code>/oscillator/4/frequency</code>), a type tag string (such as <code>,fi</code> for a [[float32]] argument followed by an [[int32]] argument), and the arguments themselves (which may include a time tag).<ref name=":1" /> Address patterns form a [[Namespace|hierarchical name space]], reminiscent of a [[Unix]] [[filesystem]] path, or a [[Uniform Resource Locator|URL]], and refer to "[[Method (computer programming)|Methods]]" inside the server, which are invoked with the attached [[Parameter (computer programming)|arguments]]. Type tag strings are a compact string representation of the argument types. Arguments are represented in [[Binary number|binary]] form with four-[[byte]] alignment. The core types supported are * 32-bit [[two's complement]] signed integers * 32-bit [[IEEE 754-2008|IEEE floating point]] numbers * [[null-terminated string|Null-terminated]] arrays of eight-bit encoded data (C-style [[string (computer science)|string]]s) * arbitrary sized [[Binary large object|blob]] (e.g. audio data, or a video frame) An example message is included in the spec (with null padding bytes represented by ␀): <code>/oscillator/4/frequency␀,f␀␀</code>, Followed by the 4-byte float32 representation of 440.0: 0x43dc0000.<ref>{{Cite web |last=Wright |first=Matt |date=March 29, 2002 |title=Examples Supporting the OpenSoundControl 1.0 Spec |url=https://opensoundcontrol.stanford.edu/spec-1_0-examples.html#argument |access-date=2023-01-01 |website=opensoundcontrol.stanford.edu |edition=}}</ref> Messages may be combined into bundles, which themselves may be combined into bundles, etc. Each bundle contains a timestamp, which determines whether the server should respond immediately or at some point in the future.<ref name=":1" /> Applications commonly employ extensions to this core set. More recently some of these extensions such as a compact Boolean type were integrated into the required core types of OSC 1.1. The advantages of OSC over [[MIDI]] are primarily internet connectivity; [[data type]] resolution; and the comparative ease of specifying a symbolic path, as opposed to specifying all connections as seven-bit numbers with seven-bit or fourteen-bit data types.<ref name=":1">{{cite web |last=Wright |first=Matt |date=March 26, 2002 |title=The Open Sound Control 1.0 Specification |url=https://opensoundcontrol.stanford.edu/spec-1_0.html |access-date=22 December 2019 |website=opensoundcontrol.org |edition=}}</ref> This human-readability has the disadvantage of being inefficient to transmit and more difficult to parse by embedded firmware, however.<ref name=":0" /> The spec does not define any particular OSC Methods or OSC Containers. All messages are implementation-defined and vary from server to server. == References == {{reflist}} * Schmeder, A., Freed, A., and Wessel, D., "Best practices for Open Sound Control", Linux Audio Conference, Utrecht, The Netherlands, 2010. * Freed, A., Schmeder, A., "Features and Future of Open Sound Control version 1.1 for NIME", NIME Conference 2009. * Wright, M., Freed, A., "Open Sound Control: A New Protocol for Communicating with Sound Synthesizers", International Computer Music Conference, Thessaloniki, Greece, 1997. * Patrick-Gilles Maillot, "UNOFFICIAL X32/M32 OSC REMOTE PROTOCOL", https://drive.google.com/file/d/1Snbwx3m6us6L1qeP1_pD6s8hbJpIpD0a/view?usp=share_link, 2012. * Patrick-Gilles Maillot, "OSC Remote Control Documentation for WING", https://mediadl.musictribe.com/download/software/behringer/WING/BE-P0BV2-WING-OSC-Documentation-0.59.pdf, 2020. == External links == * {{Official website|http://opensoundcontrol.org/}} * [http://www.linuxjournal.com/content/introduction-osc Introduction to OSC] at LinuxJournal * [https://github.com/fabb/SynOSCopy/wiki SYN], a standardized namespace within OSC * [https://github.com/pmaillot/X32-Behringer X32-Behringer], a collection of programs and tools for the X32 digital console, based on OSC * [https://sites.google.com/site/patrickmaillot/wing#h.xitnoyg1gpny patrickmaillot/wing], a collection of OSC based utilities for the WING personal digital mixing console * [https://sites.google.com/site/patrickmaillot/x32 patrickmaillot/x32], a collection of OSC based utilities for the X32/M32 family of digital mixing consoles [[Category:Audio communications protocols]] [[Category:Electronic musical instruments]] [[Category:Digital media]] [[Category:Sound production technology]] [[Category:Music notation file formats]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation needed
(
edit
)
Template:Cite web
(
edit
)
Template:Columns-list
(
edit
)
Template:No footnotes
(
edit
)
Template:Official website
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)