Skip to content

Add new output mode MOZZI_OUTPUT_PWM_PP [enhancement] #311

Description

@evil-gears

Hello, I would like to suggest a new PWM output mode for people like me who have no external DAC but still want a louder audio output and have a spare GPIO pin.

The idea is: in this new mode, MOZZI_AUDIO_PIN_2 would output exactly the inverse of MOZZI_AUDIO_PIN_1, much like in this example:

Image

Since Mozzi already supports stereo output on those pins, I think that shouldn't be too hard. The only catch is that when idle (no sound playing), MOZZI_AUDIO_PIN_2 must always be held at LOW so that it does not burn out the driver/speaker the pins are attached to.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions