Ghetto Smartphone Halter

Mannmannmann, der erste Post seit über einem halben Jahr. Kann man nichts ändern, die Praxis Dr. Andy hat einfach alle Termine belegt =). Nun gut.

Ich entwickle gerade eine Software, die unter anderem per OSC mit der Aussenwelt kommunizieren soll. Nicht nur deswegen habe ich mich in letzter Zeit verstärkt mit dem Thema auseinander gesetzt und bin natürlich auf TouchOsc gestoßen, keine Frage. Ein ausgemustertes Smartphone hatte ich noch herumliegen, also flugs die App installiert und Feuer frei. Nach 1 Sekunde merkt man aber, dass es überhaupt keinen Spass macht, wenn das Smartphone mit TouchOsc dann beim herumspielen immer irgendwo herumliegt. Da ich kein Auto besitze und noch nie einen Halter für ein Smartphone besessen habe, musste ich schnell einen bauen (wenn, dann muss das alles auch ganzganzschnellunbedingtJETZT passieren, sonst geht das nicht. Klar, oder)?

 

Beim Stöbern durch mein Lager ist mir dieser Kabelhaken ins Auge gesprungen. Ich hatte mal einen ganzen Satz davon als eine Art Kabelrinne unter meinem Schreibtisch geschraubt. Die Aussparung zum Anschrauben passte dann auch ganz hervorragend in die Schraube vom Clip meines Gorillapods:

CIMG9840

 

Was mir dabei auch aufgefallen ist: meine Kamera hat ihre besten Zeiten nun definitiv hinter sich. Dazu später aber irgendwann mehr. Dank Dremel und Tonnen von Heißkleber (vorsichtig und mit Schwung appliziert an ein Schutzgehäuse – nicht an das Handy selbst) wurde daraus dann auch in allerkürzester Zeit ein halbwegs brauchbarer Smartphone-Halter:

CIMG9843

 

CIMG9873

 

Fazit: Absolut perfekt. Ab-so-lut perfekt.

 

How to use Traktor Audio 6 with Ableton

I don’t know why I have never encountered this problem before but recently I tried to use my Traktor Audio 6 together with Ableton and had a fair share of problems. Basically I couldn’t route Ableton’s output to anything different then ‘Output 1&2’ which is the main output at the Audio 6’s front side.  Everything else could be selected but just didn’t take effect (Ableton wasn’t even showing any kind of levels).

Same problem on the inputs: I have two turntables attached to the Audio 6 and wanted to use their inputs within a vst-plugin (MsPinky, as you may have guessed) but I just wasn’t able to get any signals coming into Ableton.

Of course the settings in Ableton all were correct. The screenshot only shows the output config but the input settings were accordingly.

 

I had a simple clip running on a track and changed the Master Out settings a few times. Whatever I tried it only sent out real music (into my mixing desk) when I selected channel ‘1/2’ for Master out. 3/4 and 5/6 just kept being numb.

 

The problem behind all this is that the Audio device’s input settings for both channels 3/4 and 5/6 was set to ‘direct thru’. Meaning: Everything that is connected to the inputs is directly routed to the outputs. The device itself is not able to send audio data to these outputs in this case. Looking at it from a little distance it’s something I could have known before because every time I had Traktor Scratch running and attached the Audio 6 to my computer I was presented with a ‘direct thru’-configuration for both decks. I had to deactivate this every time I used it.

 

The solution is simple: Just open up the Audio 6 Control Panel and deactivate the checkbox for ‘direct thru’-mode. It’s probably a good idea to do this in the ‘startup’ tab since this changes the device’s configuration to behave like this automatically every time you connect it to your computer.

 

I don’t know if it’s necessary to do a reboot afterwards. While trying to find this solution I made so many of them I don’t know for sure.

Anyways: After making these steps I was able to select every possible input and output combination for my Audio 6 in Ableton – and all of them worked like a charm.

Tactile Touchscreen

Using touchscreens for controlling other software (using TouchOSC, for example) one thing I always had my problems with was a missing tactile feedback. Using a hardware Midi-controller, for example, you don’t really have to look at it that much. many things just work because your fingers will find their way over the buttons to the correct knob.

This might not be the most sensible thing to do with a smartphone but… It helps. Once you find the correct slot your finger is automagically guided.

 

There are so many reasons why this is not the most sensible solution of all times but with the correct layout, proper spacing and some …

It just feels right. In the true sense of the word. Try it.

 

And you can take a marker to write on your smartphone. I like writing stuff on things.

Schwarzwaldklinik SpecialFX

Also ich bin ja einer der zwei größten Schwarzwaldklinik-Fans in Deutschland. Professor Brinkmanns Freunde sind auch meine Freunde; ganz ohne Zweifel.

Was mir an der Serie besonders gefällt, ist der leicht skurrile Umgang mit … allem. Mal abgesehen von der Story und der markerschütternden Art Prof. Brinkmanns, jeden …JEDEN  … Satz mit so einem dahingehauchten ‘…nicht?’ zu beenden, sind es die kleinen Dinge, die aus der Serie ein Juwel machen, z.B. der Umgang mit Requisiten.

 

Heutiges Beispiel: Zeitungen.

Hintergrund: Neuer Anästhesist soll eingestellt werden, gute Noten aber schlechter Ruf, weil er angeblich ‘ne Petze ist (Staffel 3, Folge ‘Das Geständnis’). Als Beweis werden zwei Zeitungsschnitte ins Bild gehalten:

(click für groß)

Man betrachte mal etwas genauer den Inhalt des Artikels: Frankfurt(AP). Die Diskussion über den Zustrom von Asylbewerbern in die Bundesrepublik wird zunehmend von Unmut über das Verhalten der DDR […] Der Kanzeler deutete an, er werde sich möglicherweise direkt in die Gespräche[…]

 

(click für groß)

Auch hier: Washington/ Frankfurt: Die amerikanische Regierung unter Präsident Reagan ist deutlich verärgert über die Bonner Weigerung, die letzte […]

 

Herrlich. Als kleinen Gag haben ‘se ‘Anästesieassistent’ auch noch falsch geschrieben. Da kommt irgendwo ein ‘h’ rein.

Hach ja, Internet ich hab’ Dich lieb.

Übrigens: uneingeschränkt empfehlenswert in diesem Kontext: Die enorm umfangreiche Fanseite der Schwarzwaldklinik. Und weil ‘Schwarzwaldklinik’ ein Wort ist, dass sich auf einer Computertastatur ungefähr so gut tippen lässt, wie ‘Korkwurzelentschmutzungsbeauftragter’, schreib’ ich’s gleich nochmal: Korkwurzelentschmutzungsbeauftragter. So.

 

Kupferrohr biegen

Ich musste neulich mal Kupferrohr biegen. 15mm Durchmesser, 1mm Wandstärke. An sich ja gar kein Problem, sofern man eine Werkbank hat. “Sofern”.

Da ist das Problem. Seit dem Umzug nach HH ist das mit dem Platz im Keller so eine Sache. An eine benutzbare Werkbank oder soetwas ist momentan überhaupt nicht zu denken, also muss improvisiert werden.

Nicht, dass mich das stört….

 

Das Kupferrohr hatte ich schon, es fehlte mir noch an einer geeigneten Biegevorrichtung. Normalerweise gehe ich immer ein paar Tage mit offenen Augen durch die Gegend und prüfe, was man so machen kann (eine Laterne vor unserer Wohnung scheint genau den richtigen Durchmesser zu haben…bevor da die Jungs von der Ordnungsmacht kommen, ist man schon wieder verschwunden).

 

Aber wieso zum biegen eines Kupferrohres nachts eine Laterne misbrauchen? Viel angenehmer isses doch auf dem eigenen Balkon. Ein Stück Restholz und zwei ranzige Schraubzwingen bilden den perfekten Biegebock

Continue reading

Easy Button USB hack

I guess everybody knows the Staples Easy Button.

[tube]https://www.youtube.com/watch?v=lkaAFObuUrA[/tube]

There are numerous hacks out in the wild adding some weird functionality to it. For quite some time I wanted to something similar. This is the documentation of how to make the Easy-Button a MIDI-USB device based on Atmega328 (Arduino).

Many hacks have in common that they are either relatively expensive (like…involving something with a dedicated teensy device) or rather ugly (due to holes just being sawed into the Easy Button’s case).

My first goal was to build a device that automatically identifies itself as an HID-compliant USB-MIDI device and gives simple MIDI functionality by using an Atmega328 and V-USB. In order to achieve a correct enumeration and to get a useful starting point I used the demo-versionof USBLyzer to get the necessary data from my KORG nanoKey and altered them in various places (Vendor ID etc..). (You will remember this one later.)

When the button is pressed a ‘MIDI Note ON’ signal is sent. Upon release it sends a ‘Note OFF’ message.

The second goal was to give it a clean overall look.

Let’s see…

This is the Staples Easy Button with the cap and the clicker already being removed (which makes it just a pretty unidentifiable bunch of electronics and some plastic)

we don’t need the speaker so it will be gone soon….

The black line shows how deep the cap goes when it’s pressed.

This is the spot where the USB connector will be placed

I might not be the best craftsman around (already mentioned that once before) but after some filing this one looks pretty decent:

The plastic on the inside has to be cut as well

This DOES look quite well

Now I need to add the circuit board. Due to the speaker being thrown out there is lots of space for that now.

The circuit is basically a 1:1 copy of the V-USB keyboard example. The Button is connected with data pin 6 of the Atmega. It involves some creative soldering of the diodes because I didn’t care too much about the circuit’s layout before I started soldering.

Everything’s coming to an end soon

It seems impossible for my camera to do any decent shots that contain the color red.
Anyway, you might get an idea of how the circuit fits into the structure.

Some detail of how the actual button-mechanism is connected to the Atmega (the blue wires, you guessed it)

To make future additions a little easier I added an ICSP connector which fits nicely into what has formerly been the battery case

Finally… in all its glory.

I had this in the back of my mind for ~2.5 years now. Shortly before starting with this built I started wandering whether this might make sense or be worth the money or time invested or…..

F*CK IT.  Never let doubts get in the way of your creativity.  If this wouldn’t make sense than I probably wouldn’t have built it. Word!   =)

The whole Arduino project (I did that arduino IDE 1.0.3) can be downloaded here. Unzip and copy the folder ‘Nanokey’ to the libraries-folder of your arduino IDE. Feel free to contact me if anything is left unclear.