Alternate Firmware: bytebeats :)#1
Conversation
|
Interesting, I'll have to try this out :) Unsure how github works, I shouldnt merge this, it should be its own branch I guess. |
I was just playing with it. It's great. But I like feeding bytebeats through old analog filters :)
Well, my foo is in an 'alt' directory but I did make one change to your code. Which you should merge :) You had a call to map(x, a,b, c, d) where the var x which is to be scaled was at the end. Not the correct order. But, it's trivial. If you agree with the correction, that's the only change to your code. The rest is 'on it's own'.
I think it's just high frequency from the arduino. Most of those get noisy unless you can really isolate analog and digital ground. I usually ground everything 'digital' to the ground on one side (the digital side) and only attach analog ground next to vin. then add filters close to vin and ground on the 'analog' side. Still not perfectly quiet. I have a lofi drum machine in the rack that has the same issue. I'm building analog drums to get around that :) |
|
Just a note about branches. Usually, 'work' is done on those before merges. I 'should' have put my work in a branch of its own. But, I don't use github that way. I always work directly against master. I don't get 'that many' pull requests, but I usually just directly merge. That's for 'discrete' contributions. When it get's more complicated, I insist on branching and so because a lot of things can 'break'. |
|
One more note, sorry. The DAC works really well. I usually pound out 8 bits via pwm on timer 1. I set up the sketch to use the extra bits and it works really well. Nice sound. The formulas need to be tweaked a bit more, but a lot 'just works' ... in it's own way :) And the dac sounds good. I think your DAC sounds better than pwm on one pin. |
This is funny :) I was working on my bytebeat box: https://github.com/poetaster/rampart and after hours of sorting math, I needed a break. So I built S|TH. That was fun. Nice break. BUT, it was too noisy to use. I also have an analog SH which works well. So, I squinted at S|TH and did a quick port of my firmware. It's great!
In the main, there's about 40 formulas (not all work, I usually use timer1 for pwm, so it's a different game). It's a good deal of fun. Maybe you have time at some point and want to play around. In any case, it's a good alternate use of the hardware for me :)
Thanks for all your work!