Flash a SD card with newest Raspbian OS with desktop version
On Raspberry pi:
-
put sd card in
-
plug in keyboard, mouse and monitor
-
plug the power cord
-
follow the instructions to setup the OS, including connect to wifi
-
Once the OS is ready, open the terminal and run the following command to get the IP, which we will use it when back to host
ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d: -f2 | awk '{ print $2}'
-
Type commands underneath to enable ssh
sudo systemctl enable ssh && sudo systemctl start ssh
On host:
- ssh-copy-id to put your ssh key into raspberry pi via
ssh-copy-id -i ~/.ssh/id_rsa.pub pi@the_ip_addr_above
, enter the password you set in step 2 - clone this project to your computer
- download a pianoteq linux version, put the .7z file into library folder of this project
- install ansible if you don't have it via command:
brew install ansible
- run following two command:
$ export PI_IP={{the_ip_addr_at_step_2.5_above}}
$ ansible-playbook -i inventory playbook.yml
Then wait for the device reboot
Note: Some step (especially for the first time while updating the system) might take 10 mins+, so be patient.
On Raspberry pi:
- activate your pianoteq with your serial number
- Connect the speaker/headphone, MIDI controller keyboard
- Config input, output and MIDI settings in the Pianoteq setting menu.
And time to make some noise with fun.