saebekassebil / teoria

Javascript taught Music Theory
http://saebekassebil.github.io/teoria
MIT License
1.31k stars 114 forks source link

Note.random #112

Closed jaylupus closed 7 years ago

jaylupus commented 7 years ago

Added a function (with documentation and tests) to produce a Note object with random pitch.

saebekassebil commented 7 years ago

I think a Note.random is not really within the scope of this library as I dont see a broad/general use case for this feature.

This is probably something that belongs with your project-specific code.. But what do you need it for?

jaylupus commented 7 years ago

Well, just trying to write a program to generate random scales (which of course would each need to be in a random key). But I don't mind reserving this functionality for my project-specific code.

saebekassebil commented 7 years ago

I'm closing this as out of scope.