From: Guillaume Pellerin Date: Thu, 10 Oct 2013 08:08:50 +0000 (+0200) Subject: import all modules, fix exmaples, update version parsing X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2514dd326df89c989437eebdb2c8d1d7bcf539f3;p=timeside-diadems.git import all modules, fix exmaples, update version parsing --- diff --git a/README.rst b/README.rst index 433ec1b..6dfbfb3 100644 --- a/README.rst +++ b/README.rst @@ -132,10 +132,10 @@ Dive in Define some processors:: >>> import timeside - >>> decoder = timeside.decoder.FileDecoder('source.wav') + >>> decoder = timeside.decoder.FileDecoder('sweep.wav') >>> grapher = timeside.grapher.Waveform() - >>> analyzer = timeside.analyzer.MaxLevel() - >>> encoder = timeside.encoder.Mp3Encoder('output.mp3') + >>> analyzer = timeside.analyzer.Level() + >>> encoder = timeside.encoder.VorbisEncoder('sweep.ogg') then, the *magic* pipeline:: @@ -143,10 +143,8 @@ then, the *magic* pipeline:: get the results:: - >>> grapher.render(output='image.png') - >>> print 'Level:', analyzer.result() - -and finally see image.png and play output.mp3 ;) + >>> grapher.render(output='waveform.png') + >>> print 'Level:', analyzer.results() `More examples `_