Skip to content

joao18araujo/pierluigi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pierluigi: Palestrina-style Counterpoint Generator

pipeline status

Dependencies

  • G++ 5.4

Optionals

  • Lilypond
  • Timidity

Installation and Compilation

  • Install

Step 1: Clone the repository

$ git clone https://github.com/joao18araujo/pierluigi.git

Step 2: Install C++ compiler

$ sudo apt-get install g++

  • Compile

To compile all .cpp files from src/ folder all the .h headers from include/ folder, use the make command:

$ make

Optionally, to a faster compilation, you can use the -j flag:

$ make -j

  • Cleaning obj/ folder

To remove all .d and .o files from obj/ folder , use the clean command:

$ make clean

  • Cleaning obj/ folder and removing software executable

To remove all .d and .o files from obj/ folder and delete the binary executable from bin/ folder, user the dist-clean command:

$ make dist-clean

  • Running the program

To run the compiled program with a previously defined test file, use the run command:

$ make run

To run the program with another .ly file, run bin/prog:

bin/prog $(FILE_PATH)

Currently, the melody must be monophonic and its note with the shortest duration must be a 8th note with no dots.

About

Palestrina-style Counterpoint Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages