• 3 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle




  • Fedora is a great foundation for stability and up to date software. I personally use Ultramarine Linux; it’s a general purpose distro based on Fedora, but with more desktop environments, more available packages, more media codecs (plain fedora leaves out a bunch of codecs that you need to play audio or video files), and some more sane defaults. Even with all that, it isn’t noticeably more bloated than Fedora; it just gives you more options and makes it so that you don’t have to follow a “Things You MUST Do After I stalling Fedora” article.

    Wayland works with Nvidia in my experience, and Wayland is remarkably stable and xorg-compatible. Folks will argue about that, but it’s been great for the few years I’ve used it on my laptop and desktop. I know at least Ultramarine installs both, and you can switch between them on the login screen, so give it a shot.

    If your games don’t work, it’s quite normal to dual boot windows just for gaming.

    Also, you might consider making your home folder a separate partition. That means you can reinstall and switch distros while leaving your documents and media and such in place. That said, partitioning manually is hard to get the hang of; let me know if you want some help on that front.














  • The algorithm will ideally be written to be portable the first time around, but its starting out on the instrument because I think the stradella bass layout lends itself to controlling the algorithm manually. Pressing a chord button simultaneously declares what notes you want played, the harmonic funtion you expext them to fulfill, and thereby how they should be tuned in relation to eachother. Other control schemes have a bit of ambiguity of intent, which we can work around, bit i think Stradella is better.

    As for midi specifications, the instrument will have midi input and MPE output (look into MPE if you’re not familiar, great stuff) to controll other digital hardware or software instruments. Once the algorithm is written, I hope it will be repackaged into various other formats (like a VST plugin, or a midi/MPE passthrough that runs on a PC or a dedicated midi hub).




  • Thats the issue, yeah. I haven’t manually read the pins yet, but I just found something strange.

    I connected an LED to one of the column pins to see whether the MCU was sending scanning voltage, and it was. Then I put it in parallel to a row pin to see if the switches were returning that scanning voltage when pressed, and they were. Then I noticed that whenever I added the led to a row pin, the serial monitor showed keypresses for all the keys on that row, and the inverse when I removed the LED.

    So, apparently, this whole time the key matrix library has been designed to work with a pull down resistor rather than reading return voltage. My whole PCB is modeled after mechanical keyboards, so it was not designed for pull down resistors. Now I must rewrite parts of the library or find one meant for a keyboard-style circuit.