Skip to content

Commit

Permalink
feat!: use C4 as middle C
Browse files Browse the repository at this point in the history
closes #10
  • Loading branch information
arnoson committed Feb 27, 2023
1 parent 4928ebb commit 5c350d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

A utility script for using midi with https://hydra.ojack.xyz.

## Important

- This extension uses C3 as middle C (midi note 60).

## Usage

Start (and optionally show) midi and use midi inputs as parameters for hydra:
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getNoteNumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ export const getNoteNumber = (note: string | number): number | undefined => {
return
}

return offset + (octave + 2) * 12
return offset + (octave + 1) * 12
}

0 comments on commit 5c350d8

Please sign in to comment.