Skip to content

Alternate Firmware: bytebeats :)#1

Open
poetaster wants to merge 6 commits into
SourceryOne:mainfrom
poetaster:main
Open

Alternate Firmware: bytebeats :)#1
poetaster wants to merge 6 commits into
SourceryOne:mainfrom
poetaster:main

Conversation

@poetaster

Copy link
Copy Markdown

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!

@SourceryOne

Copy link
Copy Markdown
Owner

Interesting, I'll have to try this out :) Unsure how github works, I shouldnt merge this, it should be its own branch I guess.
May I ask in which way the SITH was noisy? You mean digital noise? or that the resolution was to low?

@poetaster

Copy link
Copy Markdown
Author

Interesting, I'll have to try this out :)

I was just playing with it. It's great. But I like feeding bytebeats through old analog filters :)

Unsure how github works, I shouldnt merge this, it should be its own branch I guess.

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'.

May I ask in which way the SITH was noisy? You mean digital noise? or that the resolution was to low?

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 :)

@poetaster

Copy link
Copy Markdown
Author

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'.

@poetaster

poetaster commented Feb 21, 2025

Copy link
Copy Markdown
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants