MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ osc()

InputBinding MayaFlux::Core::InputBinding::osc ( const std::string &  pattern = "")
static

Bind to OSC messages.

Parameters
patternOSC address pattern to match (empty = all)

Definition at line 19 of file InputBinding.cpp.

20{
21 return {
22 .backend = InputType::OSC,
23 .device_id = 0,
24 .osc_address_pattern = pattern.empty() ? std::nullopt : std::optional(pattern)
25 };
26}
@ OSC
Open Sound Control (network)
Vruta::SoundRoutine pattern(Vruta::TaskScheduler &scheduler, std::function< std::any(uint64_t)> pattern_func, std::function< void(std::any)> callback, double interval_seconds)
Creates a generative algorithm that produces values based on a pattern function.
Definition Tasks.cpp:91

References backend, and MayaFlux::Core::OSC.

Referenced by MayaFlux::bind_osc().

+ Here is the caller graph for this function: