E major Seventh on Circuit Playground Express?

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jpesco
 
Posts: 11
Joined: Mon May 29, 2017 11:42 pm

E major Seventh on Circuit Playground Express?

Post by jpesco »

I'm actually looking for some help!

While using CircuitPython I've got sound using the examples provided in readthedocs see:
http://circuitpython.readthedocs.io/en/ ... ioOut.html

But, I'd like to play a whole real cord: E G# B D#

Does anyone have a clue if this has been done already? Thank you in advance to anyone
who might answer!

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: E major Seventh on Circuit Playground Express?

Post by adafruit_support_mike »

I don't think any existing beep or tone function will do that.

You'll probably have to generate the signals yourself, adding together the waveforms for the three notes and then flipping the output pin on and off to generate PWM duty cycles that correspond to the sum.

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”