Voices

It occurred to me today to write some Java classes to represent western musical scales; starting with the 12 tone system and then providing methods to build scales in a given major or minor key, (and eventually different modes,) and build chords.

Classes like this could also become the basis of any number of other utilities or applications; chord chart generators, midi generators et cetera.

Plus it would be good reinforcement for a person (such as myself) teaching themselves the fundamentals of music theory.

While conceptualizing how such a package might be broken down, one of the first things I wondered was, "When building a scale in a given key, is there a formula to determine whether the accidentals in that scale will be sharps or flats?" Sure, I could hard-code all of the scales by note as constants in some core utility class, but that would be a crutch, and inelegant.

Anyway, while Googling this very question one of the first things I came across was Steve White's weblog, specifically one of the entries about his Voices project. Steve appears to have had almost exactly the same idea a while ago, only he's doing it in C#. It will be interesting to read how he's approaching the problem.

1 comment

 
What Silence wrote 8 years 30 weeks ago

Yes, yes, I know:

Yes, yes, I know: Windows-only, VST, blah blah. But still, worth peeking at chordspace.

; )

Please register or login to post a comment.
Syndicate content

Twitter

  • @ernestkoe basically this script with duration set to 25 minutes, and limited to tracks 3 minutes & under: http://t.co/bupgfBH 2 years 46 weeks ago
  • @ernestkoe has got me digging Pomodoro. I modified one of my iTunes applescripts to make me nice 25 minute playlists. 2 years 46 weeks ago
  • @tommysalami I'm planning to tear it down and make a static site with links to activity streams elsewhere; it's hardly a destination. 2 years 47 weeks ago
  • @tommysalami I think you may be the one person on the internets subscribed to my RSS feed. That was the first thing I've posted all year! 2 years 47 weeks ago
  • Possibly the most simultaneously hilarious and disturbing video you'll watch today. http://sgp.cm/6f9b89 2 years 49 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key