EuroPython training checklist

Veröffentlicht unter Coding, Computer, Python am 22. Juli 2014 von Chris – Ersten Kommentar schreiben

Here’s a checklist for participants of my training session Interactive experiments in sound synthesis with Nsound, numpy and matplotlib at EuroPython 2014 in Berlin.

  1. Have/bring a laptop with Linux (preferred), Windows, or OS X and good headphones.
    An external audio interface may help with audio performance but is not essential.
  2. Download and install my virtual machine appliance for the course
    or follow the instructions to set up your own environment for the course.
  3. Get the initial course material from my Git repository (the $ denotes the shell prompt):
    $ git clone http://chrisarndt.de/git/soundxp-ep2014.git soundxp

    If you use my virtual machine, do this instead:

    $ cd ~/work/soundxp
    $ git pull
  4. Test that audio output over your headphones works by playing the file audio/mynameis.wav from the course material with any audio player provided by your system (for example on my virtual machine you can use aplay from the command line).
  5. Test that your Nsound installation works by activating the virtual environment in which you installed it (see step 1) and running:
    $ cd soundxp
    $ ipython -i startup.py
    Python 2.7.8 (default, Jul  1 2014, 17:30:21)
    Type "copyright", "credits" or "license" for more information.
    IPython 2.1.0 -- An enhanced Interactive Python.
    [...]
    In[1]: /pl mynameis

We will quickly do steps 3 – 5  at the beginning of the course again for all participants to get up-to-date.

I’m looking forward to meeting you all at the training session, let’s have fun making noise!

Setting up a virtualenv for IPython and Nsound

Veröffentlicht unter Coding, Computer, Python am 22. Juli 2014 von Chris – Ersten Kommentar schreiben

These instructions detail how to create a working environment for participants of my training session Interactive experiments in sound synthesis with Nsound, numpy and matplotlib at EuroPython 2014 in Berlin who do not want to or cannot use the virtual machine appliance I created for the course. These instructions are geared to Linux users, though with a bit of knowledge and adaptation on your part, they can also be applied to Microsoft Windows or Mac OS X systems. Inexperienced users are strongly encouraged to use the virtual machine appliance instead!

Weiter lesen »

Virtual machine for my EuroPython 2014 sound experimentation training

Veröffentlicht unter Ankündigungen, Coding, Computer, Python am 19. Juli 2014 von Chris – Ersten Kommentar schreiben

I have created a virtual machine for virtualbox for the participants of my training session Interactive experiments in sound synthesis with Nsound, numpy and matplotlib at EuroPython 2014 in Berlin. It provides a ready to run Manjaro Linux System with an XFCE desktop and all the software necessary to follow the course.

Update (2014-07-22): if you already are at EuroPython and downloading the virtual machine appliance is too slow, please contact me via email (see below) or on Twitter (@TheUnifaun) and we’ll meet and I’ll transfer the file to you via USB stick or SD card.

Here are the instructions on how to get your environment for the training session up and running. These instructions should work regardless of whether you use Windows, OS X or Linux:

Weiter lesen »

Select a Python code block in Geany with Lua

Veröffentlicht unter Coding, Computer, Lua, Python am 4. April 2014 von Chris – Ersten Kommentar schreiben

Here’s a nifty little Lua script for the Geanylua plug-in for the Geany text editor to select a Python code block in Geany with Lua. When the script is activated, it will select the block corresponding to the current code folding level of the line the cursor is on in the active document. E.g. if you place the cursor in the body of a Python function on a line that is on the same indentation level as the first line of the body of the function, it will select the whole function. Also, if the cursor is on the opening line of a block, e.g. a line starting with class, def, if, etc., the script will select the block started by this line.

Weiter lesen »

Benjamins Schlaflied

Veröffentlicht unter Musik, Recording am 18. Februar 2014 von Chris – Ersten Kommentar schreiben

Welcome, my Nephew

Here is a little song I wrote for my nephew, who was born two weeks ago, to welcome him into this world and hopefully give him some comfort while he rests from the tiring all-day business of processing his mother’s milk. It is thus called Benjamins Schlaflied (Benjamin’s Lullaby) and I play the piano and an accordion, which I borrowed from my sister (the mother) a while ago. It is the first time I used an accordion in a song, so please excuse my less than virtuoso playing.

According to the internet, Benjamin may mean “son of the south” or “son of fortune”, among other things. If Nomen est Omen, he seems to be destined for a bright future. I give him my best wishes for the journey of live he has embarked on!

Weiter lesen »

Get the gist of it

Veröffentlicht unter Coding, Computer, Python am 11. Februar 2014 von Chris – Ersten Kommentar schreiben

Some months ago I finally caught up with modern development practices and switched to Git for new software projects. Though I host my own projects on my own server with the help of Trac and gitosis, one thing I do like about GitHub though, are Gists. Like many good ideas this one makes one wonder, why nobody came up with it before. It is also very easy to include Gists in your blog, which is what I’m starting with this post.

Recently, on the German mailing list of the pyCologne User Group, someone was pointing out Python’s poor performance at an implementation of the fibonacci series using recursion and showed some Scala code that profited from a few added type declarations. I showed that a similar performance gain could be achieved using Cython, with very few changes to the original pure Python code. I created a small shell function to automate the process of compiling a Cython source file with the --embed option and turning it it into a binary. The function then runs the resulting binary, so you can use this function to run a *.pyx file directly. Read full article…

Weiter lesen »

A Song For The New Year

Veröffentlicht unter Musik, Recording am 28. Dezember 2012 von Chris – 3 Kommentare

The days between Christmas and New Year’s Eve have always been a time for me where I find the tranquility to dig into personal projects without much distraction. The past few days I have been writing and recording a new song, which is a first for me, in that I wrote a two-hand Piano part and learned to play it – a thing I wouldn’t have been able to to a few months ago.

Weiter lesen »

On The AN1x Machine

Veröffentlicht unter Musik, Recording, Synths, Verschiedenes am 1. Dezember 2012 von Chris – 1 Kommentar

Kleine Spielerei mit dem Step-Sequenzer des Yamaha AN1x:

Share & Enjoy!

Alles so schön bunt hier!

Veröffentlicht unter Reise am 2. Oktober 2012 von Chris – Ersten Kommentar schreiben
Alles so schön bunt hier!

“Ein Spaziergang im Grünen” wird der Sache im Herbst an der Bergstraße wohl nicht ganz gerecht:

Weiter lesen »

Was? Keine Katze drin?

Veröffentlicht unter Musik, Synths am 25. Februar 2012 von Chris – 5 Kommentare
Das Audio- und DSP Board

Im Innern eines Waldorf Microwave II

man sagt ja immer, man soll Synthesizer nicht nur nach den technischen Daten, sondern nach ihren inneren Werten beurteilen. Nun, wenn es danach ginge, könnte man meinen, dass der Waldorf Microwave II nicht viel zu bieten habe. Dass dem nicht so ist, erfahrt ihr hier demnächst in einem Review meines Lieblings-Digitalsynths. Bis dahin aber mal erstmal diese Bilder von den Innereien eines MWII mit Board Revision #3.

Weiter lesen »