Docendo discimus

$self->explain

  • Calendar

    August 2011
    M T W T F S S
    « Mar   Sep »
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
  • Archives

  • Recent Posts

  • Bling

Perl & MIDI

Posted by brunorc on August 10, 2011

I thought it will never happen, but finally there is – the first post filed under both MIDI and Perl categories. This is the convergence of two threads that were running through this blog.

Right now it’s only an announcement, that after all those problems I found a way to connect my MIDI equipment to the Perl code. And I’m not talking about processing MIDI files with Perl and then sending them to my synths. I’m able to process what I play – and with process I mean filtering, transposing, multiplying and triggering arpeggios. I’ll be presenting a talk about this on YAPC::EU in Riga, so I’m not going to reveal all the aces hidden upon my sleeves yet ;-)

Thanks to ALSA and MIDI::ALSA module I can access my eMagic Unitor8 from Perl running on Linux. Even if I have two Unitors stacked together, ALSA sees only one; even if I can record from all eight inputs of my Unitor8, I can send to only one. But it still leaves me 16 MIDI channels and plenty of possibilities.

At the moment my code is very crappy – no modules (thus no API), just scripts that do stuff. After reaching some reasonable level of functionality I’m going to stop, clean it up and release some initial version on CPAN. My goal is to approach the idea of Zyklus, but we will see… Stay tuned!

About these ads

2 Responses to “Perl & MIDI”

  1. kd said

    Ooh yes please.

  2. Exciting!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: