Embedded-Miku is a program which processes audio input in real-time and creates a rythm game out of the processed input. This project is inspired by Hatsune Miku, a rythm game. This is made for final project in Embedded System course, CMPT433, in SFU.
Refer to Detailed information for more information.
Follow the instructions below in BBG:
- Add Debian 9's apt-get repo (branch
stretch) in/etc/apt/sources.listforlibc++6library - Add Debian 9.5's apt-get repo (branch
buster) in/etc/apt/sources.listforlibaubio5library
-
Replace all
jessieword in/etc/apt/sources.listwithstretchand execute the following:# apt-get update # apt-get install libc++6 -
Command out "
deb http://httpredir.debian.org/debian/ stretch main contrib non-free" in/etc/apt/sources.listand use "deb http://httpredir.debian.org/debian/ buster main contrib non-free" instead.The difference is the replacement of
stretchwithbuster.After replacing the main repo URL, execute the following:
# apt-get update # apt-get install libaubio5 libaubio-dev -
After installing
libsubio5andlibaubio-dev, re-enable thestretchapt-get repo and comment out thebusterone.
-
To install XBox controller driver, execute the script
script/joystick_script.Executing permission is required. Acquire the permission by command
chmod +x joystick_script. -
Enable the I2C in the BeagleBone by executing
echo BB-I2C1 > sys/devices/platform/bone_capemgr/slots. -
Run the executable
miku.
-
Reboot the BeagleBone after finishing Intial Setup.
-
Change directory to the root folder and then run the
Makefilewith commandmake.With default settings,
makewill usearm-linux-gnueabihf-g++andarm-linux-gnueabihf-gccto cross compile. If cross compilation is not required, run theMakefilewithmake CROSS_TOOL=, which erases the cross tool prefix beforeg++andgcc. -
The executable will be generated and located in
~/cmpt433/public/myApps/miku.
See contributor page.
