Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: A Matter of Style...

by benn (Vicar)
on Aug 12, 2003 at 14:09 UTC ( #283183=note: print w/replies, xml ) Need Help??

in reply to Design for converting between musical formats ?

/me slaps himself aound the head with an overgrown steriod-pumped trout

Doh! Yes indeed. This is all part of an ongoing discussion about how stuff should be represented in the Music:: namespace, once I get around to writing Music::Chord and Music::Keysignature etc. I'd so far been going with ISO format for input/output, just because it looked nicer :)

Thinking just a little into the future though (I *must* get into the habit of doing that :) ), it'd make a lot more sense if eveything dealt with Music::Note objects - I then get to do all the cool functions like $note->transpose(), $note->enharmonic_equivalent('natural') and $note->is_jazz_accidental_and_not_a_mistake().

Thanks all - I knew that posting would save me days of re-coding :)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://283183]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2018-01-19 04:35 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (215 votes). Check out past polls.