]> git.parisson.com Git - timeside.git/commitdiff
update news and prepare basic tutorial
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 16 Oct 2013 00:06:28 +0000 (02:06 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 16 Oct 2013 00:06:28 +0000 (02:06 +0200)
README.rst
doc/source/examples/tutorial.rst
doc/source/install.rst
doc/source/intro.rst
setup.py

index 79ba802abcc748996b52da686e8887d4510c3a0d..00e56c3a66d8a2f66ec37fdf3ac71eb61b94134d 100644 (file)
@@ -36,11 +36,11 @@ Available plugins
      - Takes ALL known media formats thanks to GStreamer
 
  * Analyzers:
-     - MaxLevel, MeanLevel, DC
+     - Levels : max level, mean level, DC
      - Yaafe : all data flows
-     - Aubio : BPM, Beats, Pitch, various spectral descriptors
+     - Aubio : BPM, beats, pitch, various spectral descriptors
      - VAMP : all default plugins from simple host
-     - IRIT 4Hz, Entropy
+     - IRIT : 4Hz modulation and entropy speech detectors
 
  * Graphers:
      - Waveform
@@ -73,7 +73,8 @@ News
  * Add new documentation : http://files.parisson.com/timeside/doc/
  * New Debian repository for instant install
  * Various bugfixes
- * Comptatible with Python >=2.7
+ * Comptatible with python >=2.7
+ * WARNING : no longer compatible with Telemeta 1.4.5
 
 0.4.5
 
@@ -192,7 +193,8 @@ Dependencies
 ============
 
 python (>=2.7), python-setuptools, python-gst0.10, gstreamer0.10-plugins-good, gstreamer0.10-gnonlin,
-gstreamer0.10-plugins-ugly, python-aubio, python-yaafe, python-simplejson, python-yaml, python-h5py
+gstreamer0.10-plugins-ugly, python-aubio, python-yaafe, python-simplejson, python-yaml, python-h5py,
+python-scipy
 
 
 Platforms
index 2a7aeac131a3527edef6cbf4c6dedaf70866f906..aae0c07a69b62f576af83b2702d2c447f3c41210 100644 (file)
@@ -2,3 +2,34 @@
  Tutorial
 ==========
 
+== Quick Start ==
+
+A most basic operation, transcoding, is easily performed with two processors:
+
+ >>> import timeside
+ >>> decoder = timeside.decoder.FileDecoder('myfile.wav')
+ >>> encoder = timeside.encoder.OggEncoder("myfile.ogg")
+ >>> pipe = decoder | encoder
+ >>> pipe.run()
+
+As one can see in the above example, creating a processing pipe is performed with
+the binary OR operator.
+
+Audio data visualisation can be performed using graphers, such as Waveform and
+Spectrogram. All graphers return a [http://www.pythonware.com/library/pil/handbook/image.htm PIL image]:
+
+ >>> import timeside
+ >>> decoder = timeside.decoder.FileDecoder('myfile.wav')
+ >>> spectrogram = timeside.grapher.Spectrogram(width=400, height=150)
+ >>> (decoder | spectrogram).run()
+ >>> spectrogram.render().save('graph.png')
+
+It is possible to create longer pipes, as well as subpipes, here for both
+analysis and encoding:
+
+ >>> import timeside
+ >>> decoder = timeside.decoder.FileDecoder('myfile.wav')
+ >>> levels = timeside.analyzer.Level()
+ >>> encoders = timeside.encoder.Mp3Encoder('myfile.mp3') | timeside.encoder.FlacEncoder('myfile.flac')
+ >>> (decoder | levels | encoders).run()
+ >>> print levels.results
index e0b30042d08dd785eadcca279270cccccffefbb5..f3b9f26799a40c523fd7f82cc630cf6ed4ff36be 100644 (file)
@@ -31,7 +31,8 @@ Dependencies
 ============
 
 python (>=2.7), python-setuptools, python-gst0.10, gstreamer0.10-plugins-good, gstreamer0.10-gnonlin,
-gstreamer0.10-plugins-ugly, python-aubio, python-yaafe, python-simplejson, python-yaml, python-h5py
+gstreamer0.10-plugins-ugly, python-aubio, python-yaafe, python-simplejson, python-yaml, python-h5py,
+python-scipy
 
 
 Platforms
index 95532d42c65c3ce3b4a0cea18ecff86a4f91e404..75063ebecd51d424e409212e99cf830b2b11c255 100644 (file)
@@ -36,11 +36,11 @@ Available plugins
      - Takes ALL known media formats thanks to GStreamer
 
  * Analyzers:
-     - MaxLevel, MeanLevel, DC
+     - Levels : max level, mean level, DC
      - Yaafe : all data flows
-     - Aubio : BPM, Beats, Pitch, various spectral descriptors
+     - Aubio : BPM, beats, pitch, various spectral descriptors
      - VAMP : all default plugins from simple host
-     - IRIT 4Hz, Entropy
+     - IRIT : 4Hz modulation and entropy speech detectors
 
  * Graphers:
      - Waveform
index e0885d30ec066383ef3b2c670bf7692a6e441e95..41e11d09d93b66afb33cc235670156fe4d7b349c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -35,6 +35,7 @@ setup(
         'h5py',
         'yaml',
         'simplejson',
+        'scipy',
         ],
   platforms=['OS Independent'],
   license='Gnu Public License V2',