Getting MF to send a midi msg when pressed and when released

Home :: MIDIfighter Resources and Discussion :: Getting MF to send a midi msg when pressed and when releasedReply
Getting MF to send a midi msg when pressed and when released
Posted on: 27.04.2011 by Norbert Herreman
Hello

what i want to do is to have the midi fighter send a midi signal when pressed and to repeat the same signal when released. Is this possible and if so how is it possible?
Please bare in mind i have FA knowledge on how to program on of these things.

The reason i want to do this is because I would like momentary control over the effects in ableton. So that when i press and hold the MF button a effect is activated and then deactivated on release.

I have looked at using dummy tracks but this seems like a lot of ho ha as it requires for a dry button that has to be used to deactivated the effect (please correct me if i am wrong on this and if so how to do this properly). Plus it will swap the effect activated effect for another meaning that chaining effects on the MF is not possible.

Take it easy
Adolf Hit
14.05.2012
Put it in Ableton mode - done!
Jermaine Dejoie
12.05.2012
hmmm anyone believe we could get this going with the MF 3D?
Sharda Akbari
12.01.2012
Just had a quick look at the manual and it was not mentioned in it.
Brittanie Godard
08.01.2012
Took me forever to find out how to do this for ableton but THANK YOU so much everyone for this thread!! Super helpful.
Norbert Herreman
09.05.2011
rightio have got it, had to put in the path to the .hex file

The custom .hex works as well, many thank you's this now gives me momentary control on ableton without midi converter or the use of dummy clips.

Super well done on the .hex and also I look forward to post some ableton templates in the near future.


tom
Norbert Herreman
07.05.2011
Firstly thanks again sidetrakd to you and your bro and also cheers photojojo for the suggestion but i can't see how this will allow me to change the values all to midi cc one's, if the answer is right in my face please let me know.

I have hacked out a bit of the back case of my midi fighter to get to the reset and boot buttons which are nicely in place due to the dj tech guys. I can now easily get the MF back into boot mode and have gone back to the latest firmware again (all working).

However I am still not getting it with the flashing of firmware.

does this line of terminal command

dfu-programmer at90usb162 erase &&
dfu-programmer at90usb162 flash --debug 1 midifighter.hex &&
dfu-programmer at90usb162 reset

need to be entered as one string?

e.g.

dfu-programmer at90usb162 erase && dfu-programmer at90usb162 flash --debug 1 midifighter.hex && dfu-programmer at90usb162 reset

and does the midifighter.hex need to have the path to it's location to run properly?

And is there any chance of a video running through this process for noobs like me?

all the best

tom
Leeanna Ayla
07.05.2011
Does this help the original cause any?

- MIDI notes are generated relative to the "basenote", defaults to C3 (MIDI note 36). The Midifighter generates NoteOn (0x90) and NoteOff (0x80) events to signify a note finishing, instead of using a zero velocity NoteOn event.
From this thread.

http://www.djranking s.com/community /showthread.php?t=9960
Norbert Herreman
06.05.2011
Just to update, after a few more tries I just got it into bootmode again and re-flashed with the latest firmware. After this the MF still no long sends midi and will also not go back into bootloader mode.
Norbert Herreman
06.05.2011
hi there, am sorry to say have bad news and don't know how to fix what is wrong.

These are the steps I have taken.

At first the midi fighter was up to date with the latest MFUpdate this was installed via a mac and worked fine.

I followed the instruction about downloading xcode and then installing macports, all of which were installed properly.

I open a terminal and entered

sudo /opt/local/bin/port install dfu-programmer


which ran properly i then put the MF in to bootloader mode
then i entered

dfu-programmer at90usb162 erase &&

and then

dfu-programmer at90usb162 flash --debug 1 midifightercc.hex &&

finally

dfu-programmer at90usb162 reset

The midi fighter hex was on the desktop at the time.

after taking these steps I check in ableton and no midi values were being received. Also now the midi fighter does not want to go into bootloader mode. At this point I am now stuck for what to do.

Please any help welcome
Hunter Renslow
30.04.2011
Did you test to see if it works?
All firmware related credit goes to my brother!He's the one I turn to for that!The fact that he lives just across the road and can do all that is awesome!!
Every time I have a new idea I'm over asking "how can we do this" or "how can we make this work".
Venetta Cawyer
28.04.2011
Just wanted to pop in the thread here and say how awesome it is, members of this community helping eachother out with stuff like this!

+gazillion internets to sidetrakd

Kthnxbye
Meg Reinoehl
28.04.2011
hot damn
Norbert Herreman
28.04.2011
AWESOME!! will give it a spank in the morning
Hunter Renslow
28.04.2011
Here you go.I couldnt test it though,my midifighters fried!Let me know how it goes
Norbert Herreman
29.04.2011
hello sidetrakd, yes yes yes please if you could that would be amazing!

a thousands thank you's
Hunter Renslow
29.04.2011
Originally Posted by theorist
Cheers again for help and quick reply.

If anyone knows how to change the midi notes to midi cc please let me know or if one of the software designers is reading this could you please tell me how to add this to the MF fighter menu.

Its just a few minor changes in the firmware,can do it for you later toevening if you need.
Tatum Ansaldo
28.04.2011
oops shit just read your post again and realised you're using ableton.

Don't know a massive amount about ableton midi mapping, but it's still true that the buttons output a note=0 command on release.

If you really do need CCs, Bome's midi translator is probably your best bet.
Tatum Ansaldo
28.04.2011
It's not possible, all you can change is the midi channel, but luckily that's not necessary anyways.

The midifighter already sends a button off signal as that's the way midi works, rather than send constant data while a button is held it uses on (usually 127) notes and off (zero) notes.

All you need to do is map your release command to the button but tick the 'invert' box at the bottom. It will then activate on release as opposed to press.
Norbert Herreman
28.04.2011
Cheers again for help and quick reply.

If anyone knows how to change the midi notes to midi cc please let me know or if one of the software designers is reading this could you please tell me how to add this to the MF fighter menu.
Meg Reinoehl
27.04.2011
I have no idea. I'm not even sure if the MIDI Fighter has that functionality.

I just know that in Live, that's how you would be able to achieve that kind of functionality.
Norbert Herreman
27.04.2011
Firstly thank you for the quick reply, most appreciate. It does however lead me onto another question

How to get the midi fighter to send cc data instead of notes? Just had a quick look at the manual and it was not mentioned in it.

cheers again
Meg Reinoehl
27.04.2011
What you need to do is have the MIDI Fighter not send note data and instead send MIDI CC's when pressing a button.

I verified this using a TouchOSC layout that I also use to have a MIDI Fighter on my iPad. When the buttons were assigned to a note (C1, C#1, etc.), I would have to press the button to turn the effect on and then press it again to turn it off. When I changed the button to a MIDI CC, I could press and hold the button to keep the effect on and then upon release of the button the effect would turn off.

Hope that helps.

<< Back to MIDIfighter Resources and DiscussionReply

Copyright 2012-2023
DJRANKINGS.ORG n.g.o.
Chuo-ku, Osaka, Japan

Created by Ajaxel CMS

Terms & Privacy