Musical Encoding

Article Date

2010 Nov 21

  1. Text -> Music -> Text
  2. Music -> Text -> Music

So #2 is pretty common and there are a few variants that work and are completely reversible (e.g. MIDI) and even more that are not very easily reversible (e.g. most Audio file formats [MP3, WAV, etc]). The primary difference is that the later are designed to be digital transforms for auditory sound (i.e. any noise), where as the former are specifically for music, or the written interpretation of music. I would be the first to point out the HUGE difference between written music and performed music, as the subtle nuances in the voice are quite noticeable (e.g. a frog croaking at 440 Hz is quite different than a professional performing a perfect Concert A). So I’m going to leave that subject for another post on another day…

The more interesting one for me is the transformation of text (or any input data stream) to a reversible (or irreversible) musical representation. If we make certain assumptions about the input (i.e. its a text message…like Hamlet [full-text by Shakespeare] or a random tweet) then perhaps certain properties could be inferred and thus a transform might be easier by using some sort of map. For example the letter ‘a’ might be transformed to a specific musical note, or perhaps the word “an” would be transformed to a quarter note of a specific note. You could even go so far as to produce some sort of scheme such that multiple voices/instruments are used (e.g. maybe each paragraph is a different instrument…or something)

If the input data wasn’t text, but some arbitrary data then perhaps a simple transform like adding a certain file format’s header might be sufficient. I just wonder if it would sound good!?

The really cool thing would be if you had a musical transform such that different variations of similar data would produce similar variations of the musical score. For example a movie of Hamlet, or a video of a particular stage performance, might produce auditory similar variations as the raw text of Hamlet.