]> git.parisson.com Git - timeside.git/commitdiff
update examples related to the new grapher API
authoryomguy <yomguy@parisson.com>
Sat, 9 Oct 2010 14:03:47 +0000 (14:03 +0000)
committeryomguy <yomguy@parisson.com>
Sat, 9 Oct 2010 14:03:47 +0000 (14:03 +0000)
INSTALL

diff --git a/INSTALL b/INSTALL
index 08822e0cda7100323a3de926fa39dc9bebc90940..e3af4ade96d74ec136032e1011ce3495111bfb46 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -106,11 +106,11 @@ For example, a normalization and a waveform, from a python shell::
 >>> import timeside
 
 >>> decoder  =  timeside.decoder.FileDecoder('source.wav')
->>> grapher  =  timeside.grapher.Waveform(output='image.png')
+>>> grapher  =  timeside.grapher.Waveform()
 >>> analyzer =  timeside.analyzer.MaxLevel()
 >>> encoder  =  timeside.encoder.WavEncoder('output.wav')
 >>> (decoder | grapher | analyzer | encoder).run()
->>> grapher.render()
+>>> grapher.render(output='image.png')
 >>> print 'Level:', analyzer.result()