Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.16 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.16 KB

Mono to Stereo expander

32bit float version for OpenAudio_ArduinoLibrary

Inputs:

  • mono in, AudioConnection_F32 type

Outputs:

  • left out, AudioConnection_F32 type
  • right out, AudioConnection_F32 type

Test patch:

alt text

API:

void setSpread(float32_t val);
amount of stereo spread. Parameter range: 0.0f to 1.0f.
Example:
monoToStereo.setSpread(1.0f); // apply max stereo spread

void setPan(float32_t val);
panorama setting. Parameter range: -1.0f (max left) to 1.0f (max right), 0.0f = centre.
Example:
monoToStereo.setPan(-0.5f); // set the panorama to 25% left

void setBypass(bool state);
bypass setting: false = effect ON, true = effect OFF

void tglBypass(void);
toggles the bypass setting.

bool getBypass(void);
returns the current bypass setting.

Sound example:

Teensy4 monoToStereo_F32