ExistentialAudio / Swiftosc
Licence: mit
SwiftOSC is an Open Sound Control client and server framework written in Swift.
Stars: ✭ 180
Programming Languages
swift
15916 projects
Labels
Projects that are alternatives of or similar to Swiftosc
Go Osc
Open Sound Control (OSC) library for Golang. Implemented in pure Go.
Stars: ✭ 123 (-31.67%)
Mutual labels: osc
Osc Js
OSC library for Node.js, Electron, Chrome Apps, Webpages or any other JS application. It comes with a customizable Plugin API for WebSocket, UDP or bridge networking
Stars: ✭ 135 (-25%)
Mutual labels: osc
X32 Behringer
This GIT repo (C language) holds applications and utilities for the Behringer X32 and M32 mixing consoles. Additional details, documentation, implementation examples and apps can be found in my website:
Stars: ✭ 97 (-46.11%)
Mutual labels: osc
Atemosc
Control ATEM video switchers over the network with OSC messages
Stars: ✭ 147 (-18.33%)
Mutual labels: osc
Libossia
A modern C++, cross-environment distributed object model for creative coding and interaction scoring
Stars: ✭ 133 (-26.11%)
Mutual labels: osc
Oscp5
An Open Sound Control (OSC) implementation for Java and Processing
Stars: ✭ 103 (-42.78%)
Mutual labels: osc
Javaosc
OSC content format/"protocol" library for JVM languages
Stars: ✭ 116 (-35.56%)
Mutual labels: osc
Ofxremoteui
OpenFrameworks addon serves any number of variables (bool, float, int, enum, string, ofColor) on the network, so that you can modify from outside the OF app. Includes a native OSX Client. OSC based.
Stars: ✭ 132 (-26.67%)
Mutual labels: osc
Virtualmotiontracker
Virtual Motion Tracker - バーチャルモーショントラッカー OpenVR OSC Tracker Driver for DIY users
Stars: ✭ 78 (-56.67%)
Mutual labels: osc
Easyvirtualmotioncaptureforunity
バーチャルモーションキャプチャーからOSCで姿勢情報を受信してUnityシーンに反映するスクリプト群です。 UnityPackage1つで簡単導入、ランタイムでももちろん動作。プロトコルは公開されており拡張可能
Stars: ✭ 128 (-28.89%)
Mutual labels: osc
SwiftOSC v1.4
SwiftOSC is a Swift Open Sound Control (OSC) 1.1 client and server framework.
If you are using SwiftOSC in a project, let me know. I would love to make a list of projects using SwiftOSC.
Table of Contents
Installation
pod 'SwiftOSC', '~> 1.4'
OR
Step 1
Clone or download repository from Github.
Step 2
Open SwiftOSC.xcworkspace and build SwiftOSC frameworks.
Step 3
Embed SwiftOSC into project.
Quick Start
OSC Server
Step 1
Import SwiftOSC framework into your project
import SwiftOSC
Step 2
Create Server
var server = OSCServer(address: "", port: 8080)
Step 3
Start server
server.start()
Step 4
Setup server delegate to handle incoming OSC Data
class OSCHandler: OSCServerDelegate {
func didReceive(_ message: OSCMessage){
if let integer = message.arguments[0] as? Int {
print("Received int \(integer)")
} else {
print(message)
}
}
}
server.delegate = OSCHandler()
OSC Client
Step 1
Import SwiftOSC framework into your project
import SwiftOSC
Step 2
Create client
var client = OSCClient(address: "localhost", port: 8080)
Step 3
Create a message
var message = OSCMessage(
OSCAddressPattern("/"),
100,
5.0,
"Hello World",
Blob(),
true,
false,
nil,
impulse,
Timetag(1)
)
Create a bundle
var bundle = OSCBundle(Timetag(secondsSinceNow: 5.0), message)
Step 4
Send message
client.send(message)
Send bundle
// If the server fully supports timetags, like SwiftOSC, the bundle will be delivered at the correct time.
client.send(bundle)
Projects Using SwiftOSC
For additional information on Open Sound Control visit http://opensoundcontrol.org/.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].