adding_slicer
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
adding_slicer [2024/07/10 22:58] – created ounsatn | adding_slicer [2024/07/10 23:16] (current) – ounsatn | ||
---|---|---|---|
Line 1: | Line 1: | ||
It is really easy to change behaviour of button in prime. | It is really easy to change behaviour of button in prime. | ||
- | First, to allow usage of qml file instead | + | First, to allow usage of qml file instead |
< | < | ||
cd / | cd / | ||
mv KnownDevices.vfsb KnownDevices.bsfv | mv KnownDevices.vfsb KnownDevices.bsfv | ||
</ | </ | ||
+ | |||
+ | When doing this, we tell prime to use qml files located in / | ||
+ | So on prime go it is JP11. | ||
+ | |||
+ | There are two important file, assignment file & device file. | ||
+ | These 2 files mus have the name of the midi sound card of the device. | ||
+ | |||
+ | Here is what we have on PGo : | ||
+ | < | ||
+ | # amidi -l | ||
+ | Dir Device | ||
+ | IO hw: | ||
+ | </ | ||
+ | |||
+ | So QML files must have the same name. | ||
+ | |||
+ | < | ||
+ | # ls -l | ||
+ | total 56 | ||
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
+ | </ | ||
+ | |||
+ | If you omit these 2 files, Mapping is not working so buttons dont work. | ||
+ | |||
+ | We can found templates for each board in each product_code subfolder. | ||
+ | < | ||
+ | # pwd | ||
+ | / | ||
+ | |||
+ | # ls -R | ||
+ | .: | ||
+ | JC11 JC16 JC20 JP07 JP08 JP11 JP13 JP14 JP20 JP21 NH08 NH09 NH10 | ||
+ | |||
+ | ./JC11: | ||
+ | JC11_Controller_Assignments.qml | ||
+ | JC11_Controller_Device.qml | ||
+ | |||
+ | ./JC16: | ||
+ | JC16_Controller_Assignments.qml | ||
+ | |||
+ | ./JC20: | ||
+ | JC20_Controller_Assignments.qml | ||
+ | |||
+ | [...] | ||
+ | </ | ||
+ | |||
+ | |||
+ | So for Prime Go, by default the QML file has not the name " | ||
+ | |||
+ | < | ||
+ | #Syntax : | ||
+ | mv file_oldname filenewname | ||
+ | </ | ||
+ | |||
+ | to add Slicer juste change these lines : | ||
+ | |||
+ | |||
+ | < | ||
+ | PerformanceModes { | ||
+ | ledType: | ||
+ | modesModel: | ||
+ | ListElement { | ||
+ | note: 11 | ||
+ | view: ' | ||
+ | |||
+ | } | ||
+ | ListElement { | ||
+ | note: 12 | ||
+ | view: ' | ||
+ | altView: | ||
+ | shiftView: | ||
+ | } | ||
+ | ListElement { | ||
+ | note: 13 | ||
+ | view: ' | ||
+ | altView: | ||
+ | shiftView: | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | We add SLICER & FIXED on shift + functions ( shift loop & shift roll to get in slice mode ) | ||
+ | |||
+ | |||
+ | After modification restart prime. | ||
+ | |||
+ | Some photos : | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
adding_slicer.1720645094.txt.gz · Last modified: 2024/07/10 22:58 by ounsatn