Custom Arp Patterns in standalone mode for MPCs and Force - TheKikGen/MPC-LiveXplore GitHub Wiki
__ __| | | /_) | ___| | |
| __ \ _ \ ' / | | / | _ \ __ \ | _` | __ \ __|
| | | | __/ . \ | < | | __/ | | | ( | | |\__ \
_| _| |_|\___| _|\_\_|_|\_\\____|\___|_| _| _____|\__,_|_.__/ ____/
(Quick way at the bottom of that page).
First, you need to update your MPC/Force with a modified image enabling SSH.
Check the top of the home page of this site.
Copy the file to the root directory of a USB Key, then choose update in the settings, info screen , as you do usually.
Modified images are official Akai updates with modifications concerning only SSH server activation on your device.
Nothing else will be affected.
After the upgrade, you should be able to connect with an SSH client.
Go to the settings and connect your MPC to your WIFI network.
Once connected, you will need its IP address (something like 192.168.1.25).
Your router will be able to give it to you.
Once you get your MPC's IP address, open a command line terminal (under Windows enter "cmd" in the search bar), and enter :
c:\Users\TheKikGen>ssh root@(your MPC IP) ls '/usr/share/Akai/SME0/Arp Patterns'
Arp patterns are stored on your MPC's file system at : /usr/share/Akai/SME0/Arp Patterns.
Note the single quotes because of the space in "Arp Patterns" directory name.
If it is your first connnection, you will get the following SSH warning :
The authenticity of host '192.168.1.25 (192.168.1.25)' can't be established.
RSA key fingerprint is SHA256:fjfhghfkS2uSTlAysn2DPbVf2QoBkEzypx1RFgpUuBA.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.2.25' (RSA) to the list of known hosts.
As shown above, simply enter "yes" to trust your MPC as a SSH server, and you will get the result of the "ls" command above.
000-Chord-Chill Out 01.mid
001-Chord-Chill Out 02.mid
002-Chord-Chill Out 03.mid
003-Chord-Dance 01.mid
004-Chord-Dance 02.mid
005-Chord-Dance 03.mid
(etc...)
The MPC root file system is mounted as read only, so we can't copy directly files to that directory.
We must first remount the file system as read write, but before, it is necessary to stop the MPC application.
(replace the IP addr with yours)
C:\Users\TheKikGen>ssh [email protected] systemctl stop inmusic-mpc
C:\Users\TheKikGen>ssh [email protected] mount remount -o rw,remount /
C:\Users\TheKikGen>
Now, we are ready to upload some new patterns. We'll use the "scp
scp /path/to/files root@(Your MPC IP addr):/path/to/destination
To copy files from your MPC, use :
scp root@(Your MPC IP addr):/path/to/files /path/to/destination
Let's say I want to copy midi files from my local Windows "TKGL_Arp Patterns" directory to the standalone MPC pattern directory, I will enter the following scp command :
c:\Users\TheKikGen>scp "c:\Users\TheKikGen\TKGL_Arp Patterns\*.mid" "[email protected]:'/usr/share/Akai/SME0/Arp Patterns/'"
999-zz-SynthPoly Urban2X5 6.mid 100% 752 245.9KB/s 00:00
999-zz-SynthPoly Urban2X5 7.mid 100% 200 97.9KB/s 00:00
999-zz-SynthPoly Urban2X5 8.mid 100% 680 332.2KB/s 00:00
999-zz-SynthPoly Urban2X5 9.mid 100% 204 98.5KB/s 00:00
999-zz-SynthPoly Urban3 1.mid 100% 456 89.0KB/s 00:00
999-zz-SynthPoly Urban3 10.mid 100% 333 162.9KB/s 00:00
(etc...)
C:\Users\TheKikGen>
Finally, we remount the file system as read only, and restart the MPC application :
C:\Users\TheKikGen>ssh [email protected] mount remount -o ro,remount /
C:\Users\TheKikGen>ssh [email protected] systemctl restart inmusic-mpc
C:\Users\TheKikGen>
I assume you have enabled SSH on your MPC/Force.
ssh root@(Your MPC Ip addr) systemctl stop inmusic-mpc
ssh root@(Your MPC Ip addr) mount remount -o rw,remount /
scp "(your local patterns directory)\*.mid" "root@(Your MPC Ip addr):'/usr/share/Akai/SME0/Arp Patterns/'"
ssh root@(Your MPC Ip addr) mount remount -o ro,remount /
ssh root@(Your MPC Ip addr) systemctl restart inmusic-mpc