Crate oscq_rs

Source

Modules§

osc

Structs§

OSCNode
Representation of a Node in the OSCQuery tree data structure This struct can be serialized into a JSON string. This JSON then will follow the OSCQuery protocol
OscHostInfo
OSCQuery Host Information Section
OscQueryParameter
OscQueryParameter describes a single OSC Value for use in the OSCQuery Protocol the OSCQuery Protocol adds a more detailed description to the OSC Value

Enums§

OSCAccess
description of the OSCQuery Access Rules
OSCAngle
The OSCAngle enum defines a set of units for angle measurements, incl uding degrees and radians.
OSCDistance
The OSCDistance enum defines a set of units for distance measurements, including meters, kilometers, decimeters, centimeters, millimeters, micrometers, nanometers, picometers, inches, feet, miles, and pixels.
OSCGain
The OSCGain enum defines a set of units for gain measurements, including linear (normalized range mapping to (-inf 0dB]), midigain (MIDI-adapted gain with recommended mapping), db (clipped to a minimum headroom value), and db-raw (not clipped).
OSCSpeed
The OSCSpeed enum defines a set of units for speed measurements, including meters per second, miles per hour, kilometers per hour, knots, feet per second, feet per hour, and pixels per second.
OSCTime
The OSCTime enum defines a set of units for time and pitch measurements, including seconds, bark, bpm, cents, hz, mel, midinote (MIDI note convention), milliseconds, speed, and samples.
OSCUnit
The OSCUnit enum is a composite enum that defines the unit types of measurements supported by the OSCQuery protocol. It includes:

Functions§

run_oscquery_service
Runs an OSCQuery server on the given socket address, serving the OSCNode rooted at root.
spawn_oscquery_service
Spawns a new thread to run the OSCQuery service with the provided root OSCNode and address.