Waveform music (multiple notes) #677
Replies: 3 comments
-
Posted at 2015-03-27 by @gfwilliams Actually just any multi-track music would be great. You could do something like this:
As you might have guessed by now I'm not very musical :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-03 by user71304 Hi, So, could you please help me to achieve the similar functionality. Regards |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-04 by @gfwilliams See here: http://www.espruino.com/Puck.js+Keyboard
Should do it. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-03-27 by @gfwilliams
Hi, I was just messing around, and realised I'd added the ability to play more than one Waveform at once on the same output a while back, but had never shown it in use.
So...
Tetris music - not hi-fi quality, but it sounds pretty old-school :)
You might want to change
pinMode(B0, "af_opendrain");
if you're not using a Pico (it was running on the FET output to get a bit of volume).It'd be great if someone wanted to add another track so it actually was properly polyphonic. At the moment it's just playing overlapping waveforms (rather than actual different notes).
Beta Was this translation helpful? Give feedback.
All reactions