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!
E major Seventh on Circuit Playground Express?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- jpesco
- Posts: 11
- Joined: Mon May 29, 2017 11:42 pm
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: E major Seventh on Circuit Playground Express?
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.
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.
Please be positive and constructive with your questions and comments.