b2ttb 320 days ago [-]
Wrote a quick perl script that implements the functionality of the wikipedia image:


rhizome 320 days ago [-]
Kinda reminds me of the notation scheme someone was trying to implement for DJ scratching 15 or so years ago.
lbotos 320 days ago [-]
I remembered when I first learned that and how mind blowing it was to help learn complex scratches. I dug it up. Turntablist Transcription Method, TTM: http://www.studioscratches.com/scratchy-100-ttm-turntablist-...
b6 320 days ago [-]
I'm very interested in music but never took a class or learned notation or theory. This appeals to me because it has always irked me that people would write down songs like Twinkle Twinkle Little Star or Happy Birthday as if they start on certain notes. They don't. They start on whatever frequency you want. The frequencies and lengths afterward are relative to the first whatever-you-want-to-call-it.
peterburkimsher 320 days ago [-]
I wrote about Parsons Code a few weeks ago in my Chord Progressions dataset documentation!


There are only 81 possible Parsons Codes for a 4-chord song.

defertoreptar 320 days ago [-]
So that's the name of what I spent hours doing while trying to solve that sunken ship puzzle on The Witness.
Hextinium 320 days ago [-]
I have been mentally trying to devise a scheme for doing this for years because I hear music as the position of the notes moving relatively. From this I dance to the relative notions but I have had difficult writing it out, this is perfect!
elsurudo 320 days ago [-]
Cool – I sometimes used a notation like this (the visual form of this) myself to (attempt to) remember melodies I heard on the radio... before Shazam existed
jaredandrews 320 days ago [-]
I would be interested in hearing more about this technology being used in practice. Are these codes primarily "hand written" by an individual listener or are they encoded by computers?
allenz 320 days ago [-]
It's typically handwritten because computers aren't very good at transcribing music. You can use it to search for music: http://www.musipedia.org/melodic_contour.html
murftown 320 days ago [-]
Sure, but I'd love to be able to, say, input a midi file and get Parsons codes for all the tracks.
khedoros1 320 days ago [-]
Oh, that would be pretty easy. MIDI's not a difficult format to parse, and I'm sure there are libraries already written that would just dump out lists of note events, or something.
allenz 320 days ago [-]
It depends, MIDI files can be complicated. I don't think it's easy to programmatically isolate the melody in the general case.
khedoros1 319 days ago [-]
Ah, yes, that's true. Finding the melody, tracing it across different instruments and such, could be difficult, and that depends on how the music is structured.

I should've said that a naive version of it would be easy (like a channel-wise, instrument-wise, or track-wise code).

murftown 318 days ago [-]
Agreed, it'd be easy if the melodies are already isolated. It'd be an interesting challenge to isolate them out of a combined track!
bananicorn 320 days ago [-]
It's probably not impossible - this guy[0] has made a midi-to-text converter, which i've been trying to use to make some simple tracks. With moderate success, but that's more my lack of practice and musical knowledge.

edit: i forgot to mention that it's a completely different format - but it shows what's needed for such a parser.


abakker 320 days ago [-]
Doesn't mention time signatures, purposely ignores key, but also doesn't represent note interval. How exactly does this facilitate search?
TylerE 320 days ago [-]
Exactly for those reasons.

Most people can't pick out intervals by ear, but they can manage "higher" "lower" or "the same".

dahart 320 days ago [-]
Think of it like a hash; it's actually important to discard specifics in order to be robust to changes in key & tempo.
croon 320 days ago [-]
Someone without rhythm and who's tone deaf could theoretically hum a song parsed through this notation and find the song they're thinking of.

Sure there's a possibility to identify a completely different song, but the more notes given, the smaller the chance to coincidentally find two different songs with the exact same ups/downs/repeats.

midgetjones 320 days ago [-]
Time signature and key are totally irrelevant to the task of identifcation. Interval could be important, but vastly complicates the matter - identifying intervals is hard enough for many competent musicians.
megamindbrian2 320 days ago [-]
There should be a babeljs converter for this.