-
Notifications
You must be signed in to change notification settings - Fork 23
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
Commits on Jan 7, 2014
-
Eclipse metadata, Emacs *~ and .pyc are now ignored.
Configuration menu - View commit details
-
Copy full SHA for f923c39 - Browse repository at this point
Copy the full SHA f923c39View commit details -
unit tests: new test.py, using unittest python lib
Tested functions: * findStaffLinesInImage() Tested classes: * VideoFrameWriter: - image handling methods: . isLineBlank() . getTopAndBottomMarginSizes() . getCropTopAndBottom() . cropFrame() - time handling methods: . ticksToSecs() . secsElapsedForTempoChanges()
Configuration menu - View commit details
-
Copy full SHA for c65a8cc - Browse repository at this point
Copy the full SHA c65a8ccView commit details -
refactor: add 'utils' module for some utility functions
To maintain the code more easily, the program will be split into several modules. setDebug() and setRunDir() functions are handling global var DEBUG and runDir.
Configuration menu - View commit details
-
Copy full SHA for b339675 - Browse repository at this point
Copy the full SHA b339675View commit details -
Move VideoFrameWriter and some image scanning functions into a new 'video' module. Update unit tests.
Configuration menu - View commit details
-
Copy full SHA for bff350b - Browse repository at this point
Copy the full SHA bff350bView commit details -
add initialisation of index variable in getNoteIndices()
Avoid an 'undefined var' at execution?
Configuration menu - View commit details
-
Copy full SHA for faf9b49 - Browse repository at this point
Copy the full SHA faf9b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 713eda4 - Browse repository at this point
Copy the full SHA 713eda4View commit details -
refactor: new 'ScoreImage' class managing score image cropping and tr…
…avelling Some VideoFrameWriter methods are now moved to this class. The getCropTopAndBottomMarginSizes() method is replaced by the topCroppable() and bottomCroppable() methods which respectivly return the number of pixels the image can be cropped on top an bottom. An instance is now used by VideoFrameWriter. Some unused code has been removed in VideoFrameWriter (write and secsElapsedForTempoChanges)
Configuration menu - View commit details
-
Copy full SHA for 5fda08a - Browse repository at this point
Copy the full SHA 5fda08aView commit details -
unit tests: 'ScoreImage' testing
Update the tests for the new class ScoreImage. The tests of image handling methods are moved to the ScoreImageTest test class. Tested functions: * findStaffLinesInImage() Tested classes: * VideoFrameWriter: . ticksToSecs() . secsElapsedForTempoChanges() * ScoreImage . __isLineBlank() . __setCropTopAndBottom() . __cropFrame() . topCroppable() . bottomCroppable() . makeFrame()
Configuration menu - View commit details
-
Copy full SHA for fdfe0ab - Browse repository at this point
Copy the full SHA fdfe0abView commit details -
The loop on frame generation is now based on midi ticks
...instead of image notes indexes. Less dependant from the scoreImage class.
Configuration menu - View commit details
-
Copy full SHA for 17a84a6 - Browse repository at this point
Copy the full SHA 17a84a6View commit details -
add VideoFrameWriter.scoreImage property
The ScoreImage instance of VideoFrameWriter can now be set as a public property. Some parameters of the VideoFrameWriter constructor are removed and the write() method has now no parameter. These parameters are attached to the ScoreImage instance.
Configuration menu - View commit details
-
Copy full SHA for 99f4aeb - Browse repository at this point
Copy the full SHA 99f4aebView commit details
Commits on Jan 8, 2014
-
add --measure-cursor option, following score measure by measure
Implements a measure cursor that is slightly less intrusive than the line cursor following each note. Updates writeSpaceTimeDumper() function the measures bars positions. New function getMeasuresIndices().
Configuration menu - View commit details
-
Copy full SHA for 698727b - Browse repository at this point
Copy the full SHA 698727bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a60a03 - Browse repository at this point
Copy the full SHA 0a60a03View commit details -
add --note-cursor and --no-cursor options
These options are added to be more coherent with --measure-cursor, and to allow no cursor at all.
Configuration menu - View commit details
-
Copy full SHA for 5cdffd8 - Browse repository at this point
Copy the full SHA 5cdffd8View commit details
Commits on Jan 9, 2014
-
add --slide-show option, displaying fixed pictures in one area of the…
… video VideoFrameWriter is now able to push up medias.
Configuration menu - View commit details
-
Copy full SHA for b575fc2 - Browse repository at this point
Copy the full SHA b575fc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e778c2a - Browse repository at this point
Copy the full SHA e778c2aView commit details -
--slide-show: add a cursor line at a constant speed
This cursor can be used when the slide show displays some structure diagram. Some hard coded values should be set by command line options...
Configuration menu - View commit details
-
Copy full SHA for 1667ef5 - Browse repository at this point
Copy the full SHA 1667ef5View commit details -
--slide-show: option --slide-show-cursor to set the start/end positio…
…ns of the cursor
Configuration menu - View commit details
-
Copy full SHA for 64df6b4 - Browse repository at this point
Copy the full SHA 64df6b4View commit details
Commits on Jan 14, 2014
-
adds height and width in ScoreImage constructor
Deletes height and width in VideoFrameWriter constructor (No height limit, score)
Configuration menu - View commit details
-
Copy full SHA for 9eeabbc - Browse repository at this point
Copy the full SHA 9eeabbcView commit details -
unit tests: 'VideoFrameWriter' testing
Tested classes: * VideoFrameWriter: . push() . scoreImageSetter()
Configuration menu - View commit details
-
Copy full SHA for 7c53874 - Browse repository at this point
Copy the full SHA 7c53874View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06d6b12 - Browse repository at this point
Copy the full SHA 06d6b12View commit details
Commits on Feb 4, 2014
-
refactor: new 'synchro.TimeCode' class to drive medias
Time handling methods are moved to this class. The design pattern 'Observer' is used. New 'synchro' module.
Configuration menu - View commit details
-
Copy full SHA for b484b81 - Browse repository at this point
Copy the full SHA b484b81View commit details -
unit tests: 'TimeCode' class testing
Add tests for the new class TimeCode, update some tests. Some new fonctional tests (testCompleteFollowing) Tested classes: * TimeCode: . ticksToSecs() . secsElapsedForTempoChanges() . nbFramesToNextNote() . goToNextNote() . atEnd() * ScoreImage: . currentXposition . moveToNextNote() . cropFrame()
Configuration menu - View commit details
-
Copy full SHA for 8a9880f - Browse repository at this point
Copy the full SHA 8a9880fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e22d49 - Browse repository at this point
Copy the full SHA 9e22d49View commit details
Commits on Mar 3, 2014
-
Configuration menu - View commit details
-
Copy full SHA for cdcc954 - Browse repository at this point
Copy the full SHA cdcc954View commit details
Commits on Mar 11, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 937e3f0 - Browse repository at this point
Copy the full SHA 937e3f0View commit details -
ly2video.py: use argparse to parse command-line
As of Python 2.7, optparse is deprecated in favour of argparse.
Configuration menu - View commit details
-
Copy full SHA for 5850f9b - Browse repository at this point
Copy the full SHA 5850f9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2206c0 - Browse repository at this point
Copy the full SHA b2206c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8833d0e - Browse repository at this point
Copy the full SHA 8833d0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23033cd - Browse repository at this point
Copy the full SHA 23033cdView commit details