Skip to content

Commit

Permalink
clean up sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
letuananh committed Aug 26, 2021
1 parent 4b66ff3 commit f09601c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipe_media.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ cutting ``test.wav`` from the beginning to 00:00:10 and write output to ``test_b

cutting ``test.wav`` from 00:00:15 to the end of the file and write output to ``test_after15.ogg``

>>> media.cut("test.wav", ELAN_DIR / "test_after15.ogg", from_ts="00:00:15")
>>> media.cut("test.wav", "test_after15.ogg", from_ts="00:00:15")

cutting ``test.wav`` from 00:00:15 to 00:00:15 and write output to ``test_10-15.ogg``

>>> media.cut(ELAN_DIR / "test.wav", ELAN_DIR / "test_10-15.ogg", from_ts="00:00:10", to_ts="00:00:15")
>>> media.cut("test.wav", "test_10-15.ogg", from_ts="00:00:10", to_ts="00:00:15")

Using extra arguments
---------------------
Expand Down

0 comments on commit f09601c

Please sign in to comment.