Open nanu-c opened 6 years ago
and it works ;)
Thanks so much nanu-c – will leave this issue open for others to reference.
@nsynthsuper @nanu-c is it possible to make an image for this, I've been hitting a lotttt of snags bouncing between these two instruction sets and cannot always find the correct packages referenced. Please and thanks!
Set up the rpi 3 b+
get latest raspbian as described on https://www.raspberrypi.org/downloads/raspbian/
Do the things in section 3 and 4 from https://github.com/googlecreativelab/open-nsynth-super/tree/master/linux#3-prepare-the-os
get nsyth from git
Set up the firmeware
follow the guide from here https://github.com/googlecreativelab/open-nsynth-super/tree/master/firmware#installation-guide -> get
en.stm32cubef0.zip
from http://www.st.com/en/embedded-software/stm32cubef0.html and put in /home/pi/open-nsynth-super-master/firmware/get the depencies
$ cd /home/pi/open-nsynth-super-master/firmware/utils && sudo ./install_dependencies.sh
-> this takes a whiledon't do this
$ mv STM32Cube_FW_F0_V1.9.0 cube
it gives then the errormake: *** No rule to make target '../STM32Cube_FW_F0_*/Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030xc.s', needed by '../bin/main.elf'. Stop.
flash chip
$ make install
copy audio files
https://github.com/googlecreativelab/open-nsynth-super/tree/master/linux#4-copy-audio-files
Set up latest openframework from git
get latest openframeworks from git
$ cd ~ && mkdir opt/ && cd opt/ && git clone --depth=1 https://github.com/openframeworks/openFrameworks.git
rename the openframeworks folder to be compatible with manual
$ mv openFrameworks of
get openframeworks dependencies
$ cd of/scripts/linux/debian && sudo ./install_dependencies.sh
get libs for openframeworks
$ cd ~/opt/of/scripts/linux && download_libs.sh
copy the files from https://github.com/googlecreativelab/open-nsynth-super/tree/master/app/open-nsynth to
$ mkdir /home/pi/opt/of/apps/open-nsynth && cp -r /home/pi/open-nsynth-super-master/app/open-nsynth /home/pi/opt/of/apps/open-nsynth/
replace in the code
Poco::FastMutex
withstd::mutex
-> this is in various filesadd
ofxPoco
to addons.makebuild the app in
~/opt/of/apps/open-nsynth/open-nsynth
with$ make -j4
-> this takes a whileget the settings.json in the right place
https://github.com/googlecreativelab/open-nsynth-super/tree/master/linux#4-copy-audio-files
test if it's running with
$ bin/open-nsynth
get nsynth dependencies
$ cd ~/open-nsynth-super-master/linux
edit ./nsynth-setup.sh and edit the section replace every
gstreamer0.10
withgstreamer1.0
remove the follow section:
run it
$ sudo sh ./nsynth-setup.sh
reboot
$ sudo reboot