From: yomguy Date: Sat, 9 Oct 2010 14:03:47 +0000 (+0000) Subject: update examples related to the new grapher API X-Git-Tag: 0.3.2~102 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e49f8e5bc5a53aa45dcd87965febdecb4c842056;p=timeside.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()