0.8.5 • Published 1 month ago

@roudanio/lazy-melody v0.8.5

Weekly downloads
-
License
-
Repository
-
Last release
1 month ago

Lazymelody.com

Development

Pre-requisites

  • node.js >= 16
  • pnpm >= 7

Setup

  1. Git clone this repo
  2. Install dependencies: pnpm i
  3. Start the development server: pnpm run dev

How to

Add a new score operator

A score operator is a function that takes a score and returns a new score. It is built with 3 parts:

  1. A score operator function, will do something to MusicNote
  2. A keyboard shortcut to trigger the operator
  3. A UI menu component (not implemented yet)
  4. Text to score parser
  5. Score to text generator
  6. midi-player

The Operator Function

For the operator function, it should follow this signature:

(selectedNots: MusicNote[]) => boolean;

It should:

  1. validate the input, return false if the input is invalid
  2. do the transformation, return true if the transformation is successful

The Keyboard Shortcut

The UI Menu Component

(Note: this is not implemented yet)

0.8.5

1 month ago

0.8.4

2 months ago

0.8.2

3 months ago

0.7.4

4 months ago

0.7.3

4 months ago

0.7.2

4 months ago

0.4.5

5 months ago

0.4.2

7 months ago

0.3.3

7 months ago