-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
66 lines (66 loc) · 1.71 KB
/
dvc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
stages:
verovio:
foreach: ${samples}
do:
cmd: /home/kwon-young/prog/verovio/build/verovio -r /home/kwon-young/prog/verovio/data --xml-id-checksum
-o data/${item}-verovio.svg data/${item}.musicxml
deps:
- data/${item}.musicxml
outs:
- data/${item}-verovio.svg
svg2pl:
foreach: ${samples}
do:
cmd: python svg2pl.py data/${item}-verovio.svg data/glyphnames.json data/${item}-verovio.pl
deps:
- data/${item}-verovio.svg
- data/glyphnames.json
- svg2pl.py
outs:
- data/${item}-verovio.pl
musicReco:
foreach: ${samples}
do:
cmd: swipl -t halt -s music.pl -g "mainReco('data/${item}-verovio.pl', 'settings/musicReco.txt', 'data/${item}-verovio.musicxml')."
deps:
- data/${item}-verovio.pl
- ccx.pl
- cond.pl
- epf_geo.pl
- epf.pl
- geo.pl
- music.pl
- music_utils.pl
- pitch_cond.pl
- seg.pl
- utils.pl
- note.pl
outs:
- data/${item}-verovio.musicxml
musicGen:
foreach: ${samples}
do:
cmd: swipl -t halt -s music.pl -g "mainGen('data/${item}.musicxml', 'settings/musicGen.txt', 'data/${item}-music.pl')."
deps:
- data/${item}.musicxml
- ccx.pl
- cond.pl
- epf_geo.pl
- epf.pl
- geo.pl
- music.pl
- music_utils.pl
- pitch_cond.pl
- seg.pl
- utils.pl
- note.pl
outs:
- data/${item}-music.pl
diffXml:
foreach: ${samples}
do:
cmd: swipl -t halt -s diffxml.pl -g "diffXml('data/${item}.musicxml', 'data/${item}-verovio.musicxml')."
deps:
- data/${item}.musicxml
- data/${item}-verovio.musicxml
- diffxml.pl