projects
/
vidi-player.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0840d64
)
create_test_videofont.py: generate a "rest" sample with silence in it
author
Antonio Ospite <ao2@ao2.it>
Fri, 2 Dec 2016 15:45:47 +0000
(16:45 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 2 Dec 2016 16:24:09 +0000
(17:24 +0100)
create_test_videofont.py
patch
|
blob
|
history
diff --git
a/create_test_videofont.py
b/create_test_videofont.py
index
40125a6
..
acde8ab
100755
(executable)
--- a/
create_test_videofont.py
+++ b/
create_test_videofont.py
@@
-37,6
+37,11
@@
FILE_PIPELINE_TEMPLATE = """
def create_test_videofont(pipeline_template, notes_range, destination_dir=None):
+ print("Silence")
+ pipeline_string = pipeline_template.format("rest", 0, destination_dir)
+ player = vidi.Player.from_pipeline_string(pipeline_string)
+ player.play()
+
for i, note_number in enumerate(notes_range):
note = vidi.SpnNote(note_number)