Open possibly-human opened 6 months ago
Multiplying oscillators as suggested in https://sofapirate.github.io/Plaquette/getting_started.html returns the following error : "error: ambiguous overload for 'operator*' (operand types are 'pq::SquareOsc' and 'pq::SquareOsc'"
The multiplying operator '*' is not multiplying numbers but SquareOsc objects
"(myOsc myOsc1) >> myLed;" does not work but "(float(myOsc) float(myOsc1)) >> myLed;" does
A proper fix would be to explicitely add an operator to multiply two Node objects (and we should also add other operators +-/)
Multiplying oscillators as suggested in https://sofapirate.github.io/Plaquette/getting_started.html returns the following error : "error: ambiguous overload for 'operator*' (operand types are 'pq::SquareOsc' and 'pq::SquareOsc'"
The multiplying operator '*' is not multiplying numbers but SquareOsc objects
"(myOsc myOsc1) >> myLed;" does not work but "(float(myOsc) float(myOsc1)) >> myLed;" does