Add playitslowlycli console application.#3
Open
andrzej-bieniek wants to merge 13 commits intojwagner:masterfrom
Open
Add playitslowlycli console application.#3andrzej-bieniek wants to merge 13 commits intojwagner:masterfrom
andrzej-bieniek wants to merge 13 commits intojwagner:masterfrom
Conversation
Renamed to get it properly rendered on github. --HG-- rename : README => README.rst
Added --sink from the main application. Add --encoder option, when set content is stored to file.
As a result playitslowlycli doesn't depend on gtk.
playitslowly/appcli.py
Outdated
Owner
There was a problem hiding this comment.
why don't you use str.join with a generator expression?
Author
There was a problem hiding this comment.
Yes, good idea. Thanks!
Owner
There was a problem hiding this comment.
I'm quite busy right now but I will try to find time to do a full review soon. Thanks for your contribution. :)
Author
There was a problem hiding this comment.
ok, I should be around...
Contributor
|
You are probably aware of this audio filter for mplayer named scaletempo, who does a nice job of changing speed without changing pitch: mplayer -af scaletempo -speed 0.7 file.mp3 You can change speed on-the-fly using the [ ] keys. |
Author
|
Thanks for a tip. I came across scaletempo in gstreamer. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add playitslowlycli console application.
$ playitslowlycli --help
Usage: playitslowlycli [options] audiofile
Application changes playback speed. By default it plays the audio track. When
encoder is set (-e option) it sotres audio to the file. Suffix with speed
information and codec extension is added to the output file.
Options:
-h, --help show this help message and exit
--sink=SINK specify gstreamer sink for playback
-s SPEED, --speed=SPEED
playback speed, (value 1 means unchanged)
-e ENCODER, --encoder=ENCODER
audio encoder (when selected audio is tored to file).
Available encoders: wav, aac