txt file export and import feature needed

Started by nitrofurano, January 18, 2006, 14:20:37

Previous topic - Next topic

nitrofurano

hi!
i didn't tested yet the last version of the open-modplugtracker, but:

a very useful feature from VortexTracker is very welcome on the so useful ModPlugTracker is the possibility of export/import all the tune to and from a text file, which we could previously or lately edit on a simple text editor, copy tune parts from a forum, work over a text generated from our code script (people which like to code in ansi-basic, perl, python, etc.) etc.

good examples can illustrate the awesome flexibility provided from a text-based format are formats like .xpm (pictures) - .svg, .eps and .ai (vectorial) - .xml (this one says everything)

of course the text format doesn't needs to be exactly xml - text format simply is enough, just like provided from Vortex Tracker....

thanks!

nitrofurano


[Module]
VortexTrackerII=1
Version=3.6
Title=Badinerie from Orchestral Suite No. 2 in B minor - BWV 1067
Author=Johann Sebastian Bach
NoteTable=2
Speed=6
PlayOrder=0,1,0,3,4,5,6,7,0,1,0,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,8,9,10,11,12,13,14,15,16,17,18,19
[Ornament1]
12,0,L0
[Sample1]
TnE +000_ +00_ E-
TnE +000_ +00_ E_
TnE +000_ +00_ D_
TnE +000_ +00_ D_
TnE +000_ +00_ C_
TnE +000_ +00_ C_
TnE +000_ +00_ B_ L
TnE -001_ +00_ B_
TnE -002_ +00_ B_
TnE -001_ +00_ B_
TnE +000_ +00_ B-
TnE +001_ +00_ B_
TnE +002_ +00_ B_
TnE +001_ +00_ B_
[Sample2]
TNe +02F^ +07^ F_
TNe +02F^ +02^ E_
TNe +02F^ +00^ D_ L
TNe +02F^ -01^ D-
[Sample3]
TnE +000_ +00_ 9_
TnE +001_ +00_ A_
TnE +000_ +00_ A_
TnE -001_ +00_ A_
TnE +000_ +00_ B_
TnE +000_ +00_ B_
TnE +001_ +00_ B_
TnE +001_ +00_ A_
TnE +000_ +00_ 9_
TnE +000_ +00_ 9_
TnE -001_ +00_ 9_
TnE -001_ +00_ 8_
TnE +000_ +00_ 8_
TnE +001_ +00_ 7_
TnE +000_ +00_ 7_
TnE -001_ +00_ 6_
TnE +000_ +00_ 6_
TnE +000_ +00_ 6_
TnE +001_ +00_ 7_
TnE +001_ +00_ 7_
TnE +000_ +00_ 7_
TnE +000_ +00_ 6_
TnE -001_ +00_ 6_
TnE -001_ +00_ 6_
TnE +000_ +00_ 5_
TnE +001_ +00_ 5_
TnE +000_ +00_ 5_
TnE -001_ +00_ 4_
TnE +000_ +00_ 4_
TnE +000_ +00_ 4_
TnE +001_ +00_ 3_
TnE +001_ +00_ 2_
tne +000_ +00_ 0_ L
[Pattern0]
....|..|A-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|C-6 1F1F ....|E-5 1F1F ....|--- .... ....
....|..|A-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|A-5 1F1F ....|C-5 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|A-4 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|--- .... ....|E-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern1]
....|..|E-4 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|A-4 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|A-4 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|A-4 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|B-3 1F1F ....|--- .... ....
....|..|A-4 1F1F ....|--- .... ....|--- .... ....
....|..|G#4 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|G#3 1F1F ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|A-4 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern3]
....|..|C-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|--- .... ....|F#3 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|--- .... ....|A-3 1F1F ....|--- .... ....
....|..|A-5 1F1F ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|F#4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|G-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern4]
....|..|E-5 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|D#5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|--- .... ....|A-3 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|A-4 1F1F ....|--- .... ....
....|..|D#5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|A-4 1F1F ....|--- .... ....
....|..|--- .... ....|F#4 1F1F ....|--- .... ....
....|..|C-6 1F1F ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|B-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D#5 1F1F ....|F#4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern5]
....|..|B-4 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|G-5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|F#5 1F1F ....|A-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|F#5 1F1F ....|F#4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|D#5 1F1F ....|B-3 1F1F ....|--- .... ....
....|..|F#5 1F1F ....|--- .... ....|--- .... ....
....|..|A-5 1F1F ....|D#4 1F1F ....|--- .... ....
....|..|F#5 1F1F ....|--- .... ....|--- .... ....
....|..|G-5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|F#5 1F1F ....|--- .... ....|--- .... ....
....|..|G-5 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|F#5 1F1F ....|--- .... ....|--- .... ....
[Pattern6]
....|..|E-5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|G-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|D#5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|A-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|D#5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|B-3 1F1F ....|--- .... ....
....|..|B-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|D#5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|C-6 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|A-4 1F1F ....|--- .... ....
....|..|D#5 1F1F ....|--- .... ....|--- .... ....
[Pattern7]
....|..|E-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|C-6 1F1F ....|--- .... ....|--- .... ....
....|..|B-5 1F1F ....|A-4 1F1F ....|--- .... ....
....|..|A-5 1F1F ....|--- .... ....|--- .... ....
....|..|B-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|G-5 1F1F ....|--- .... ....|--- .... ....
....|..|F#5 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|G-5 1F1F ....|B-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|F#5 1F1F ....|D#5 1F1F ....|A-4 1F1F ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|B-4 1F1F ....|G-4 1F1F ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern8]
....|..|E-5 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|G-5 1F1F ....|B-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|G-4 1F1F ....|B-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|G-3 1F1F ....|--- .... ....
....|..|G-4 1F1F ....|--- .... ....|--- .... ....
....|..|E-4 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|--- .... ....|G-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern9]
....|..|A#4 1F1F ....|C#4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|A-4 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|C#5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|G-5 1F1F ....|C#4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|F-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|F-5 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|A-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern10]
....|..|F-5 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|A-5 1F1F ....|D-5 1F1F ....|--- .... ....
....|..|F-5 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|B-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|F-5 1F1F ....|G-3 1F1F ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|B-3 1F1F ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|G-4 1F1F ....|F-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|--- .... ....|D-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern11]
....|..|--- .... ....|E-4 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|F-4 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
....|..|F-5 1F1F ....|G-3 1F1F ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
[Pattern12]
....|..|C-5 1F1F ....|A#3 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|F-5 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|G-3 1F1F ....|--- .... ....
....|..|G-5 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|A-5 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
[Pattern13]
....|..|C-5 1F1F ....|F-4 1F1F ....|--- .... ....
....|..|A-5 1F1F ....|--- .... ....|--- .... ....
....|..|G-5 1F1F ....|--- .... ....|--- .... ....
....|..|F-5 1F1F ....|--- .... ....|--- .... ....
....|..|G-5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|F-4 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|G-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|--- .... ....|G-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern14]
....|..|E-5 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|D-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|--- .... ....|C-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|--- .... ....|C-4 1F1F ....|--- .... ....
....|..|C-6 1F1F ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|G-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|G-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern15]
....|..|D-5 1F1F ....|G#3 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|G#3 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|B-3 1F1F ....|--- .... ....
....|..|--- .... ....|E-4 1F1F ....|--- .... ....
....|..|B-5 1F1F ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|A-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern16]
....|..|A-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|C-6 1F1F ....|E-5 1F1F ....|--- .... ....
....|..|A-5 1F1F ....|--- .... ....|--- .... ....
....|..|G-5 1F1F ....|D-5 1F1F ....|A-4 1F1F ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|F-5 1F1F ....|A-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|A-5 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|G-5 1F1F ....|--- .... ....|--- .... ....
....|..|F-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|A-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern17]
....|..|F-5 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|A#4 1F1F ....|D-4 1F1F ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
....|..|F-5 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
....|..|A#4 1F1F ....|--- .... ....|--- .... ....
....|..|A-4 1F1F ....|--- .... ....|--- .... ....
....|..|A#4 1F1F ....|--- .... ....|--- .... ....
....|..|A-4 1F1F ....|--- .... ....|--- .... ....
....|..|G#4 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-4 1F1F ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
[Pattern18]
....|..|F-4 1F1F ....|G#3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-4 1F1F ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|A-4 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|G#4 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|G#3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|B-4 1F1F ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|D-5 1F1F ....|--- .... ....|--- .... ....
[Pattern19]
....|..|E-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|C-5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|E-5 1F1F ....|--- .... ....|--- .... ....
....|..|A-5 1F1F ....|C-4 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|E-5 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|D-5 1F1F ....|E-4 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|B-4 1F1F ....|E-3 1F1F ....|--- .... ....
....|..|C-5 1F1F ....|--- .... ....|--- .... ....
....|..|A-4 1F1F ....|A-3 1F1F ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....
....|..|--- .... ....|--- .... ....|--- .... ....

DustWolf

Quote from: "nitrofurano"a very useful feature from VortexTracker is very welcome on the so useful ModPlugTracker is the possibility of export/import all the tune to and from a text file, which we could previously or lately edit on a simple text editor, copy tune parts from a forum, work over a text generated from our code script (people which like to code in ansi-basic, perl, python, etc.) etc.

I don't quite understand what's supposed to happen to the samples?

LPChip

Let me first enlighten that its not possible to get the samples in the textfile. I believe that Vortex Tracker doesn't use samples, but settings in order to get sound. Settings can be stored easilly, but how do you store a sample of 1 MB into a textfile? Storing as binairy data would simply mean a huge textfile of 1 MB for just one sample. Now, okay, that could be possible somehow, but what about posting something like that on a forum? No way they are going to allow such huge posts due to the limits of storage on the database server.

As far as patterns go, you can select all in a pattern, copy, and paste to a textfile manually. Its not the ideal export, I know, but it'll get you there.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

DustWolf

Quote from: "LPChip"As far as patterns go, you can select all in a pattern, copy, and paste to a textfile manually. Its not the ideal export, I know, but it'll get you there.

He's got a point thoe. I've long been considering making scripts to manipulate tracker data, however the only answer I actually got from the devolopers was "go make a tracker format reader yourself" and I immediately lost my enthusiasm, for then I might as well start coding this dissasembler I've always wanted to make.

Anyway, it would be nice to have a kind of import export that put the samples  / instruments in their files (.xi or something) and ALL the pattern data in some kind of script-edible format.

Would still be a nice feature.

LPChip

Import/Export for patterns is a nice thing which even I'd like to see. Its handy to get a whole song appended to another or restore from another song if you messed up samples in that song and have them right in another song (or you tweaked samples/vst settings in this song and now want all of them to sound like this...)
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Squirrel Havoc

Come on Chip, he posted a huge, long post that wasnt necisarry, and you didnt let him have it? You are getting soft  :lol:
Anyone can do anything if they have nothing else to do
-
Most musicians are talented. I'm just determined.

LPChip

Quote from: "Squirrel Havoc"Come on Chip, he posted a huge, long post that wasnt necisarry, and you didnt let him have it? You are getting soft  :lol:

Ah, that stuff happens when you're too busy  :P
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

nitrofurano

Quote
Let me first enlighten that its not possible to get the samples in the textfile.
wrong, at least theorically: what about hexdumps or uuencodes? both tecniques are excellent to store binary information, like samples, in a text format - of course the resulting files can be a third larger (uuencode) or double larger (hexdump) - it seems to be not a problem at all...

But, interesting as well would be if you can have the choice of including them too, or just the patterns for a fast edition out of the tracker, which you can combine the exported samples or whatever - what do you all think?

nitrofurano

btw, months (or years) ago i started to code on wxbasic (.sf.net) a converter from .mod (4 channels, the default old Amiga format) to text and back - and i confess were boring coding that, as well converting and converting back to text the tunes all the time (jesus, really painful....) , when a tracker, in my oppinion, should have this feature by default (in my oppinion, would be the very first format used, since as well it's much more close to coders (even trackers coders) to debug the tracker errors or other feature lacks, i think...) - it's extremelly fast and handy to see what is in a tune document if it is a text format...

LPChip

You'd be the first and probably the only one that wants sample data in a textfile. If you want to share your module, just do it in the module which is optimised and can be opened just like that.

I don't say that its not possible in a textfile, but the problem with this is that you'll end up with a huge textfile that is as much of value than the module itself. You can't share your module over a forum anyway, due to the filesize. A chiptune would be the only way to do so, but still would cloud the forum unless you'd attach it as .txt file. If you do so, you'd better do it as module instead. Everyone can load it in and play it, and they don't even require a tracker for it.

Just pattern data is a different story, as that is usefull, but to do an entire song is kind of useless.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

speed-goddamn-focus

Since you're a coder, why not pick up on the source and add the feature yourself? And some other features while you're at it.

nitrofurano

i don't know if i'm the only one, but i edit modules around 10 times faster on a text editor... (hugelly much more flexible for modules - samples is another story...)

btw, the feature of at least being able to import/export to VortexTracker (with data lost, i don't mind...) would be great as well

nitrofurano

[/quote]
Since you're a coder, why not pick up on the source and add the feature yourself? And some other features while you're at it.
Quote
i'm still not good yet with C and C++ (i tried to start with that stunning MinGW! ;-) )