Skip to content

Commit

Permalink
bump version; update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rabitt committed Aug 16, 2016
1 parent 2353adc commit 7227339
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ nosetests .
```python
import sox
# create trasnformer
tfm = sox.Transformer('path/to/input_audio.wav', 'path/to/output/audio.aiff')
tfm = sox.Transformer()
# trim the audio between 5 and 10.5 seconds.
tfm.trim(5, 10.5)
# apply compression
tfm.compand()
# apply a fade in and fade out
tfm.fade(fade_in_len=1.0, fade_out_len=0.5)
# create the output file.
tfm.build()
tfm.build('path/to/input_audio.wav', 'path/to/output/audio.aiff')
# see the applied effects
tfm.effects_log
> ['trim', 'compand', 'fade']
Expand All @@ -75,14 +75,14 @@ Concatenate 3 audio files:
```python
import sox
# create combiner
cbn = sox.Combiner(
['input1.wav', 'input2.wav', 'input3.wav'], output.wav, 'concatenate'
)
cbn = sox.Combiner()
# pitch shift combined audio up 3 semitones
cbn.pitch(3.0)
# convert output to 8000 Hz stereo
cbn.convert(samplerate=8000, channels=2)
# create the output file
cbn.build()
cbn.build(
['input1.wav', 'input2.wav', 'input3.wav'], output.wav, 'concatenate'
)

```
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
setup(
name='sox',

version='1.1.8',
version='1.1.9',

description='Python wrapper around SoX.',

Expand Down

0 comments on commit 7227339

Please sign in to comment.