From: yomguy Date: Sat, 9 Oct 2010 14:03:47 +0000 (+0000) Subject: update examples related to the new grapher API X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=10e5002c1942e05283883b77f85c4666eac2e087;p=timeside-diadems.git update examples related to the new grapher API --- diff --git a/INSTALL b/INSTALL index 08822e0..e3af4ad 100644 --- 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()