User Tools

Site Tools


adding_slicer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
adding_slicer [2024/07/10 23:01] ounsatnadding_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 and remap , rename file KnownDevices.vfsb to something else+First, to allow usage of qml file instead of internal mapping , rename file KnownDevices.vfsb to something else
 <code> <code>
 cd /usr/Engine/Content cd /usr/Engine/Content
Line 18: Line 18:
 Dir Device    Name Dir Device    Name
 IO  hw:0,0, PRIME GO Control Surface IO  hw:0,0, PRIME GO Control Surface
-IO  hw:1,0, Akai Pro AFX MIDI 1 
 </code> </code>
 +
 +So QML files must have the same name. 
 +
 +<code>
 +# ls -l
 +total 56
 +-rw-r--r--    1 root     root          4463 Jul 10 22:14 PRIME_GO_Control_Surface_Assignments.qml
 +-rw-r--r--    1 root     root          3091 May 28 04:49 PRIME_GO_Control_Surface_Device.qml
 +</code>
 +
 +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. 
 +<code>
 +# pwd
 +/usr/Engine/AssignmentFiles/PresetAssignmentFiles
 +
 +# ls -R
 +.:
 +JC11  JC16  JC20  JP07  JP08  JP11  JP13  JP14  JP20  JP21  NH08  NH09  NH10
 +
 +./JC11:
 +JC11_Controller_Assignments.qml  JC11_Display_Assignments.qml     JC11_Mixer_Assignments.qml
 +JC11_Controller_Device.qml       JC11_Display_Device.qml          JC11_Mixer_Device.qml
 +
 +./JC16:
 +JC16_Controller_Assignments.qml  JC16_Controller_Device.qml       JC16_Display_Assignments.qml     JC16_Display_Device.qml
 +
 +./JC20:
 +JC20_Controller_Assignments.qml  JC20_Controller_Device.qml       JC20_Display_Assignments.qml     JC20_Display_Device.qml
 +
 +[...] 
 +</code>
 +
 +
 +So for Prime Go, by default the QML file has not the name "PRIME_GO_Control_Surface_Device.qml", its something else , so just rename your files with mv to have this name.
 +
 +<code> 
 +#Syntax :
 +mv file_oldname filenewname
 +</code>
 +
 +to add Slicer juste change these lines : 
 +
 +
 +<code>
 + PerformanceModes {
 + ledType: LedType.RGB
 + modesModel: ListModel {
 + ListElement {
 + note: 11
 + view: 'CUES'
 +
 + }
 + ListElement {
 + note: 12
 + view: 'LOOPS'
 + altView: 'AUTO'
 + shiftView: 'SLICER'
 + }
 + ListElement {
 + note: 13
 + view: 'ROLL'
 + altView: 'SAMPLER'
 + shiftView: 'FIXED'
 + }
 + }
 + }
 +
 +</code>
 +
 +We add SLICER & FIXED on shift + functions ( shift loop & shift roll to get in slice mode )
 +
 +
 +After modification restart prime.
 +
 +Some photos : 
 +
 +{{http://dnttalo.cluster029.hosting.ovh.net/Pictures/SlicePgo.jpg}}
 +
 +
  
  
adding_slicer.1720645260.txt.gz · Last modified: 2024/07/10 23:01 by ounsatn

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki