Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Woyten committed Mar 10, 2019
1 parent 22ada0d commit 7ea7dd3
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cargo install -f tune

# Usage

## Examples
## Create scl files

* 12-TET
```bash
Expand All @@ -25,20 +25,40 @@ cargo install -f tune
tune scl equal 5/3:12:2
tunc scl equal {500/3}c
```
* 7-note Pythagorean
* 7-note Pythagorean (lydian mode)
```bash
tune scl rank2 3/2 7
tune scl rank2 1.5 7
```
* 7-note quarter-comma meantone
* 7-note quarter-comma meantone (major mode)
```bash
tune scl rank2 1:4:5 7
tune scl rank2 1:4:5 6 1
```
* 8-note harmonic series
```bash
tune scl harm 8
```

## Dump pitches of a scale

* 7-note Pythagorean (minor mode)
```bash
tune dump rank2 3/2 3 4
```
**Output:**
```bash
...
69 | 440.000 Hz | MIDI 69 | A 5
70 | 495.000 Hz | MIDI 71 | B 5 | +3.910c
71 | 521.481 Hz | MIDI 72 | C 6 | -5.865c
72 | 586.667 Hz | MIDI 74 | D 6 | -1.955c
73 | 660.000 Hz | MIDI 76 | E 6 | +1.955c
74 | 695.309 Hz | MIDI 77 | F 6 | -7.820c
75 | 782.222 Hz | MIDI 79 | G 6 | -3.910c
76 | 880.000 Hz | MIDI 81 | A 6
...
```

## Expressions

Ordered by precedence:
Expand Down

0 comments on commit 7ea7dd3

Please sign in to comment.