diff --git a/smw_music/data/mml.txt b/smw_music/data/mml.txt index 7684590b..5cb9350b 100644 --- a/smw_music/data/mml.txt +++ b/smw_music/data/mml.txt @@ -84,28 +84,23 @@ w${song.volume} unpitched_sz = max(list(len(unpitched_defn(k)) for k, v in inst_samples.items() if v.percussion), default=0) %>\ ; Instrument voice definitions -; Only change the instrument octave numbers on the right of the equals signs %for name, sample in inst_samples.items(): "${f'{voice(name):{voice_sz}}'} = ${f'{sample.instrument_idx:3} o{sample.default_octave}'}" %endfor ; Instrument dynamics definitions ; Yes, this is ugly. But it lets you tie dynamic levels to instruments and -; crescendos. Only change the hex (00-FF) volumes right after each equals sign. +; crescendos. %for name, sample in inst_samples.items(): "${f'{dyn(name):{dyn_sz}}'} = ${dyn_str(sample)}" %endfor ; Instrument articulation definitions -; Just like dynamics, only touch numbers after the 'q' after each equals sign. %for name, sample in inst_samples.items(): "${f'{artic(name):{artic_sz}}'} = ${artic_str(sample)}" %endfor ; Instrument pan definitions -; Set these to PAN_LEFT, PAN_MID_LEFT, PAN_CENTER, PAN_MID_RIGHT, PAN_RIGHT, or -; pick your own using a y command. These are blank by default because not -; everyone uses them and it ; saves space to leave them out. %for name, sample in inst_samples.items(): "${f'{pan(name):{pan_sz}} = {pan_str(sample)}'}" %endfor @@ -153,11 +148,6 @@ ${f'"v{str(dyn): <4} = $E7$_{dyn} \\"vCUR = v{dyn}\\""'} "GLOBAL_LEGATO = $F4$02" "CRESC = $E8" "DIM = $E8" -"PAN_LEFT = y20" -"PAN_MID_LEFT = y12" -"PAN_CENTER = y10" -"PAN_MID_RIGHT = y08" -"PAN_RIGHT = y00" "VIB_OFF = $DF" %for n, channel in enumerate(channels):