Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 844 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 844 Bytes

CounterpointGenerator

Given a set of rules and a user melody input generate a melodic counterpoint.

This was initially created and developed as a part of CodeDay Labs' summer of 2021 internship program. Our showcase can be found here.

Input

Input is currently a string expected to follow the pattern "[int] [space] [double] [comma] [space] ... repeat" to crudely represent a melody line made up of note pitches and note lengths. Example:

0 16, 5 4, 6 4, 9 8, 0 16

As established in the constants file a pitch of 0 represents C5, and a length of 16.0 represents a whole note.

Contributing

Contributions are welcome! Style guidelines: https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions