Mixer: Default OSC paths are CV. Use /unscaled for exact input.
This commit is contained in:
parent
812fad8567
commit
5027e65d13
|
@ -241,11 +241,11 @@ Module::Port::change_osc_path ( char *path )
|
||||||
_osc_path_cv[0] = 0;
|
_osc_path_cv[0] = 0;
|
||||||
|
|
||||||
strcpy( _osc_path_cv, path );
|
strcpy( _osc_path_cv, path );
|
||||||
strcat( _osc_path_cv, "/cv" );
|
strcat( _osc_path_cv, "/unscaled" );
|
||||||
|
|
||||||
mixer->osc_endpoint->add_method( path, "f", &Module::Port::osc_control_change_exact, this, "value" );
|
mixer->osc_endpoint->add_method( path, "f", &Module::Port::osc_control_change_cv, this, "value" );
|
||||||
|
|
||||||
mixer->osc_endpoint->add_method( _osc_path_cv, "f", &Module::Port::osc_control_change_cv, this, "value" );
|
mixer->osc_endpoint->add_method( _osc_path_cv, "f", &Module::Port::osc_control_change_exact, this, "value" );
|
||||||
|
|
||||||
_osc_path = path;
|
_osc_path = path;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue