This is the repo for Sonic Pi with logging stated in Eric dissertation.
This repo is built on Sonic Pi version 3.2.2 and the logging function utilizes C++.
The server runs on the following packages:
Standard Python development environment with Flask package for hosting the server.
MySQL for hosting database.
An IDE for code editing.
Visual Studio IDE (or any other IDE compatible with Qt) for code editing.
- Clone
git clone https://anonymous.4open.science/r/dissertation_repo_sonicpi/git
- Create a virtual environment (optional)
conda create -n sonicpilogging python=3.7 -y
conda activate sonicpilogging
- Install requirements
pip install -r repo/sonic-py-flask/requirements.txt
- Install database
- Install your own MySQL and set it up
- Go to
repo/sonic-py-flask/model.py
- Modify the database information between lines 9 and 16
- Run
- cd
repo/sonic-py-flask/
python main.py
- cd
This logging only add two logging files to the original Sonic Pi files without modifying it's own software structure, thus, the build method is referred to the original build method in several MD files in this repo, called "INSTALL-[OS].md"
Directory for logging functions files is repo/app/gui/qt/eric_logging