reduzent / netpd-instruments

instruments (synths, sequencers, utilities, etc) to be used with netpd
http://www.netpd.org
20 stars 4 forks source link

mx: osc path inconsistency #43

Closed reduzent closed 2 years ago

reduzent commented 2 years ago

When loading an effect into an insert, the path of the effect parameters is different from the path of the loading itself:

[..b] /1/mx/mx/insert/1/load rphase
[..b] /1/mx/insert/1/rphase/freq 0.0909091

This is an example of an effect in an insert in the main section. The same applies also to the inserts of the instruments:

[..b] /2/sine/mx/insert/1/load rphase
[..b] /2/sine/insert/1/rphase/freq 0.0909091

The loading probably should rather use:

/2/sine/mx/insert/1/load rphase
reduzent commented 2 years ago

Fixing the path would break all saved states using the old scheme. If this is going to be fixed, a listener for the old path should be added so that the loading works for saved states using the old scheme.