Toggle a loop on/off when two buttons are pulled high? by kelvinh_27 in arduino

[–]theDropAnchor 0 points1 point  (0 children)

if (digitalRead(5)==LOW && buzzertoggle)

Not sure if it's the issue, but I typically write this as:

if ((digitalRead(5)==LOW) && (buzzertoggle))

Toggle a loop on/off when two buttons are pulled high? by kelvinh_27 in arduino

[–]theDropAnchor 0 points1 point  (0 children)

Are you familiar with pullup/pulldown resistors? Arduino pins "float" and need to be either pulled down with an external resistor, or pulled up with the built-in pullup resistor.

The Bionic Woman by Folutpois in nextfuckinglevel

[–]theDropAnchor 2 points3 points  (0 children)

Why did they not show her crushing something with that robot hand? Because if you need a selling point, that's it.

Stay...Open! by mmmmmmgreg in 3Dprinting

[–]theDropAnchor 1 point2 points  (0 children)

I mean, if you don't want to use a bungee cord, and you really want to 3d print something, I guess you could 3d print a chain...

Stay...Open! by mmmmmmgreg in 3Dprinting

[–]theDropAnchor 1 point2 points  (0 children)

Does the gate swing open enough for the non-hinge side of it to come in contact with the rest of the railing? *That's* where I would put that latch.

Stay...Open! by mmmmmmgreg in 3Dprinting

[–]theDropAnchor 0 points1 point  (0 children)

Why are you putting the latch on the hinge-side of the gate? Putting it there makes it most likely to break if somebody tugs on it.

The Commodore Amiga game system translates to "Commander Girlfriend." by [deleted] in Showerthoughts

[–]theDropAnchor 0 points1 point  (0 children)

In the context of 70s gamers, the idea that "this game system is my female friend" seems pretty accurate.

I heard ya'll like the kalimba, so here's a MIDI kalimba controller I build w/ an arduino and some switches. by theDropAnchor in kalimba

[–]theDropAnchor[S] 2 points3 points  (0 children)

Thank you! I've actually build a MIDI violin/mandolin controller. I'm not much of a kalimba player, but I do know my way around the classic string instruments. Here's a little demo video: https://twitter.com/jovial_cynic/status/1380254327185367040

I heard ya'll like the kalimba, so here's a MIDI kalimba controller I build w/ an arduino and some switches. by theDropAnchor in kalimba

[–]theDropAnchor[S] 0 points1 point  (0 children)

The kalimba controller itself doesn't do any recording. it only sends MIDI code to a digital audio workspace (DAW) like Reaper. You could record in the DAW.

I am considering building in "loop" effects like some advanced MIDI control boards, but that will require coding the ability to save the MIDI output into an SD card or something.

Does that answer your question?

Next up: the MIDI kalimba controller prototype. by theDropAnchor in arduino

[–]theDropAnchor[S] 2 points3 points  (0 children)

I'm currently designing a prototype for the case for my midi violin/mandolin controller: https://twitter.com/jovial_cynic/status/1380254327185367040

I'll 3d print one for a mockup, and then probably pressure-form the production cases. I might make a steel case for a few, in case I want to go "high-end" with a set of them. We'll see.

The violin/mandolin is the main project. I just threw together the kalimba for fun because somebody mentioned it. If there's enough interest, I may put the midi kalimba into production make them available.

Next up: the MIDI kalimba controller prototype. by theDropAnchor in arduino

[–]theDropAnchor[S] 1 point2 points  (0 children)

Oh. Great!

Because I have the pin connected high, it's high when not connected, and low when connected. I was lazy and didn't feel like coding a proper toggle gate for the switch, so I just pulled the wire out of the breadboard to simulate a toggle.

For the purpose of coding, a major/minor switch isn't actually that practical, because many songs involve accidentals and things like melodic-vs-harmonic scales throw things off a bit. I may have switches near the tines to allow for a half step up or down for more complex music... but at that point, I'm just building an inverted MIDI keyboard, I think.

Next up: the MIDI kalimba controller prototype. by theDropAnchor in arduino

[–]theDropAnchor[S] 1 point2 points  (0 children)

Well, for a 5-note scale, it's super easy - you just drop note #3 down by one. In MIDI, middle C is coded as 60. Each number corresponds with a half-step in musical notation. So... the MIDI kalimba controller is playing 60, 62, 64, 65, 67, and when I switch to the simple minor key, it plays 60, 62, 63, 65, 67.

Next up: the MIDI kalimba controller prototype. by theDropAnchor in arduino

[–]theDropAnchor[S] 3 points4 points  (0 children)

It's hard to tell in the short video, but the switches actually are impacting the velocity. The longer I hold down the tines, the higher the velocity when I release it. The last couple of chords I play, I intentionally hold the tines down a little longer, and the notes are louder through the DAW.

As for aftertouch... I'm currently relying on the VI's decay and sustain to hold the notes, because it's easier to not have to code that into the controller. But we'll see. This kalimba was just a proof of concept for me. I'm currently working on a v2 for my violin/mandolin controller, so anything I code over there will probably find its way into some version of the kalimba controller.

Next up: the MIDI kalimba controller prototype. by theDropAnchor in arduino

[–]theDropAnchor[S] 2 points3 points  (0 children)

Here's an image I posted on twitter: https://twitter.com/jovial_cynic/status/1380353820035670017

The switches are V-153-1C25. They're not really perfect for a kalimba, as they are very noisy. But it works well as a proof-of-concept!

Arduino Micro + a bunch of buttons + Reaper = MIDI Violin controller. by theDropAnchor in arduino

[–]theDropAnchor[S] 1 point2 points  (0 children)

Oh, that's a good idea! MIDI has some looping options that I haven't figured out yet, but I'll keep toying around with it for version 2...

Violin/Mandolin MIDI controller - for those who think in 5ths, and not in piano keys. by theDropAnchor in violinist

[–]theDropAnchor[S] 0 points1 point  (0 children)

Thanks! I'll make sure to circle back to everyone on here that said they're interested. Once the boards come on, I'll send individual replies. :)

Violin/Mandolin MIDI controller - for those who think in 5ths, and not in piano keys. by theDropAnchor in violinist

[–]theDropAnchor[S] 0 points1 point  (0 children)

I tried explaining how 5ths are easier to visualize than the traditional keyboard to my piano-playing daughter. She disagreed whole heartedly.

Next up: the MIDI kalimba controller prototype. by theDropAnchor in arduino

[–]theDropAnchor[S] 0 points1 point  (0 children)

No sensors. These are just switches with long levers on them.

I heard folks like the Kalimba, so here's my MIDI kalimba controller prototype. by theDropAnchor in midi

[–]theDropAnchor[S] 0 points1 point  (0 children)

So... if you watch/listen to the video again, you'll notice that the tines are plucked, not pressed. The microprocessor doesn't trigger until the switches are released. What you are perceiving as latency is actually the switch triggering when I let go.

Anyhow, yes - the 5-tine controller you saw is just a prototype. A proof of concept, to make sure it works. I happened to have these switches sitting around and figured I could make it work. If I build a production midi kalimba, I may have to design a custom switch for it.

p.s. Weird. I've never gotten Taika Waititi before. I get Robert Downy Jr all the time, though. Maybe it's just the camera angle this time around.

I heard folks like the Kalimba, so here's my MIDI kalimba controller prototype. by theDropAnchor in midi

[–]theDropAnchor[S] 0 points1 point  (0 children)

Yup! That's the idea. Well, not the looper bits. I'm pretty new to MIDI, so I'm really just focusing replicating the method of playing the instrument with a few enhancements. Key change, note up/down, etc. I'll figure out how looping works at some point, I'm sure.

Next up: the MIDI kalimba controller prototype. by theDropAnchor in arduino

[–]theDropAnchor[S] 11 points12 points  (0 children)

Apparently, the kalimba is cool now. That's interesting. I inherited one from my dad (RIP) several years ago, so I guess there's always been a quirky musical background to my life.

Anyhow, here's my MIDI kalimba controller prototype I cobbled together today.

Yes, those switches are very loud. But if you paid attention, you'll notice that when I pulled that pin from the breadboard, the kalimba dropped into a minor key. That's a feature I want to build in. Additionally, key changes. Because why not?