Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

NTU MA4830 Real-time Software Major Project AY20/21

Notifications You must be signed in to change notification settings

leonardoedgar/realtime_metronome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Realtime Metronome

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

Table of Contents

  1. Getting started
  2. Prerequisites
  3. Installing
  4. Run

1. Getting started

Welcome to Realtime Metronome project! There are just a few steps to get you started with developing!

2. Prerequisites

  1. Compute
    • Any computer
  2. Software package
    • gcc >= 7.5.0 (for Ubuntu 18.04 LTS)

3. Installing

To install gcc in Ubuntu 18.04 LTS, run

sudo apt-get update && sudo apt-get install -y gcc libc6-dev --no-install-recommends

4. Run

  • 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
  • To run the executable

    ./main
  • To run the executable with loading & saving the metronome's setting into a configuration file

    ./main --config config.txt

About

NTU MA4830 Real-time Software Major Project AY20/21

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages