Libraryless. Click here for Pure Java version (112L/1K).
1 | static Frequency pianoKeyFrequency(double key) { |
2 | ret toFrequency(440*pow(plusOneSemitone(), key-49)); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032949 |
Snippet name: | pianoKeyFrequency - key is -8 to 99 or 1 to 88 or so |
Eternal ID of this version: | #1032949/2 |
Text MD5: | 84df39094ee9261b6733677c0b078697 |
Transpilation MD5: | a3d0368e3e0a0189a44809180273490d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-11 06:23:51 |
Source code size: | 107 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 146 / 200 |
Version history: | 1 change(s) |
Referenced in: | [show references] |