grh.mur.at - python http://grh.mur.at/taxonomy/term/3/0 en New project: auphonic http://grh.mur.at/blog/new-project-auphonic <p> Currently I am working on the <a href="http://auphonic.com">auphonic project</a>, which involves machine learning, audio signal processing, web development, open-source technologies and much more. </p> <p> So don't expect many updates on my mur.at page, I will write about new things on the <a href="http://auphonic.com/blog">auphonic blog</a>. You can subscribe to the <a href="http://feeds.feedburner.com/auphonic-latest">auphonic feed</a> or follow <a href="http://twitter.com/auphonic">@auphonic</a> on twitter. </p> audio english blog machine learning numpy python Signal Processing web Wed, 06 Jul 2011 16:19:43 +0000 grh 252 at http://grh.mur.at IAEMStream - an On-Demand Streaming Server Product http://grh.mur.at/publications/iaemstream-demand-streaming-server-product <div class="field field-type-number-integer field-field-year"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Year:&nbsp;</div> 2008 </div> </div> </div> <div class="field field-type-text field-field-authors"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Authors:&nbsp;</div> Georg Holzmann </div> </div> </div> <div class="field field-type-text field-field-pubtype"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Type:&nbsp;</div> Technical report </div> </div> </div> <div class="field field-type-text field-field-publisher"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Publisher:&nbsp;</div> <p>Institute of Electronic Music, IEM Graz, Austria</p> </div> </div> </div> <div class="field field-type-text field-field-abstract"> <div class="field-label">Abstract:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <p>IAEMStream is an on-demand streaming server product for the open source content management system Zope/Plone, written in python.</p> <p>The initial motivation was to provide students an access to the Archive of Electronic Music at the Institute for Electronic Music, University of Music and Dramatic Arts Graz. This archive consists also of material which is unfortunately not copyright-free, therefore the streams must not be available freely for the public. IAEMStream takes over the right-management of Plone and so it can be well defined who is able to download or stream specific media files.<br /> The RTSP protocol (real time streaming protocol) is used for on-demand streaming, which makes it legal for students to access the library over the internet in a comfortable way.</p> <p>This document tries to give an overview of underlying streaming technologies (codecs, protocols and etc.) in section 2. Then existing open source streaming servers are discussed and evaluated in section 3 and finally the IAEMStream product is explained in section 4.</p> <p>The software can be downloaded here: <a href="http://grh.mur.at/software/iaemstream.html">IAEMStream</a>.</p> </div> </div> </div> <div class="field field-type-filefield field-field-publication"> <div class="field-label">Publication:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <div class="filefield-file clear-block"><div class="filefield-icon field-icon-application-pdf"><img class="field-icon-application-pdf" alt="application/pdf icon" src="http://grh.mur.at/sites/all/modules/filefield/icons/protocons/16x16/mimetypes/application-pdf.png" /></div><a href="http://grh.mur.at/sites/default/files/IAEMStream-doku.pdf" type="application/pdf; length=926192" title="IAEMStream-doku.pdf">IAEMStream documentation</a></div> </div> </div> </div> python streaming Wed, 24 Jun 2009 18:27:33 +0000 grh 147 at http://grh.mur.at aureservoir http://grh.mur.at/software/aureservoir.html <div class="field field-type-text field-field-description"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Short Description:&nbsp;</div> <p>C++ library with python bindings for reservoir computing neural networks (echo state networks)</p> </div> </div> </div> <div class="field field-type-number-integer field-field-year"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Started in:&nbsp;</div> 2007 </div> </div> </div> <div class="field field-type-text field-field-authors"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Authors:&nbsp;</div> Georg Holzmann </div> </div> </div> <div class="field field-type-text field-field-license"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> License:&nbsp;</div> GNU Library or "Lesser" General Public License (LGPL) </div> </div> </div> <div class="field field-type-text field-field-progamming-lang"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Programming language:&nbsp;</div> C++, Python </div> </div> </div> <div class="field field-type-text field-field-abstract"> <div class="field-label">Overview:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <p> Reservoir computing is a recent kind of recurrent neural network computation, where only the output weights are trained. This has the big advantage that training is a simple linear regression task and one cannot get into a local minimum. Such a network consists of a randomly created, fixed, sparse recurrent reservoir and a trainable output layer connected to this reservoir. Most known types are the "Echo State Network" and the "Liquid State Machine", which achieved very promising results on various machine learning benchmarks. </p> <p> This library should be an open source (L-GPL) and very efficient implementation of Echo State Networks with bindings to scientific computation packages (so far to <a href="http://www.scipy.org/">python/numpy</a>, <a href="http://www.puredata.info/">Pure Data</a> and <a href="http://www.octave.org/">octave</a> are in work, everyone is invited to make a Matlab binding) for offline and realtime simulations. It can be extended in an easy way with new simulation, training and adaptation algorithms, which are function objects and automatically used by the main classes. </p> <p> For a theoretical overview and some papers about Echo State Networks see: <a href="http://www.scholarpedia.org/article/Echo_State_Network">Echo State Networks</a> and for a detailed description, examples, documentation, downloads and installation instructions please visit the project page. </p> </div> </div> </div> <div class="field field-type-link field-field-software-url"> <div class="field-label">Project page URL:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <a href="http://aureservoir.sourceforge.net/">aureservoir project page</a> </div> <div class="field-item even"> <a href="http://sourceforge.net/projects/aureservoir/">aureservoir sourceforge page</a> </div> <div class="field-item odd"> <a href="https://lists.sourceforge.net/lists/listinfo/aureservoir-user">aureservoir mailing list</a> </div> </div> </div> <div class="field field-type-link field-field-version-url"> <div class="field-label">Version Control System URL:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <a href="https://aureservoir.svn.sourceforge.net/svnroot/aureservoir/">aureservoir SVN repository</a> </div> </div> </div> machine learning neural networks python Wed, 24 Jun 2009 15:46:39 +0000 grh 143 at http://grh.mur.at numpy2carray http://grh.mur.at/software/numpy2carray.html <div class="field field-type-text field-field-description"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Short Description:&nbsp;</div> <p>a python/numpy to C array converter for SWIG</p> </div> </div> </div> <div class="field field-type-number-integer field-field-year"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Started in:&nbsp;</div> 2007 </div> </div> </div> <div class="field field-type-text field-field-authors"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Authors:&nbsp;</div> Georg Holzmann </div> </div> </div> <div class="field field-type-text field-field-license"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> License:&nbsp;</div> BSD License </div> </div> </div> <div class="field field-type-text field-field-progamming-lang"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Programming language:&nbsp;</div> C, SWIG, Python </div> </div> </div> <div class="field field-type-text field-field-abstract"> <div class="field-label">Overview:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <p><strong><br /> NOTE:<br /> These wrappers are deprecated! They are now integrated in the official numpy swig interface file (numpy.i).<br /> You can find them in <a href="http://svn.scipy.org/svn/numpy/trunk/doc/swig/">numpy-svn/numpy/doc/swig</a>, also with quite good documentation!<br /> </strong></p> <p>This is an interface between <a href="http://numpy.scipy.org/">numpy</a> arrays (used for scientific computation in python - see <a href="http://www.scipy.org">scipy.org</a>) and C/C++ style arrays, build after looking at the umfpack.i interface from scipy.<br /> There exists also an other wrapper in scipy - however, you always have to copy data with those bindings which was not possible in my situation.</p> <p>All you need is the "numpy2carray.i" file.<br /> There are routines for array in/output with or without copying data (also for fortran style arrays - only one example in numpy2carray.i - see FARRAY2_OUT macro).</p> <p><strong>examples</strong></p> <p>class_example:</p> <p>A example usage with a class and some internal data.<br /> class_example.h: the C++ code<br /> class_example.i: the SWIG interface file<br /> class_example_usage.py: example usage in python</p> <p>example:</p> <p>A procedural example.<br /> example.cpp: the C++ code<br /> example.i: the SWIG interface file</p> <p>Building the examples:<br /> you need scons, the simply type "scons" in the terminal</p> <p>This code should be seen as a demonstration and should be customized to your application (e.g. maybe more error checking etc).</p> <p>See also the following links:<br /> <a href="http://www.geocities.com/foetsch/python/extending_python.htm">tutorial to start</a><br /> <a href="http://numpy.scipy.org/numpydoc/numpy-13.html">numpy C api</a><br /> <a href="http://www.swig.org/Doc1.3/Python.html">swig and python</a><br /> <a href="http://www.scipy.org/Cookbook/SWIG_and_NumPy">swig and numpy</a></p> </div> </div> </div> <div class="field field-type-filefield field-field-tarball"> <div class="field-label">Release Tarball:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <div class="filefield-file clear-block"><div class="filefield-icon field-icon-application-octet-stream"><img class="field-icon-application-octet-stream" alt="application/octet-stream icon" src="http://grh.mur.at/sites/all/modules/filefield/icons/protocons/16x16/mimetypes/application-octet-stream.png" /></div><a href="http://grh.mur.at/sites/default/files/numpy2carray.tar_.gz" type="application/octet-stream; length=4025" title="numpy2carray.tar_.gz">numpy2carray source and examples</a></div> </div> </div> </div> numpy python SWIG Wed, 24 Jun 2009 15:38:31 +0000 grh 142 at http://grh.mur.at powEEErsave http://grh.mur.at/software/poweeersave.html <div class="field field-type-text field-field-description"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Short Description:&nbsp;</div> <p>pyqt4 GUI to control various settings to save power on the Asus EEE-PC</p> </div> </div> </div> <div class="field field-type-number-integer field-field-year"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Started in:&nbsp;</div> 2008 </div> </div> </div> <div class="field field-type-text field-field-authors"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Authors:&nbsp;</div> Georg Holzmann </div> </div> </div> <div class="field field-type-text field-field-license"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> License:&nbsp;</div> GNU General Public License (GPL) </div> </div> </div> <div class="field field-type-text field-field-progamming-lang"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Programming language:&nbsp;</div> Python </div> </div> </div> <div class="field field-type-text field-field-abstract"> <div class="field-label">Overview:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <p>This is a small python/<a href="http://wiki.python.org/moin/PyQt4">pyqt4</a> GUI progam to control various settings to save power on the Asus EEE-PC.<br /> At the moment one can control and query the status of the camera, sound, wlan, lan, usb 1.1, fan and the cpu. All settings can be stored in presets, in example for battery, high-performance, low-power mode and etc.</p> <p><span class="inline inline-center"><a href="/content/poweeersave-1"><img src="http://grh.mur.at/sites/default/files/images/poweeer1.preview.jpeg" alt="" title="" class="image image-preview " width="400" height="240" /></a></span><br /> <span class="inline inline-center"><a href="/content/poweeersave-2"><img src="http://grh.mur.at/sites/default/files/images/poweeer2.preview.jpeg" alt="" title="" class="image image-preview " width="400" height="240" /></a></span></p> <p><em>Usage:</em><br /> Simply start the script poweeersave, then you will be asked for your root password. The program is not constantly querying the status of all your hardware, therefore if you want to update the current status you have to click on the button "Query Status". The presets are stored in the file "HOME/.config/grh.mur.at/poweeersave.conf", where HOME is usually "/root", because you need to run the program as superuser.</p> <p><em>Development:</em><br /> The program is written in python with pyqt4 and QtDesigner. You can open the file src/poweeersave.ui in QtDesigner to change the GUI. All commands which access hardware information are in the file src/commands.py and the logic in src/poweeersave.py. Any contribution is highly appreciated ! </p> <div class="image-clear"></div> </div> </div> </div> <div class="field field-type-filefield field-field-tarball"> <div class="field-label">Release Tarball:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <div class="filefield-file clear-block"><div class="filefield-icon field-icon-application-octet-stream"><img class="field-icon-application-octet-stream" alt="application/octet-stream icon" src="http://grh.mur.at/sites/all/modules/filefield/icons/protocons/16x16/mimetypes/application-octet-stream.png" /></div><a href="http://grh.mur.at/sites/default/files/poweeersave.tar_.gz" type="application/octet-stream; length=17316" title="poweeersave.tar_.gz">powEEErsave program and source </a></div> </div> </div> </div> eeepc python qt Wed, 24 Jun 2009 15:30:52 +0000 grh 139 at http://grh.mur.at IAEMStream http://grh.mur.at/software/iaemstream.html <div class="field field-type-text field-field-description"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Short Description:&nbsp;</div> <p>An RTSP on-demand streaming server product for plone, using the Helix DNA Server </p> </div> </div> </div> <div class="field field-type-number-integer field-field-year"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Started in:&nbsp;</div> 2007 </div> </div> </div> <div class="field field-type-text field-field-authors"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Authors:&nbsp;</div> Georg Holzmann </div> </div> </div> <div class="field field-type-text field-field-license"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> License:&nbsp;</div> GNU General Public License (GPL) </div> </div> </div> <div class="field field-type-text field-field-progamming-lang"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Programming language:&nbsp;</div> Python </div> </div> </div> <div class="field field-type-text field-field-abstract"> <div class="field-label">Overview:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <p>The goal of the project was to use an Open-Source On-Demand Streaming Server for the Content Management System <a href="http://www.plone.org/">Zope/Plone</a>, which allows On-Demand Streaming for Audio and Video files via the RTSP-Protocol (Real Time Streaming Protocol) in Plone.</p> <p>After some research about existing solutions we decided to use the <a href="https://helixcommunity.org/">Helix DNA Server</a>.</p> <p>This product has lots of additional features like a detailed right management, automatic conversion of various audio/video formats and more.</p> <p>A detailed documentation of the product and its underlying technology can be found at <a href="http://grh.mur.at/publications/iaemstream-demand-streaming-server-product">IAEMStream documentation</a>.</p> </div> </div> </div> <div class="field field-type-link field-field-version-url"> <div class="field-label">Version Control System URL:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <a href="http://iem.svn.sourceforge.net/viewvc/iem/IAEM/trunk/IAEMStream/">IAEMStream SVN repository</a> </div> </div> </div> python streaming Sun, 15 Mar 2009 11:38:52 +0000 grh 30 at http://grh.mur.at