Archive for the ‘Software’ Category

Playing your favourite Flash Music via Jack and Firewire

Sunday, January 10th, 2010
Drumset (openclipart.org, public domain)

Drumset (openclipart.org, public domain)

The core of my home studio consist of a Notebook and a firewire mixing console. Unfortunately, Flash used my notebook speakers for audio output instead of the firewire device. There are several workaround setups to circumvent this, but most of them are at least a bit cumbersome.

Thorben Hohn fortunately wrote a library which provides an elegant solution. Here’s what to do:


mkdir libflashsupport-jack
cd libflashsupport-jack
git clone git://repo.or.cz/libflashsupport-jack.git
cd libflashsupport-jack
sh bootstrap.sh
make
make -n install
sudo make install

Restart firefox and listen to your favourite music video on Youtube (Zansa and Bimoya) via jackd – what a joy! All credits to Thorben for the excellent work.

Openstreetmap Data Types

Saturday, January 9th, 2010

osm_logo.png

The data of openstreetmap is stored in a relatively simple manner. Basically, we have three base datatypes:

  • Nodes are the most basic datatype and the only objects that actually contain geographical coordinates. A node may simply look like
    node id='12345' lat='48.9955' lon='8.3948'.
  • Ways are ambiguous. More or less, ways are just polygons, and can either describe a way or an area. Ways have no geoinformation itself, as they are relying on nodes:
    way id='23456' nd ref='12345' nd ref='12346'.
  • Relations have been introduced with API 0.5 and can be seen as data objects glueing together either nodes, ways, or both. Relations are used to model turn restrictions, routes, multipolygons and the like:
    relation id='34567' member type='node' ref='12345' role='' member type='way' ref='23456' role=''.
    The members of a relation can take a role to describe what they mean. In simple relations (like route releations) the role attribute often is left blank.

Simple plain text Tags are used to determine what kind of map feature a node, way or relation represents. A tag consists of a key-value-combination like amenity=bench, natural=water, highway=residential or route=ski. Mappers are invited to invent new tags whenever necessary. This freedom plays an important role concerning the success of the project.

Prior to API 0.5, we had Segments. A segment connected two nodes. First, tags have been applied directly to segments. Then, ways have been introduced which joined segments together. Since then, the tags have been applied to the ways instead of the segments. Segments caused some trouble (namely “unordered segments” for the old dogs) and have been abandoned during the introduction of API 0.5.

So nowadays we have nodes, ways, relations and tags. Easy, isn’t it? True for nodes, ways and tags. Not true for relations, though. Relations are difficult to create and edit, because they most often have no direct graphical representation in the editors. More or less they appear a bit flange-mounted on top of nodes and ways. Nevertheless they allow us to map things that otherwise would be difficult or impossible to model.

When software development keeps you busy during the X-mas break

Monday, January 4th, 2010
Buggy Golf (pics from openclipart.org, public domain)

Buggy Golf (pics from openclipart.org, public domain)

I do not operate a car of my own. Instead, I’m a customer of a local car sharing provider. For the X-mas family meeting, I rent a less than two years old car.

(more…)

Simple Sysexxer 0.3 released

Saturday, December 19th, 2009
Simple Sysexxer 0.3

Simple Sysexxer 0.3

I just uploaded Simple Sysexxer 0.3. See its dedicated page for details about download and usage.

The MIDI reception part has been rewritten to use the ALSA sequencer directly. Receiving (and sending) huge SysEx messages (greater than 256 bytes, ALSA’s buffer size) now should work reliably. At least it does with a Korg Z1 Synthesizer (168 531 bytes for the complete internal memory).

Hope you enjoy. Feedback is always welcome. Just drop me a line.

Where Linux sucks #10811¹

Monday, December 7th, 2009
Penguin (openclipart.org, public domain)

Penguin (openclipart.org, public domain)

According to my last posting, I wanted to record some audio on my Linux Box. If you don’t want to use a fully flavoured digital audio workstation or sequencer, you can for example use qarecord or timemachine. First I tried timemachine.
(more…)

Where Linux sucks #26685¹

Monday, December 7th, 2009
Penguin (openclipart.org, public domain)

Penguin (openclipart.org, public domain)

I’m using Linux for more than 10 years now, and it is my operating system of choice. There is plenty of cool software available, and any programming environment is right at my finger tips. Even on “The Desktop”, it is often much easier and more convenient to use than any other operating system.

However, there are still a lot of glitches which are capable of rendering the machine useless for average users.
(more…)

Sound Collection Tools for the Korg Z1 Synthesizer

Wednesday, November 25th, 2009
Korg Z1 Panel

Korg Z1 Panel

I’ve collected a lot of sounds for the Z1 from several web pages. All those sounds now need some sorting and rearrangement. After that, I’ll send them to the Z1, extract the best ones and refine them to my likings.

(more…)

OSM-Booth at OpenExpo, Karlsruhe

Sunday, November 15th, 2009
OSM-Booth at OpenExpo, Karlsruhe, Germany

OSM-Booth at OpenExpo, Karlsruhe, Germany

The OpenExpo just opened. Both OSM as well as KaLUG are manning a booth. As last year, there aren’t many visitors yet, but this will change until noon.

Switching from Linux to Windows

Friday, November 13th, 2009
Broken Windows (wikimedia commons, public domain)

Broken Windows

I run a dual boot machine, using both Linux and Windows operating systems. I rarely boot Windows but only use it once a semester or so to try out some application or to compile Gebabbel for my Windows users.
(more…)

KDE-Founder gets the German Federal Cross of Merit

Sunday, November 8th, 2009

The initiator of the KDE project, Matthias Ettrich, got the Federal Cross of Merit on Friday , 2009-11-06.

I’ve been a KDE user since I use Linux (I’m an old fart, my first Linux installation was back in autumn of 1998). My first impression was »OK, I just dropped Windows, and this is the operating system that shall do better?!?«. Since then, a lot has changed, and KDE 3 has been out for a while. It always did a great job on my machines.

I’m not that happy with KDE 4.2, though. I switched recently, and there are still glitches of stuff which worked flawlessly in KDE 3 but fail in KDE 4. For example, I always have excessively used the fish:// protocol, which lets you transparently work with and edit files on a remote computer as if they were local files. Since KDE 4.2, however, this protocol very often reports »No connection to server« which renders it rather useless. I’m now back using scp on the command line. No wonder that Linus switched to Gnome a couple of months ago :) .

There are other issues, but I’m pretty confident that KDE 4 will mature just as its predecessors did. So thanks a bunch, Matthias, for your work on KDE!

Joel on add-on developers

Saturday, October 17th, 2009
Mistletoe (Wikimedia commons, public domain)

Mistletoe (Wikimedia commons, public domain)

Joel has a good point remarking the senselessness of building a business around some add-ons for other products. It’s not a new finding, but at least he took the time to write it down.

It’s not necessarily a bad decision to offer such products, as long as you are aware of the fact that the platform vendor can kick you out at any time. There are several products for desktop sharing on the market. It is obvious that they lost their business as soon as the operating system vendor integrated such a feature directly into the platform. Most operating systems can unzip files nowadays. If you sold an unzip utility yesterday, don’t complain that you haven’t sold any license today.

A similar thing might happen as soon as some open source hacker takes the time to write code similar to yours. Instead of whining, better grab your chances. Just do it better. Listen to your customers and give them the tool they need. If you do it right, they will honor your efforts.

Maemo Summit is over – greedily waiting for the N900 to appear

Sunday, October 11th, 2009

This year’s Maemo Summit is over, and Nokia gave away some N900 to the community. Unfortunately, Michelle Gallen was not pleased with the unboxing experience at all and complains a lot. Frankly, if you’re getting a Porsche, would you really complain that the ignition lock is on the left hand side :) ?

I hope the Summit results in existing software being improved or ported and new software to appear. If you are missing software, you can still hack it on your own, thanks to the open Maemo platform.

For details shared by attendees, refer to the #maesum hash tag on Twitter. You will find several videos about the device, even some shared by Nokia. I for myself prefered to get my hands on it instead of watching pr0n, but due to the enormous price tag of 600€ it will last a little while before I decide to get one. Truly, it’s no problem to resist preordering it. Really. Promised.

Internet Providers hijacking DNS queries

Wednesday, October 7th, 2009

A couple of days ago I noticed that my internet provider obviously hijacked my DNS queries. When I clicked a valid URL on or tried to upload images to my very own blog, I was told the address was not found and prompted by some »continuative results«:

Thanks for the help, guys...

Thanks for the help, guys...

(more…)

Ruby on Rails on the Nokia N810 – sqlite lib needed

Thursday, September 17th, 2009

I’m currently playing with Ruby on Rails, just for my very own pleasure and joy. Admittedly, that’s only one half of the truth. Some ruby (respectively rails) knowledge will also help me during my “daytime job”. What I’d like to do for now is to develop some rails application for the Nokia N810.
(more…)

The joy of using german ATMs

Thursday, September 17th, 2009

I moved to Karlsruhe, Germany, 9 years ago, due to my employment at extragroup:

My default bank, however, still is in a town called Miltenberg where I grew up:

Until now, that was no problem at all. The bank has siblings spread all over germany, even in Karlsruhe. I could use their ATMs without being charged for the service – I just enjoyed the benefits of living in the digital millennium.

The only thing that causes complaints is the (absence of) speed on the machines. It’s simply unbearable. First, they put absolutely dated computers into their ATMs – stealing your time. Then, they use the delay times to annoy you with some advertising. And finally, their user interfaces just suck. Not to mention the often unresponsive keyboards of the machines. But anyway, remember you use a free service.

However, things have changed. Due to some business war (true, that’s a hendiadys), even the banks of similar provenience now charge their customers for each individual transaction (this means, as a consequence, that I will discontinue the contract with my long-term bank soon).

But that’s only one part of the story. Tonight, we met at the monthly meeting of the local GPS and geo enthusiasts. Unfortunately I was short in money supply, but someone lent my some bucks. On my way back home, I passed a bank and tried to get some money at its ATM machines. Unfortunately, three of them treated me with ads for about a minute, but then told me that there was some timeout.

I tried another bank which I frequently use, but all ATMs there have been out of order. So yes, I got no money at all.

Abroad, germans usually are impressed how reliable and fast the ATMs work, though the distance is much bigger than within germany and the machine you use belongs to a totally different company.

What can we learn from this? True. The germans still suffer from the consequences of WW2, have no working infrastructure and very slow computers. In short, we need your assistance! If you have some used computers left, please dedicate them to the german VR-Banks. Thanks a bunch!

Maintaining JOSM Presets

Wednesday, September 2nd, 2009
JOSM presets - Museum

JOSM presets - Museum

JOSM, an openstreetmap editor written in the Java programming language, provides some “presets” which allow the user to tag objects easily just by selecting it from a menu. This menu and the corresponding dialogs are all defined in a huge XML file, presets.xml. It allows to define menu entries, subgroups and finally dialogs with standard GUI controls such as checkboxes, comboboxes, line edits, labels, icons etc.

The aforementioned presets.xml is included in josm.jar, but JOSM even can load such presets over a networking connection (http). This makes it easy for users to create and use their very own presets, maybe for specialized use cases like event mapping, mapping ski pistes or nautical stuff.

On request, I have just added the tag “opening_hours” to various presets like shops, restaurants, museums and the like:

JOSM presets - Museum Dialog

JOSM presets - Museum Dialog

If you have further requests, do not hesitate to open a trac ticket. It’s even possible to do this as anonymous user, so there’s no excuse :) .

N900 and Maemo 5 officially announced by Nokia

Friday, August 28th, 2009

Admittedly I’m a bit late, but Nokia yesterday have announced the N900, powered by the Linux based Maemo 5 operating system.

(more…)

Switching stops via MIDI in Aeolus 0.8.2

Monday, August 24th, 2009
Aeolus

Aeolus

In my youth, I used to play the pipe organ in the village where I grew up. Nowadays I have less time to play my instruments, and if I have, I’m most often playing synthesizers (or even guitars) instead of walking to a church and get access to a real pipe organ.

(more…)

Running a Firewire Audio Device on Linux

Saturday, August 1st, 2009
QJackControl Firewire Settings

QJackControl Firewire Settings

Meanwhile I got the Phonic Helixboard Universal PHHB24U mixer connected to my Ubuntu Jaunty Jackalope powered Dell Precision M 4300 notebook via IEEE 1394 (aka firewire). The basic setup is simple for an experienced Linux user, but not straightforward for an average computer user. So here are some hints what to do to get such a device up and running.

(more…)

ALSA sequencer, RtMidi and large SysEx files

Monday, July 27th, 2009

This weekend I have written some code to deal with MIDI system exclusive data. Primarly I wanted to create a graphical tool to do backups of the memory contents of my synthesizers. There are some tools available for Mac OS X and Windows, but there was none for Linux. So I had written SimpleSysexxer back in 2006, but it has some bugs and its backend code is rather experimental. So I removed all backend code from it and started from scratch.
(more…)