music-suite / music-pitch

This repo has been merged into: https://github.com/music-suite/music-suite
http://music-suite.github.io
BSD 3-Clause "New" or "Revised" License
9 stars 9 forks source link

[duplicate] IsPitch Integer should not use offset 60 #12

Closed hanshoglund closed 10 years ago

hanshoglund commented 10 years ago

Note: This actually applies to all standard numeric types.

Instead of (c :: Integer) == 60 we should have (c :: Integer) == 0.

MIDI output etc can still create notes relative middle-C but will have to add the offset themselves.

hanshoglund commented 10 years ago

Duplicate