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.list
forlibc++6
library - Add Debian 9.5's apt-get repo (branch
buster
) in/etc/apt/sources.list
forlibaubio5
library
-
Replace all
jessie
word in/etc/apt/sources.list
withstretch
and 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.list
and use "deb http://httpredir.debian.org/debian/ buster main contrib non-free
" instead.The difference is the replacement of
stretch
withbuster
.After replacing the main repo URL, execute the following:
# apt-get update # apt-get install libaubio5 libaubio-dev
-
After installing
libsubio5
andlibaubio-dev
, re-enable thestretch
apt-get repo and comment out thebuster
one.
-
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
Makefile
with commandmake
.With default settings,
make
will usearm-linux-gnueabihf-g++
andarm-linux-gnueabihf-gcc
to cross compile. If cross compilation is not required, run theMakefile
withmake 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.