Skip to content

Sine wave may be rather quiet - add option to change to square wave #49

Closed
@kevinjwalters

Description

@kevinjwalters

This forum post has made me wonder if MakeCode uses a square wave to drive the CPX speaker. I think these are considerably louder. Might be worth adding that as an option? Or replacement?

The new return to mid point approach for audio means that [0, 65535] isn't great as a minimalist square wave sample. Perhaps something along the lines of [32768, 65535, 65535, 65535, 65535, 65535, 0, 0, 0, 0, 0, 32768] might do the trick?

SEE DISCUSSION in comments about power and heat before selecting square wave as better option!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions