Experimenting with ATtiny1626 and Buzzer on TCB #598
Unanswered
GeorgeIoak
asked this question in
Q&A
Replies: 2 comments 2 replies
-
well, over 30years ago on 8080 school computer I did some "synth" by cycling 8 or 16 bits on driven speaker and it definitely had different spectrum/tone, if you can find some FFT simulation on web (only idea) then it can be proven too - so lets try it, sure :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think it has to be that fancy to use FFT, my main goal is to just sound a warning and as I started testing I began to wonder what different sounds I could create if I also varied the duty cycle on these buzzers. I like your thinking outside the box though! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Before I reinvent the wheel I figured I'd ask here if anyone had experimented with different sounds on buzzers. I know you can set different frequencies to get different tones (within reason) but has anyone also experimented with changing the duty cycle?
I've done some initial tests with
tone
andanalogWrite
but it seems like I'm getting some inconsistent results and I'm not sure if that's a function of the buzzer or the way the code is working.Beta Was this translation helpful? Give feedback.
All reactions