Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
duivvv/note-to-frequency
node v4.9.1
version:
3.0.0
endpoint
share
tweet
const noteToFrequency = require('note-to-frequency'); const song = [ `G`, `A`, `B`, `G`, `G`, `A`, `B`, `G` ].map(n => noteToFrequency(`${n}4`)); console.log(song);
Loading…
no comments
sign in
to comment