1.3.13 • Published 12 months ago

@pepavlin/sheet-api v1.3.13

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

sheet-api

Sheet-api is library, that helps manage sheet formats, handling extended chords and transposing.

Installation

npm install @pepavlin/sheet-api

Usage

import {Chord, Sheet, note, transpose} from "@pepavlin/sheet-api"

// Note type
const c : note = 'C';
const e = transpose(c, 4); // Transpose by semitones

// Chord object
const gmoll = new Chord("Gm");
gmoll.transpose(2); // Use transpose to move chord's note-key
gmoll.setTransposition(-3); // Ignores previous tranpositions

// Sheet object
const sheet = new Sheet("{V1}Thank [Em]you Lor[G]d\n [D]Thanks...");
sheet.transpose(-3); // Transpose all chords on the sheet (transpose whole song)
sheet.setTransposition(0);

const sections = sheet.getData(); // Splits sheet on Sections, Lines and Segments
1.3.10

1 year ago

1.3.13

12 months ago

1.3.11

1 year ago

1.3.12

1 year ago

1.3.9

1 year ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.60

1 year ago

1.2.5

2 years ago

1.2.51

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.44

2 years ago

1.0.43

2 years ago

1.0.42

2 years ago

1.0.41

2 years ago

1.0.40

2 years ago

1.0.39

2 years ago

1.0.38

2 years ago

1.0.37

2 years ago

1.0.36

2 years ago

1.0.35

2 years ago

1.0.34

2 years ago

1.0.33

2 years ago

1.0.32

2 years ago

1.0.31

2 years ago

1.0.30

2 years ago

1.0.29

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago