# MIDI Velocity feature

**URL:** <https://forum.dadamachines.com/t/midi-velocity-feature/84>\
**Category:** FAQ / Support\
**Created:** [March 13, 2018, 10:30pm UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84 "2018-03-13T22:30:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomme](https://forum.dadamachines.com/user_avatar/forum.dadamachines.com/tomme/32/20_2.png) [@tomme](https://forum.dadamachines.com/u/tomme)\
**Post date:** [March 13, 2018, 10:30pm UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/1 "2018-03-13T22:30:14Z")

</div>

I suggest an update on sketch to use MIDI note velocity.  
Something like:

velocity=map (velocity, 0, 127, 4, 11);  
digitalWrite(solenoidPIN, HIGH); //Switch Solenoid ON  
delay(velocity);  
digitalWrite(solenoidPIN, LOW); //Switch Solenoid OFF

I tried in my own projects with arduino and sounds good.  
What you think?

---

<div class="post-metadata">

**Author:** ![Tristanamo](https://forum.dadamachines.com/letter_avatar_proxy/v4/letter/t/9de053/32.png) [@Tristanamo](https://forum.dadamachines.com/u/Tristanamo)\
**Post date:** [March 27, 2018, 5:07pm UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/2 "2018-03-27T17:07:40Z")

</div>

Weird, why no reply to this post?  
Velocity would be a game changing’ly great feature! …So, can it be done?

---

<div class="post-metadata">

**Author:** ![johannes](https://forum.dadamachines.com/user_avatar/forum.dadamachines.com/johannes/32/11_2.png) [@johannes](https://forum.dadamachines.com/u/johannes)\
**Post date:** [March 27, 2018, 7:20pm UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/3 "2018-03-27T19:20:24Z")

</div>

@Tristanamo yes it can be done. I actually wanted to put the software on github for a long time. the problem i have right now is to choose the right license. if somebody here has more knowledge about open source licensing help would be appreciated.

---

<div class="post-metadata">

**Author:** ![brian\_smith](https://forum.dadamachines.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@brian\_smith](https://forum.dadamachines.com/u/brian_smith)\
**Post date:** [April 7, 2018, 10:03pm UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/4 "2018-04-07T22:03:31Z")

</div>

Oh wow! What a great feature! I can’t help with the licensing unfortunately, but I’ll be eagerly looking for updates. Meanwhile, I’ll see if I can the Arduino option to work with my novices skills.

---

<div class="post-metadata">

**Author:** ![johannes](https://forum.dadamachines.com/user_avatar/forum.dadamachines.com/johannes/32/11_2.png) [@johannes](https://forum.dadamachines.com/u/johannes)\
**Post date:** [April 15, 2018, 6:16pm UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/5 "2018-04-15T18:16:48Z")

</div>

@tomme @Tristanamo @brian_smith there is a new software V1.1.0 which adds velocity support to the automat.  
You can download it here: [https://dadamachines.com/download/automat-sw\_1.1.0.ino.automat.uf2](https://dadamachines.com/download/automat-sw_1.1.0.ino.automat.uf2)  
To install it on your automat please do the following steps.

1. Connect the automat to your computer via USB
2. Double press the reset button on the backside of the automat
3. There should be a “DRIVE / USB STICK” called “AUTOMAT” in your Explorer / Finder now.
4. Drag the file called **automat-sw\_1.1.0.ino.automat.uf2** on the "DRIVE / USB STICK \> The “DRIVE / USB STICK” should disappear and the automat should be updated and back in operation mode.

The long update process description can be found here: [https://dadamachines.com/getstarted/automat-software-update-process/](https://dadamachines.com/getstarted/automat-software-update-process/)

The Software & the Arduino Board Support Package can be found here:

> **[GitHub - dadamachines/automat: an awesome controller for musicmachines](https://github.com/dadamachines/automat)**
>
> an awesome controller for musicmachines

---

<div class="post-metadata">

**Author:** ![Tristanamo](https://forum.dadamachines.com/letter_avatar_proxy/v4/letter/t/9de053/32.png) [@Tristanamo](https://forum.dadamachines.com/u/Tristanamo)\
**Post date:** [April 15, 2018, 7:18pm UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/6 "2018-04-15T19:18:13Z")

</div>

Fantastic – looking forward to checking it out!

---

<div class="post-metadata">

**Author:** ![tomme](https://forum.dadamachines.com/user_avatar/forum.dadamachines.com/tomme/32/20_2.png) [@tomme](https://forum.dadamachines.com/u/tomme)\
**Post date:** [April 16, 2018, 8:22am UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/7 "2018-04-16T08:22:10Z")

</div>

It doesn’t go back to operation mode…

---

<div class="post-metadata">

**Author:** ![johannes](https://forum.dadamachines.com/user_avatar/forum.dadamachines.com/johannes/32/11_2.png) [@johannes](https://forum.dadamachines.com/u/johannes)\
**Post date:** [April 16, 2018, 8:37am UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/8 "2018-04-16T08:37:14Z")

</div>

That can happen depending on the firmware you have on your unit and the OS you are using.  
You can follow this to fix the issue: [https://dadamachines.com/getstarted/automat-software-update-process/](https://dadamachines.com/getstarted/automat-software-update-process/)

---

<div class="post-metadata">

**Author:** ![tomme](https://forum.dadamachines.com/user_avatar/forum.dadamachines.com/tomme/32/20_2.png) [@tomme](https://forum.dadamachines.com/u/tomme)\
**Post date:** [April 16, 2018, 9:20am UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/9 "2018-04-16T09:20:35Z")

</div>

ok, now it works.  
By testing i like more the results from my patch vel2lenght. For example in this video i made a crescendo/decrescendo and first part is without my patch. The second part is with my patch.  
[https://photos.app.goo.gl/Q1Qk3EcwH1Qvi4wH3](https://photos.app.goo.gl/Q1Qk3EcwH1Qvi4wH3)

---

<div class="post-metadata">

**Author:** ![johannes](https://forum.dadamachines.com/user_avatar/forum.dadamachines.com/johannes/32/11_2.png) [@johannes](https://forum.dadamachines.com/u/johannes)\
**Post date:** [April 16, 2018, 9:27am UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/10 "2018-04-16T09:27:59Z")

</div>

@tomme I would love to have a configuration tool for the automat.  
Like i put it in the campaign: [https://www.kickstarter.com/projects/1481744082/dadamachines-music-machines-for-everyone/](https://www.kickstarter.com/projects/1481744082/dadamachines-music-machines-for-everyone/)  
Because depending on the angle of the solenoid or the solenoid type the velocity behavior has to be changed for the best result.  
Happy for everyone who wants to contribute to the code!  
After the release yesterday i got one email from a user who wants to help. I will spend some time and clean my research / idea document to share it public. As there are already lots of very cool resources out there.

---

<div class="post-metadata">

**Author:** ![tuniel](https://forum.dadamachines.com/user_avatar/forum.dadamachines.com/tuniel/32/28_2.png) [@tuniel](https://forum.dadamachines.com/u/tuniel)\
**Post date:** [April 16, 2018, 9:29pm UTC](https://forum.dadamachines.com/t/midi-velocity-feature/84/11 "2018-04-16T21:29:42Z")

</div>

Just being curious: has anyone an example for using MIDI note velocity in Ableton?
