Commit f199f861 authored by Florent Jacquemard's avatar Florent Jacquemard
Browse files

E2E test files

parent 2a45a74e
squant2 -v 5 -a ./test/schema/schema-03-R.wta -m ./Lamarque-Goudard/103-SaintSaens-elephant/perf/103_FJ.mid -config ./params.ini -mono -barsec 3.0 -ts 3/4 -output out.mei
staff 0 part:part0 clef=G2 ks=0 ts=3/4 ambitus=<low=E3 high=B4>
Measure 0 Seq.0: 3d[ G3 2d[ C4 ○ ] C4 ] |
Measure 1 Seq.0: 3d[ C4 2d[ D4 C4 ] 2d[ 2d[ B3 2d[ ○ C4 ] ] ⏑ ] ] |
Measure 2 Seq.0: 3d[ G3 2d[ D4 ○ ] 2d[ D4 ○ ] ] |
Measure 3 Seq.0: 2d[ D4:2 F4 ] |
Measure 4 Seq.0: 3d[ 2d[ 2d[ E4 ○ ] F4 ] G4 E4 ] |
Measure 5 Seq.0: 3d[ 2d[ C4 2d[ D4 2d[ ○ E4 ] ] ] ⏑ C4 ] |
Measure 6 Seq.0: 3d[ 2d[ A3 B3 ] C4 D4 ] |
Measure 7 Seq.0: 3d[ 2d[ D4 2d[ C4 2d[ ⏑ B3 ] ] ] 2d[ ⏑ 2d[ A3 ○ ] ] G3 ] |
Measure 8 Seq.0: 3d[ G3 C4 2d[ C4 ○ ] ] |
Measure 9 Seq.0: 3d[ C4 2d[ D4 2d[ C4 2d[ ⏑ B3 ] ] ] 2d[ ⏑ C4 ] ] |
Measure 10 Seq.0: 3d[ G3 2d[ D4 ○ ] D4 ] |
Measure 11 Seq.0: 2d[ D4:2 C4 ] |
Measure 12 Seq.0: 3d[ B3 2d[ 2d[ B4 2d[ ○ A4 ] ] 2d[ ⏑ 2d[ ○ G4 ] ] ] 2d[ 2d[ ⏑ ○ ] F4 ] ] |
Measure 13 Seq.0: 3d[ E4 2d[ E4 2d[ D4 ○ ] ] 2d[ C4 B3 ] ] |
Measure 14 Seq.0: 3d[ A3 F3 B3 ] |
Measure 15 Seq.0: E3 |
\ No newline at end of file
# E2E tests
# qparse v.1 (obsolete)
# example MCM 2019
Build/Products/Debug/squant -a ./test/example8/grammar-03.txt -i ./test/example8/timeline-02.txt -config ./params.ini -norest -barsec 1.0 -barbeat 1 -v 5
Build/Products/Debug/squant -v 4 -a ./test/schema/schema-03.txt -i /Users/jacquema/Code/Lamarque-Goudard/MIDI/perf/103-SaintSaens-elephant_FJ.mid -config ./params.ini -norest -barsec 3.0 -barbeat 3 -o ~/Desktop/103-out.mid
Build/Products/Debug/squant -v 4 -a ./test/schema/schema-03.txt -i /Users/jacquema/Code/Lamarque-Goudard/MIDI/perf/304-Bach-polonaise_DA.mid -config ./params.ini -norest -barsec 3.0 -barbeat 3 -o ~/Desktop/304-out.mid
Build/Products/Debug/squant -v 5 -a ./test/schema/schema-03-304.txt -i /Users/jacquema/Code/Lamarque-Goudard/MIDI/perf/304-Bach-polonaise_DA.mid -config ./params.ini -norest -barsec 3.0 -barbeat 3 -o ~/Desktop/304-out.mid
Build/Products/Debug/squant -v 4 -a ./test/schema/schema-04.txt -i /Users/jacquema/Code/Lamarque-Goudard/MIDI/perf/343-Bach-allemandePartita6_DA-30.mid -config ./params.ini -norest -barsec 8.0 -barbeat 4 -o ~/Desktop/343-out.mid
Build/Products/Debug/squant -v 4 -a ./test/schema/schema-03.txt -i /Users/jacquema/Code/Lamarque-Goudard/MIDI/perf/357-Bach-ariaGoldbergBWV988_DA_50bpm.mid -config ./params.ini -norest -barsec 3.0 -barbeat 3 -o ~/Desktop/357-out.mid
Build/Products/Debug/squant -v 4 -a ./test/test_suite/mendelssohn_romance/mendelssohn_romance_grammar.txt -i test/test_suite/mendelssohn_romance/mendelssohn_romance_midi_quant.mid -config ./params.ini -norest -barsec 4.0 -barbeat 2 -ts "4/4"
Build/Products/Debug/squant -v 4 -a ./test/test_suite/wolf_chanson/wolf_chanson_grammar.txt -i test/test_suite/wolf_chanson/wolf_chanson_midi_quant.mid -config ./params.ini -norest -barsec 4.0 -barbeat 2 -ts "4/4" -o wolf.mei
# E2E tests
# qparse v.2 (current beta)
# basic inputs
Build/Products/Debug/squant2 -v 4 -a test/schema/schema-01.wta -i test/input/input-01.txt -config ./params.ini -barsec 1.00 -max
# |(1) 2̅(⏑, ●) 𝄂
Build/Products/Debug/squant2 -v 4 -a test/schema/schema-01.wta -i test/input/input-02.txt -config ./params.ini -barsec 1.00 -max
# |(1) 2̅(●, ●) 𝄂
Build/Products/Debug/squant2 -v 4 -a test/schema/schema-01.wta -i test/input/input-03.txt -config ./params.ini -norest -barsec 1.00 -max
# |(1) 3̅(●, ●, ●) 𝄂
Build/Products/Debug/squant2 -v 4 -a test/schema/schema-01.wta -i test/input/input-04.txt -config ./params.ini -norest -barsec 1.00 -max
# |(1) 2̅(●, ●) |(2) 2̅(●, ●) 𝄂
Build/Products/Debug/squant2 -v 4 -a test/schema/schema-01.wta -i test/input/input-05.txt -config ./params.ini -norest -barsec 1.00 -max
# |(1) 2̅(●, ●) |(2) 3̅(●, ●, ●) 𝄂
Build/Products/Debug/squant2 -v 4 -a test/schema/schema-02.wta -i test/input/input-05.txt -config ./params.ini -norest -barsec 2.00 -max
# |(1) 2̅(2̅(●, ●), 3̅(●, ●, ●)) 𝄂
Build/Products/Debug/squant2 -v 4 -a test/schema/schema-01.wta -i test/input/input-06.txt -config ./params.ini -barsec 1.00 -max
# |(1) 2̅(●, 2̅(●, ●)) |(2) 3̅(●, ●, ●) 𝄂
Build/Products/Debug/squant2 -v 4 -a test/schema/schema-02.wta -i test/input/input-06.txt -config ./params.ini -mono -barsec 2.00 -ts 1/4 -max
# |(1) 2̅(2̅(●, 2̅(●, ●)), 3̅(●, ●, ●)) 𝄂
# dataset Lamarque Goudard
Build/Products/Debug/squant2 -v 5 -a ./test/schema/schema-03-R.wta -m ./Lamarque-Goudard/103-SaintSaens-elephant/perf/103_FJ.mid -config ./params.ini -mono -barsec 3.0 -ts 3/4 -output out.mei
Build/Products/Debug/squant2 -v 5 -a ./test/schema/schema-03-R.wta -m ./Lamarque-Goudard/104-Haendel-concertogrosso4op6/perf/104_FF.mid -config ./params.ini -mono -barsec 3.0 -ts 3/4 -output out.mei
Build/Products/Debug/squant2 -v 5 -a ./test/schema/schema-03-R.wta -m ./Lamarque-Goudard/304-Bach-polonaise/perf/304_DA.mid -config ./params.ini -mono -barsec 3.0 -ts 3/4 -output out.mei
Build/Products/Debug/squant2 -v 5 -a ./test/schema/schema-03-R.wta -i ./Lamarque-Goudard/357-Bach-ariaGoldbergBWV988/perf/357_DA_50bpm.mid -config ./params.ini -mono -barsec 3.0 -ts 3/4 -output out.mei
Build/Products/Debug/squant2 -v 4 -a ./test/schema/schema-04.wta -i ./Lamarque-Goudard/343-Bach-allemandePartita6/perf/343_DA-30.mid -config ./params.ini -mono -barsec 8.0 -ts 4/4 -output out.mei
Build/Products/Debug/squant2 -v 4 -a ./test/test_suite/mendelssohn_romance/mendelssohn_romance_grammar.txt -i test/test_suite/mendelssohn_romance/mendelssohn_romance_midi_quant.mid -config ./params.ini -norest -barsec 4.0
Build/Products/Debug/squant2 -v 4 -a ./test/test_suite/wolf_chanson/wolf_chanson_grammar.txt -i test/test_suite/wolf_chanson/wolf_chanson_midi_quant.mid -config ./params.ini -mono -norest -barsec 4.0
# example MCM 2019
Build/Products/Debug/squant2 -a ./test/example8/grammar-03.wta -i ./test/example8/timeline-02.txt -config ./params.ini -norest -barsec 1.0 -barbeat 1 -v 5
rm init.h : constant and function mv to appropriate places
rm configQP.h : mv to config.hpp
new hash.hpp
some cst in Label.hpp and Weight.hpp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment