Post by kacelano on Jul 2, 2011 15:24:22 GMT -6
I am making this thread to document how MPC interprets the contents of a text file and how changes affect that interpretation. I don't know how useful it will be in text file editing, but I think that it's a nice thing to have.
Huge wall of text incoming, but I swear that I am just being thorough.
This is the code of the text file I used in this investigation for reference in this post:
The fraction at very front at the very front shows time signature. Any and all changes to this fraction (including deletion) past 4/4 or 3/4 defaults mpc back to 4/4.
The * following fraction acts as (I suppose) a sort of place holder or tag for MPC. It links the text file to the * of the MarioPaintSongList text file so that MPC can put in the code for the song. Any changes at all to (including deletion) it results in the apparent deletion of the song in MPC. The code is still there in the text file until the song is overwritten.
Each line of MPC (what I call the area in MPC where you can place notes) looks something like [bg++++++q] with one note on it. The first letter, "b" in this case, controls the MPC instrument. The letters "a" to "s" correspond to each instrument going from left to right. So the Mario head is an "a" and the boo is an "s". The instrument in the example is a mushroom. The second letter of the code determines the MPC tone. The letters "a" to "p" correspond to the MPC tone from top to bottom of MPC's staff with high C being "a" and low B being "p". The tone in the example is a high D. The note could look something like [bg#++++++q] or [bg;++++++q]. The # and ; are sharp and flat respectively.
A visual representation of the letters for the instruments and tones
Lines with multiple notes on them appear something like [eh+ok#+lm;++++q]. Different notes are separated by +'s (pluses).The notes appear in order placed in MPC. When you delete two notes and switch the order when you place them, they appear in the place where the other one was. e.g. if 1st and 3rd note placed in a line are switched, then the 1st is in the 3rd and vice-verse. The second stays in the same place. If you were wondering, this line is a flower on the middle C, a heart on low G# and a plane on low E flat.
There are 6 pluses but only 5 notes may be placed. Despite intuitiveness, if one attempts to edit in a 6th note, it will not appear or sound. if a 7th or 8th note is added then MPC will crash. If a single plus is deleted then the green volume bar disappears and the line is muted. If 2 or more pluses are deleted, then a (functional) Piranha Plant glitch note appears. If a plus is added, then the green bar line disappears and the line is muted.
The letter after the pluses controls the volume. As mario7mario3 mentions, "q" is the loudest and "a" is the softest possible in MPC. That is 17 volumes for your choosing. If you edit the letter to anything past "q" then the note is deleted and you get a script error in MPC anytime you attempt to view the line.
If a note is placed and then deleted in MPC, then pluses and a volume letter appears with no instrument or note letter [++++++q] in that spot in the text file.
A glitch note appears like [d17++++++q]. 17 is the assigned "tone" for a glitch note. Changing 17 to another number has no effect and the note still appears and function as a glitch note. Multiple glitch notes one line appear as normal notes do in text files [b17+f17+g17++++q].
Colons (:'s) separate each line. One : in between two note groupings means no space in between lines. Two : gives one space. To add another mpc measure in between two lines, there must be 5 :'s. If : is change to symbol (eg. =) then the line is muted and volume bar removed. If it is changed to a letter then a script error occurs.
At the end of the text file there is ["%358]. This code shows tempo of the song. Various tempos have been studied by other people. Deleting the % results in script error upon opening but you can still adjust the tempo with the plus in MPC. Upon saving, the new tempo appears after the old (if the numbers are still there) with a % preceding the new tempo. Changing or deleting the " has no effect. Changing the numbers to letters or symbols results in a script error similar to deleting the % except that the letters and symbols will appear in the tempo box in MPC.
One last thing, I still have no idea what this is! When I made one (with a script error), it didn't appear as anything in the text file. We definitely need to figure it out.
If anyone else knows anything about text files, feel free to contribute.
Huge wall of text incoming, but I swear that I am just being thorough.
This is the code of the text file I used in this investigation for reference in this post:
4/4*aa#++++++q:aa++++++q:ab#++++++q:ab++++++q:ab;++++++q:ac#++++++q:ac++++++q:bc++++++q:bd++++++q:be++++++q:bf++++++q:bg++++++q:bh++++++q:sa++++++q:sb++++++q:sc++++++q:sd++++++q:se++++++q:ap++++++q:eh+ek+++++q:eh+ek#+em;++++q:eh+ek+em+eo+++q:eh+ek+em+eo+ea++q:ea+em+ek++++++++q:a18+e17+++++q:b17+f17+g17++++q:c17++++++q:d17++++++q:gh++++++q:gj++++++:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::++++++q::"%358
The fraction at very front at the very front shows time signature. Any and all changes to this fraction (including deletion) past 4/4 or 3/4 defaults mpc back to 4/4.
The * following fraction acts as (I suppose) a sort of place holder or tag for MPC. It links the text file to the * of the MarioPaintSongList text file so that MPC can put in the code for the song. Any changes at all to (including deletion) it results in the apparent deletion of the song in MPC. The code is still there in the text file until the song is overwritten.
Each line of MPC (what I call the area in MPC where you can place notes) looks something like [bg++++++q] with one note on it. The first letter, "b" in this case, controls the MPC instrument. The letters "a" to "s" correspond to each instrument going from left to right. So the Mario head is an "a" and the boo is an "s". The instrument in the example is a mushroom. The second letter of the code determines the MPC tone. The letters "a" to "p" correspond to the MPC tone from top to bottom of MPC's staff with high C being "a" and low B being "p". The tone in the example is a high D. The note could look something like [bg#++++++q] or [bg;++++++q]. The # and ; are sharp and flat respectively.
A visual representation of the letters for the instruments and tones
Lines with multiple notes on them appear something like [eh+ok#+lm;++++q]. Different notes are separated by +'s (pluses).The notes appear in order placed in MPC. When you delete two notes and switch the order when you place them, they appear in the place where the other one was. e.g. if 1st and 3rd note placed in a line are switched, then the 1st is in the 3rd and vice-verse. The second stays in the same place. If you were wondering, this line is a flower on the middle C, a heart on low G# and a plane on low E flat.
There are 6 pluses but only 5 notes may be placed. Despite intuitiveness, if one attempts to edit in a 6th note, it will not appear or sound. if a 7th or 8th note is added then MPC will crash. If a single plus is deleted then the green volume bar disappears and the line is muted. If 2 or more pluses are deleted, then a (functional) Piranha Plant glitch note appears. If a plus is added, then the green bar line disappears and the line is muted.
The letter after the pluses controls the volume. As mario7mario3 mentions, "q" is the loudest and "a" is the softest possible in MPC. That is 17 volumes for your choosing. If you edit the letter to anything past "q" then the note is deleted and you get a script error in MPC anytime you attempt to view the line.
If a note is placed and then deleted in MPC, then pluses and a volume letter appears with no instrument or note letter [++++++q] in that spot in the text file.
A glitch note appears like [d17++++++q]. 17 is the assigned "tone" for a glitch note. Changing 17 to another number has no effect and the note still appears and function as a glitch note. Multiple glitch notes one line appear as normal notes do in text files [b17+f17+g17++++q].
Colons (:'s) separate each line. One : in between two note groupings means no space in between lines. Two : gives one space. To add another mpc measure in between two lines, there must be 5 :'s. If : is change to symbol (eg. =) then the line is muted and volume bar removed. If it is changed to a letter then a script error occurs.
At the end of the text file there is ["%358]. This code shows tempo of the song. Various tempos have been studied by other people. Deleting the % results in script error upon opening but you can still adjust the tempo with the plus in MPC. Upon saving, the new tempo appears after the old (if the numbers are still there) with a % preceding the new tempo. Changing or deleting the " has no effect. Changing the numbers to letters or symbols results in a script error similar to deleting the % except that the letters and symbols will appear in the tempo box in MPC.
One last thing, I still have no idea what this is! When I made one (with a script error), it didn't appear as anything in the text file. We definitely need to figure it out.
If anyone else knows anything about text files, feel free to contribute.