Incorruptable wrote: ↑Thu May 16, 2019 6:02 am
a brief description on how to go about that i would be very appreciative.
You need a
text-editor. Note-pad is sufficient, but better ones with color-coding like code-pad are free to dl.
First thing
ONLY
mmp files can be used!
Open and NAME your special block of notes! That will make it easy to find in the XML-code
save your projct as <blah>.MMP
Shut LMMS down!
Create
a copy of the project!
Open
the copy in the 'pad' editor
Use search and find the named block!
Here ve have the block named INVERT-ME
Each line is one note!
Code: Select all
<pattern pos="0" name="INVERT-ME" muted="0" steps="16" type="1">
<note pos="0" pan="0" len="32" key="61" vol="100"/>
<note pos="32" pan="0" len="160" key="59" vol="100"/>
<note pos="192" pan="0" len="32" key="61" vol="100"/>
<note pos="224" pan="0" len="160" key="57" vol="100"/>
<note pos="384" pan="0" len="32" key="59" vol="100"/>
</pattern>
So..
The important data is the "note pos"
That value is the position in that note-block!
So
* first note has POS 0
* Last note POS 384
In reverse
* last note must be at POS 0
* first note in POS 384
move bottom to top and continue until all is moved
Code: Select all
<pattern pos="0" name="INVERTED" muted="0" steps="16" type="1">
<note pos="0" pan="0" len="32" key="59" vol="100"/>
<note pos="32" pan="0" len="160" key="57" vol="100"/>
<note pos="192" pan="0" len="32" key="61" vol="100"/>
<note pos="224" pan="0" len="160" key="59" vol="100"/>
<note pos="384" pan="0" len="32" key="61" vol="100"/>
</pattern>
daaTaaa ...done
Name the new block ..here INVERTED
If you want spacing between the two blocks you could change "pattern pos=" <POS>
iNSERT the new block as so:
Code: Select all
<pattern pos="0" name="INVERT-ME" muted="0" steps="16" type="1">
<note pos="0" pan="0" len="32" key="61" vol="100"/>
<note pos="32" pan="0" len="160" key="59" vol="100"/>
<note pos="192" pan="0" len="32" key="61" vol="100"/>
<note pos="224" pan="0" len="160" key="57" vol="100"/>
<note pos="384" pan="0" len="32" key="59" vol="100"/>
</pattern>
<pattern pos="100" name="INVERTED" muted="0" steps="16" type="1">
<note pos="0" pan="0" len="32" key="59" vol="100"/>
<note pos="32" pan="0" len="160" key="57" vol="100"/>
<note pos="192" pan="0" len="32" key="61" vol="100"/>
<note pos="224" pan="0" len="160" key="59" vol="100"/>
<note pos="384" pan="0" len="32" key="61" vol="100"/>
</pattern>
Save
Open the edited project in LMMS.
The two blocks will 'overlap', but just drag them apart
Job done
.. That was in essence what i did in the reverse automation, but in code.
https://www.youtube.com/watch?v=yPaOva0ntzs
Now imagine you have 6 bars of notes.. Some ~100 of them..
Is it worth it?
Computers are good for those jobs..