Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests, refactor, new slideshow feature, other improvements #55

Merged
merged 29 commits into from
Aug 6, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f923c39
.gitignore updated
leguye Jan 7, 2014
c65a8cc
unit tests: new test.py, using unittest python lib
leguye Jan 7, 2014
b339675
refactor: add 'utils' module for some utility functions
leguye Jan 7, 2014
bff350b
refactor: add 'video' module
leguye Jan 7, 2014
faf9b49
add initialisation of index variable in getNoteIndices()
leguye Jan 7, 2014
713eda4
update authors
leguye Jan 7, 2014
5fda08a
refactor: new 'ScoreImage' class managing score image cropping and tr…
leguye Jan 7, 2014
fdfe0ab
unit tests: 'ScoreImage' testing
leguye Jan 7, 2014
17a84a6
The loop on frame generation is now based on midi ticks
leguye Jan 7, 2014
99f4aeb
add VideoFrameWriter.scoreImage property
leguye Jan 7, 2014
698727b
add --measure-cursor option, following score measure by measure
leguye Jan 8, 2014
0a60a03
unit tests: testing 'writeMeasureCursor' and 'writeCursorLine'
leguye Jan 8, 2014
5cdffd8
add --note-cursor and --no-cursor options
magiraud Jan 8, 2014
b575fc2
add --slide-show option, displaying fixed pictures in one area of the…
leguye Jan 9, 2014
e778c2a
--slide-show: more documentation in doc/slideshow.txt
leguye Jan 9, 2014
1667ef5
--slide-show: add a cursor line at a constant speed
leguye Jan 9, 2014
64df6b4
--slide-show: option --slide-show-cursor to set the start/end positio…
leguye Jan 9, 2014
9eeabbc
adds height and width in ScoreImage constructor
leguye Jan 14, 2014
7c53874
unit tests: 'VideoFrameWriter' testing
leguye Jan 14, 2014
06d6b12
improve output: the end of the score is right-aligned at the end of t…
leguye Jan 14, 2014
b484b81
refactor: new 'synchro.TimeCode' class to drive medias
leguye Feb 4, 2014
8a9880f
unit tests: 'TimeCode' class testing
leguye Feb 4, 2014
9e22d49
video.py: add comments describing the classes
leguye Feb 4, 2014
cdcc954
video.py: add options hints (-r/-y) to error messages related to vide…
magiraud Mar 3, 2014
937e3f0
uses midiResolution instead of 384 whenever possible
leguye Mar 11, 2014
5850f9b
ly2video.py: use argparse to parse command-line
magiraud Mar 11, 2014
b2206c0
argparse: use %(default)s in option help messages
magiraud Mar 11, 2014
8833d0e
argparse: reorder options into groups
magiraud Mar 11, 2014
23033cd
argparse: update help messages for some options
magiraud Mar 11, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ build/
src/
ly2video.tmp/
README.html
*~
*.pyc
.project
.settings
.pydevproject
22 changes: 22 additions & 0 deletions doc/slideshow.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

--slide-show

The option --slide-show adds the possibility to display a slide shown up to the score.
This slide show is composed of a set of png files
- sharing a common prefix (for example "/path/to/dir/slide-")
- having each one a suffix with the format "0000.0000.png", giving
the offset (in quarters) when the image must be displayed.

For example, given these files:
/path/to/dir/slide-0000.0000.png
/path/to/dir/slide-0000.0050.png
/path/to/dir/slide-0008.0025.png

with the command:
ly2video --slide-show "/path/to/dir/slide-" ...

The first file will be displayed at the begining of the score.
The second one replaces the first one at offset 0.5000 (one eighth after the start), and so on.



Loading