From 2514dd326df89c989437eebdb2c8d1d7bcf539f3 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 10 Oct 2013 10:08:50 +0200 Subject: [PATCH] import all modules, fix exmaples, update version parsing --- README.rst | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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 `_ -- 2.39.5