Display approximate note on staff from frequency (Hz)

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
ihcob
Posts: 4
Joined: Fri Dec 29, 2017 7:20 pm

Display approximate note on staff from frequency (Hz)

Post by ihcob » Fri Dec 29, 2017 7:25 pm

Hello, is there a way for me to show an approximated note on a grandstaff from only a frequency? I'm not sure how I would do this. In a perfect world I could represent even 1/4 tone accidentals to give a better resolution of pitch from the precise frequency. Thank you for any help, & happy holidays!

danieleghisi
Site Admin
Posts: 1347
Joined: Fri Dec 03, 2010 1:25 pm

Re: Display approximate note on staff from frequency (Hz)

Post by danieleghisi » Sat Dec 30, 2017 9:43 pm

Just convert the frequency into MIDIcents (if you want a quick-to-use module, use [bach.f2mc]), and then give them to bach.roll.
Look up #separate+syntax+build in the bach help center to know more.

ihcob
Posts: 4
Joined: Fri Dec 29, 2017 7:20 pm

Re: Display approximate note on staff from frequency (Hz)

Post by ihcob » Sun Dec 31, 2017 11:13 am

Thank you! This is perfect.

Post Reply