bhagman / Tone

A Wiring Library to produce square wave tones on arbitrary pins.
MIT License
152 stars 36 forks source link

How to generate drum tones from the Tone function #26

Open shreyas2020e opened 1 year ago

shreyas2020e commented 1 year ago

This may be a stupid question but, is there a way to generate tones of various musical instruments using this function, like guitar and drums or flutes

AdroitBit commented 11 months ago

No.....but with proper current control it's possible I guess? the tone() function generate square wave where it's just 0 and 1 With current control you can reach between 0 and 1 Resulting in proper waveform