Tag Archives: emacs

Looping setup

The very first post on this blog has been pushed from emacs with org2blog, then I abandoned the idea for a while and posted from within the wordpress interface only.

Now I’d like to get back to the roots, so to say 🙂 so this post will be typed inside emacs

Looping setup

I thought for a while to set up a looping enviroment with my old laptop, a thinkpad t61p which now runs debian jessie. I already used the wonderful sooperlooper application as can be seen in the following video: Some fun with sooperloper | linuxaudiostudio

However, this was only about looping with live played material on a guitar, and I wanted to expand or maybe switch to electronic sounds generated inside the box.

Hardware

Hardware-wise at the time I used only a MIDI pedalboard (proel-ms16-93562.jpg (JPEG Image, 640 × 329 pixels)) to control sooperlooper, now I want to integrate a couple of other MIDI controllers:

Roland PC 300

roland_pc300.jpg

this one I bought used for 40 € and it is a wonderful (although discontinued) MIDI keyboard that has all the features I need with a small footprint and a light weight:

  1. four octaves with octave buttons to play on the entire MIDI range
  2. ability to switch MIDI channels from the keyboard itself. This is very important to control different softwares without touching the computer. I used to use the akai lpk 25, which is a wondeful tiny controller, but it lacks this feature (you can use at most 4 different channels by using the presets)
  3. Modulation/pitch wheel
  4. Sustain pedal input
  5. a programmable slider for sending MIDI CC
  6. USB bus powered (no need for yet another power adapter)

Novation remote Zero MKI

novation-remote-zero-sl_2.jpg

this one is a real beast. It’s also discontinued (now they make the MKII) but I found it in great conditions for only 70 €. It has a lot of physical controls with extensive programming options. It is also bus powered and it works as MIDI interface too, so I’m using it to connect the MIDI only ms-16 pedalboard.

Also great about this controller is the fact that it has two screens where you can see the (configurable) name and value of the controller you are sending.

And it has an editor that runs (with some glitches, but usable) under wine.

Software

Here is where things get complicated.. 🙂 I haven’t sorted out yet the full setup for software but here’s a list of the software that I intend to use:

  • sooperlooper (of course)
  • renoise (the best traker ever made, althoug not free)
  • yoshimi (a great soft synth)
  • mididings (neat MIDI router and processor)
  • qjackctl (for JACK connecions and patchbay persistence)
  • wmctrl (for controlling GNOME via MIDI when combined with mididings)

basically sooperlooper and renoise should be connected and sync’d thru JACK transport, renoise providing its wonderful sampler and its powerful effect chains. Yoshimi to produce synth sounds (multitimbrical, say two or three channels), mididings to route all MIDI data to the appropriate program basing on MIDI channel.

I tried with those softwares and the resulting setup is already quite complex… and this whitout external audio sources like real instruments (which I want to integrate at some point).

Other software that I’m considering:

Advertisements
Tagged , , , , , , ,

Some python code for calculating BPM and delay times

Some time ago I wrote this little script (I called it beatcalculator).

Pretty straightforward command line utility, use the switch –help to get help.

Here is the script, exported from emacs with htmlize-buffer: beatcalculator.

Copy and paste this code into a file called beatcalculator, put that file in your $PATH and give it execution privileges with chmod +x.

Then you can use it on the command line as simple calculator, providing the bpm you want to examine, or you can ask to analyze a wave file. you have to specify the number of bars contained in the wav file and optionally the meter (defaults to 4/4)

Here’s an example of the output you get (with a file with 2 bars of music):


$ beatcalculator -f afroeira123.6.wav -B 2

Meter is 4/4
--------------------------------------------------------------------------- 

afroeira123.6.wav is 3883 milliseconds
Bpm of afroeira123.6.wav is 123.62

123.62 beats per minute (bpm):

Note                            Delay time                       LFO freq
---------------------------------------------------------------------------
Whole                          1941.433 ms                        0.52 Hz
Dotted Half                    1456.075 ms                        0.69 Hz
Half                            970.717 ms                        1.03 Hz
Dotted Quarter                  728.038 ms                        1.37 Hz
Quarter                         485.358 ms                        2.06 Hz
Dotted Eight                    364.019 ms                        2.75 Hz
Quarter Triplet                 323.579 ms                        3.09 Hz
Eight                           242.679 ms                        4.12 Hz
Dotted Sixteenth                182.009 ms                        5.49 Hz
Eight Triplet                    161.78 ms                        6.18 Hz
Sixteenth                        121.34 ms                        8.24 Hz
Dotted Thirty Second             91.005 ms                       10.99 Hz
Sixteenth Triplet                  80.9 ms                       12.36 Hz
Thirty Second                     60.67 ms                       16.48 Hz

Hope you enjoy it.
Send me comments and suggestions to improve it.

Tagged , , , ,

Emacs blog posting

Trying to post with emacs and org2blog

Ok, now trying to make a post in this blog directly from emacs, using org mode and org2blog, following the advice found here (let’s see if links work) 🙂

Also nested headers should work

But let’d try those also.

Not a very interesting post, I know…

Tagged ,
%d bloggers like this: