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

◆ to_binding_osc()

InputBinding MayaFlux::Core::InputDeviceInfo::to_binding_osc ( const std::string &  pattern) const

Definition at line 132 of file InputBinding.cpp.

133{
134 return InputBinding {
135 .backend = backend_type,
136 .device_id = id,
137 .osc_address_pattern = pattern.empty() ? std::nullopt : std::optional(pattern)
138 };
139}
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
uint32_t id
Unique device identifier within backend.
InputType backend_type
Which backend manages this device.

References MayaFlux::Core::InputBinding::backend, backend_type, and id.