Implementation of https://www.cs.princeton.edu/courses/archive/spring18/cos126/assignments/guitar-hero/
My course work for projector algorithms course. This algorithm emulates or synthesizes the sound of guitar string.
This is a small cli project. Here are the set of "bin" files, which are generating .wav files and charts, visualising the values of a signal. All generated content is placed inside /generated/audio and /generated/images folders. This project is using some external packages, to simplify sound & charts generating and also creating simple socket server (to avoid using web servers, pure cli).
- PHP 7.4
- Composer
- Run
composer install
- Run any /bin/ file
php ./bin/createSin.php
Try to run ./generated/audio/sin.wav
php ./bin/testCarplusStrongWN.php
Try to run ./generated/audio/a_4.wav
php ./bin/testCarplusStrongWN.php
Try to run ./generated/audio/god_father.wav
php ./bin/createNotes2-5oct.php
After that, there should be lots of files inside ./generated/audio/notes/.
Then run sockets server:
php ./bin/startSocketServer.php
Then open ./public/index.html
in browser and try to click any button!