Katana MK2 - SYSEX for Foot Controller

Started by Bauerbyter, January 21, 2020, 10:20:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bauerbyter


https://github.com/bauerbyter/KatanaFootController

He Guys,
i am building my own controller for the Katana 100 MK2 (like vcontroller) but want to have my own spin of it :-)
I was capturing the SYSEX messages from Tone STudio to Katana and saw a lot of differences between MK1 and MK2 (looks like nothing is the excactly same).
Maybe we can work here a bit together to get all the information, but my biggest problem is:

I cant enter "Edit Mode" without the Tone Studio, I know in the normal katana there were just two commands: handshake and enable edit mode and when I start Tone Studio I can also see two sysex messages followed by <bunch of data> but when I send them directly, nothing happens.
Does anyone have a clue?

Thanks in Advance.

BTW, things i found out:
Switching Channel:
Channel 1: F0 41 00 00 00 00 33 12 00 01 00 00 00 01 7E F7
Channel 2: F0 41 00 00 00 00 33 12 00 01 00 00 00 02 7D F7
Channel 3: F0 41 00 00 00 00 33 12 00 01 00 00 00 03 7C F7
Channel 4: F0 41 00 00 00 00 33 12 00 01 00 00 00 04 7B F7
Channel 5: F0 41 00 00 00 00 33 12 00 01 00 00 00 05 7A F7
Channel 6: F0 41 00 00 00 00 33 12 00 01 00 00 00 06 79 F7
Channel 7: F0 41 00 00 00 00 33 12 00 01 00 00 00 07 78 F7
Channel 8: F0 41 00 00 00 00 33 12 00 01 00 00 00 08 77 F7

accoust
F0 41 00 00 00 00 33 12 60 00 00 21 01 7E F7

Clean
F0 41 00 00 00 00 33 12 60 00 00 21 08 77 F7

Clean Variation
F0 41 00 00 00 00 33 12 60 00 00 21 1D 62 F7

Crunch
F0 41 00 00 00 00 33 12 60 00 00 21 0B 74 F7
LEAD
F0 41 00 00 00 00 33 12 60 00 00 21 18 67 F7

Brown
F0 41 00 00 00 00 33 12 60 00 00 21 17 68 F7

Brown Variation
F0 41 00 00 00 00 33 12 60 00 00 21 20 5F F7

-- EFFECTS OFF/ON---
=> Booster
F0 41 00 00 00 00 33 12 60 00 00 10 00 10 F7
F0 41 00 00 00 00 33 12 60 00 00 10 01 0F F7

=> MOD
F0 41 00 00 00 00 33 12 60 00 01 00 00 1F F7
F0 41 00 00 00 00 33 12 60 00 01 00 01 1E F7

=> FX
F0 41 00 00 00 00 33 12 60 00 03 00 00 1D F7
F0 41 00 00 00 00 33 12 60 00 03 00 01 1C F7

=> Delay
F0 41 00 00 00 00 33 12 60 00 05 00 00 1B F7
F0 41 00 00 00 00 33 12 60 00 05 00 01 1A F7

=> Reverb
F0 41 00 00 00 00 33 12 60 00 05 40 00 5B F7
F0 41 00 00 00 00 33 12 60 00 05 40 01 5A F7

--------------Effect Color-----------------
--Boost-- G/R/Y
F0 41 00 00 00 00 33 12 60 00 06 39 00 61 F7
F0 41 00 00 00 00 33 12 60 00 06 39 01 60 F7
F0 41 00 00 00 00 33 12 60 00 06 39 02 5F F7

--MOD--
F0 41 00 00 00 00 33 12 60 00 06 3A 00 60 F7
F0 41 00 00 00 00 33 12 60 00 06 3A 01 5F F7
F0 41 00 00 00 00 33 12 60 00 06 3A 02 5E F7

--MOD--
F0 41 00 00 00 00 33 12 60 00 06 3B 00 5F F7
F0 41 00 00 00 00 33 12 60 00 06 3B 01 5E F7
F0 41 00 00 00 00 33 12 60 00 06 3B 02 5D F7

--Delay--
F0 41 00 00 00 00 33 12 60 00 06 3C 00 5E F7
F0 41 00 00 00 00 33 12 60 00 06 3C 01 5D F7
F0 41 00 00 00 00 33 12 60 00 06 3C 02 5C F7

--Reverb--
F0 41 00 00 00 00 33 12 60 00 06 3D 00 5D F7
F0 41 00 00 00 00 33 12 60 00 06 3D 01 5C F7
F0 41 00 00 00 00 33 12 60 00 06 3D 02 5B F7




admin

Many folks here have deciphered the Katana MK2 SYSEX - (Gumtown, Sixeight, Codesmart)

Bauerbyter

This would be nice, but at the moment I just found the MK1 SYSEX (in the code of sixeight, codesmart, hirsch...).

gumtown

attached is the address map from Katana MK2 BTS.

Free "GR-55 FloorBoard" editor software from https://sourceforge.net/projects/grfloorboard/

Bauerbyter

Wow thank you very much! This helps a lot!

sixeight

Quote from: Bauerbyter on January 21, 2020, 10:20:44 AM
He Guys,
i am building my own controller for the Katana 100 MK2 (like vcontroller) but want to have my own spin of it :-)

Always great to start such an endeavour. I have been at it for quite a few years now. So far the VController does not do the Katana MK2 yet. I don't have one. Do keep us posted on your progress.

gumtown

You might want to check out the MK1 Katana USB Host - Midi foot controller project that Forum member SteveO and I had worked on.

https://www.vguitarforums.com/smf/index.php?topic=25185.125

the code can be easily adapted to the MK2

Free "GR-55 FloorBoard" editor software from https://sourceforge.net/projects/grfloorboard/

Bauerbyter

@sixeight: thanks for that. I will keep you up tp date.
@gumtown: i already digged complete through this code and found it (like sixeights code) very helpfull to understand whats going on and I will probably use your modified ms3 library.
My plan is to use 15 Switches and a Nextion Touchdisplay, along with an ESp32/8677 for ipMidi and configuration over WIFI.
Dont know if this will work out, but... we will see :-) 
I am normally a high-level developer and not very good with bitbanging and stuff :-)

Thanks for you help guys!

Bauerbyter

#8
@gumtown: I have gone through your list and this was extremly helpfull. But I have 2 questions:

1. To figure all out, I am at the moment using a software called pocketmidi and the most things are working. But when I send:

F0 7E 00 06 02 41 33 03 00 00 06 00 00 00 F7
F0 41 00 00 00 00 33 12 7F 00 00 00 06 7B F7

What should be the "hello amp, please go to Edit Mode", nothing happens. What am I doing wrong?

2. I know how to set Values, but is there a possibility to ask for status? Something like: what Delay-Type is active? or what the name of the patch? without writing something.

Thanks in advance.

gumtown

With FxFloorBoard editors, I have not bothered with using 'edit/verbose mode'
Data is requested by address and block size

here are examples to request 8 channel and panel patch names

F0 41 00 00 00 00 33 11 10 00 00 00 00 00 00 10 60 F7
F0 41 00 00 00 00 33 11 10 01 00 00 00 00 00 10 5F F7
F0 41 00 00 00 00 33 11 10 02 00 00 00 00 00 10 5E F7
F0 41 00 00 00 00 33 11 10 03 00 00 00 00 00 10 5D F7
F0 41 00 00 00 00 33 11 10 04 00 00 00 00 00 10 5C F7
F0 41 00 00 00 00 33 11 10 05 00 00 00 00 00 10 5B F7
F0 41 00 00 00 00 33 11 10 06 00 00 00 00 00 10 5A F7
F0 41 00 00 00 00 33 11 10 07 00 00 00 00 00 10 59 F7
F0 41 00 00 00 00 33 11 10 08 00 00 00 00 00 10 58 F7

the message breakdown is
F0 41 00 00 00 00 33 = sysx header and Katana device id
11 = data request
10 08 00 00 = patch address and name address
00 00 00 10 = data size (16 byte name)
58 F7 = checksum and sysx end.

Free "GR-55 FloorBoard" editor software from https://sourceforge.net/projects/grfloorboard/

Bauerbyter

Thanks a lot, this is logical, I just had a knot in my head :-D
Okay now I think I can handle it!

Bauerbyter

Okay, the prototyp is working :-) still a lot to do, but basic functionality is there (thanks to all your code I looked through).
Just one Question, I found in the MK2 a booster solo boost and a preamp solo boost. I know what both are, but is there a posibility to change the value of the preamp boost inside the tone studio? Or am i just blind?

gumtown

Quote from: Bauerbyter on January 23, 2020, 10:22:31 AM
Okay, the prototyp is working :-) still a lot to do, but basic functionality is there (thanks to all your code I looked through).
Just one Question, I found in the MK2 a booster solo boost and a preamp solo boost. I know what both are, but is there a posibility to change the value of the preamp boost inside the tone studio? Or am i just blind?

It is not supported in Tone Studio, and I think it is not supported on the Katana.
There are a lot of parameters in the sysx map which don't actually work in the Katana.
Free "GR-55 FloorBoard" editor software from https://sourceforge.net/projects/grfloorboard/

Bauerbyter

ah okay.
But THIS works pretty fine, testet it some minutes ago!

Bauerbyter

If you guys wanna see what I am doing right now: https://github.com/bauerbyter/MidiFootController
I am absolute at the beginning and I stole some code from SteveObert and Gumtown (hope this is okay).

As I said, i am normally not a Hardwareprogrammer, so when you see something I can do better, dont hesitate :-)
Thanks!

mg_gti

Quote from: Bauerbyter on January 23, 2020, 10:22:31 AM
Okay, the prototyp is working :-) still a lot to do, but basic functionality is there (thanks to all your code I looked through).
Just one Question, I found in the MK2 a booster solo boost and a preamp solo boost. I know what both are, but is there a posibility to change the value of the preamp boost inside the tone studio? Or am i just blind?

The preamp solo controls only show up for the MkII Artist. Haven't checked to see if the parameter does anything in the other models.

Bauerbyter

@mg_gti: the boost is working perfectly. I tested it :-)

So alpha version is ready, code is still a bit messy (will clean up the next days), but everything is working just fine. Thank you all for your help.
When I was programming I thought about a lot cool features but after a while I realized that an easy and not complex System is the best for my usage.

But one last question I have, maybe SixEight or someone can answer. How do you calculate the resistors for the expression pedal inputs? It is right now working fine, without any, but I think, there should be some (i saw the schematics of Vcontroller).

admin

Quote from: Bauerbyter on January 28, 2020, 01:31:18 AM
@mg_gti: the boost is working perfectly. I tested it :-)

So alpha version is ready, code is still a bit messy (will clean up the next days), but everything is working just fine. Thank you all for your help.
When I was programming I thought about a lot cool features but after a while I realized that an easy and not complex System is the best for my usage.

But one last question I have, maybe SixEight or someone can answer. How do you calculate the resistors for the expression pedal inputs? It is right now working fine, without any, but I think, there should be some (i saw the schematics of Vcontroller).

Boss Expression Pedals are 10K linear pot wired to a TRS cable like this



External Expression Pedals
https://www.vguitarforums.com/smf/index.php?topic=33.0



sixeight

Quote from: Bauerbyter on January 28, 2020, 01:31:18 AM
But one last question I have, maybe SixEight or someone can answer. How do you calculate the resistors for the expression pedal inputs? It is right now working fine, without any, but I think, there should be some (i saw the schematics of Vcontroller).

I copied the design from the expression/dual switch inputs of the Roland FC300 pedal.

I think it is wise to add some resistors to any pins of the main chip that are exposed to the outside world.

vit3k

#19
Did you guys ever have any issues with long usb cables? For example on stage when you have a controller on your pedalboard and you run long usb cable to amp. Is this connection stable? I'm building something similiar and I'm wondering if this will be issue and I need to build a usb -> midi bridge near katana and then midi cable from controller to bridge.

admin

#20
Quote from: vit3k on January 29, 2020, 07:22:40 AM
Do you guys ever had any issues with long usb cables? For example on stage when you have a controller on your pedalboard and you run long usb cable to amp. Is this connection stable?

3 meters is max length I use - I experience data problems when they are any longer

and pay attention to these details

Choosing the Correct USB Cable for Your Audio/MIDI Hardware Device
https://www.vguitarforums.com/smf/index.php?topic=11086.msg80947#msg80947

sixeight

Quote from: vit3k on January 29, 2020, 07:22:40 AM
Did you guys ever have any issues with long usb cables? For example on stage when you have a controller on your pedalboard and you run long usb cable to amp. Is this connection stable? I'm building something similiar and I'm wondering if this will be issue and I need to build a usb -> midi bridge near katana and then midi cable from controller to bridge.

The big VController has separate raspberry pi that can be close to the USB source and has a 7 pin midi connection for midi in/out and power.

The VC-mini lives has a USB connection. I never use it with long USB cables, as I only use the Katana for practice anyway.

Bauerbyter

#22
Nochmal danke an euch alle! Habe heute die Hülle fertig gebaut. Morgen verlöte ich es noch :-)
Quote
Thanks again to all of you! I finished building the case today. Tomorrow I still solder it :-)

I am not a fan of the GA FC, so i builded my own controller for the Katana MK2. Connected via USB. If you are interested I will show you tomorrow how it works and how to build it.


https://www.facebook.com/photo.php?fbid=1588333328021363&set=gm.1037364403302283&type=3&theater&ifg=1


sixeight

That enclosure looks awesome. Great work! Looks like you have a CNC machine?

Bauerbyter

#24
Thanks, could not make it work without you guys, i have linked you in my github.

And its a Lasercutter, we have a big one in our hackerspace (in Bamberg)

(And sorry for the German in the last post, was a bit hyped :-)  and thanks to the admin to link my facebook post)