NTU MA4830 Realtime Software Major Project AY20/21
- Generate a precise, uninterrupted, and regular beat
- Accept changes to beat rates in beats/minute via the keyboard in real-time
- Load and save metronome's setting into a configuration file
Welcome to Realtime Metronome project! There are just a few steps to get you started with developing!
- Compute
- Any computer
- Software package
- gcc >= 7.5.0 (for Ubuntu 18.04 LTS)
To install gcc in Ubuntu 18.04 LTS, run
sudo apt-get update && sudo apt-get install -y gcc libc6-dev --no-install-recommends
-
To compile the program
- On Ubuntu 18.04 LTS
gcc -o main main.c -lrt -lpthread
- On QNX 6.XX
cc -o main main.c
- On Ubuntu 18.04 LTS
-
To run the executable
./main
-
To run the executable with loading & saving the metronome's setting into a configuration file
./main --config config.txt