VCVRack / AudibleInstruments

VCV Rack plugin based on Mutable Instruments Eurorack modules
https://vcvrack.com/AudibleInstruments.html
Other
390 stars 83 forks source link

Add Clouds and Branches input normalizations #9

Closed mhetrick closed 7 years ago

mhetrick commented 7 years ago

The inputs on Clouds and Branches now act as they do on their hardware counterparts. The Clouds code could potentially be more efficient. I think something like

const float leftSample = getf(inputs[IN_L_INPUT]);
const float rightSample = inputs[IN_R_INPUT] ? getf(inputs[IN_R_INPUT]) : leftSample;

could work just to avoid the extra getf calls.

AndrewBelt commented 7 years ago

Thanks! I don't have Clouds so I missed this about its functionality.