Inkscape is awesome

tune settings.jpg

I’m making some documentation for my little music box. Settings for the box are managed by setting pixel colours to represent different values. Above you can see the settings for the red (tune) track. You hold down the tune button and then step through the settings on each note key. I made the diagram above using Inkscape. It is an awesome program. In a trice I’d found a way of making a circle of perfectly spaced buttons, then I was creating blocks of text filled with the appropriate colours and lining them up together.

Inkscape drawings are represented as SVG files so you can enlarge and transform them as much as you like. The program is a free download and there are versions for lots of different platforms. The learning curve is a bit steep, but the internet is full of videos describing how to do things (for example draw 12 circles in a ring as above).

Creative Coding

PICO music box.jpg

When I was doing programming lectures I used to go on about how creative programming is. I also make the point in the introduction to my latest book (subtle plug). I’ve just spent all of today proving the point. The weather has been horrible, so we were forced to stay indoors and do stuff. So I wrote some more code.

My silly little PICO music box can now store multiple rhythm tracks which can be made to run at different speeds. It has a full setting editor using coloured pixels. I rather enjoy playing with it to make little looping sound sequences.

It’s a strange and wonderful feeling when something that you are making starts to take on a life of its own. I’m sure that artists and musicians get it, programmers get it too. Big time.

Achievement Unlocked: We now own a shed

Actually we don’t own a shed as such just yet. Rather, we’ve got a collection of pieces of wood which one day (hopefully sooner rather than later) will be fixed together to form a shed-type building. The pieces arrived this morning at 6:45 am. At 6:55 it started to rain for the first time in a while. So I was out in the wet before breakfast trying to cover over the really big bits of wood so that they would remain dry enough for painting.

Fortunately I seemed to manage it and later on in the day when the rain had stopped and the sun came out I was able to give all the woodwork two coats of hopefully waterproof paint.

Writing a MIDI application on a Rasbperry Pi PICO

I seem to have written 500 lines of Python which is now running inside a Raspberry Pi PICO. I’ve no real idea how much space this occupies on the device, all I can say is that it works really well. I’m using the Thonny IDE which has a setting for Circuit Python and works a treat.

I’m building a MIDI keyboard device (that’s what the box here is for). One of the great things about this is that the when you use the Adafruit adafruit_bus_device and adafruit_midi libraries from here you have a MIDI device that works with MIDI applications on your PC (I’m using Pure Data), but you also retain the serial port connection from the PC to the device. So you can write Python to send MIDI messages at the same time as use the console for talking to your program. Very useful and rather fun. And I’m loving writing Python again.

Lego Vidiyo is a good value at knockdown prices

Lego Vidiyo.jpg

Not everything that Lego touches turns to gold. Lego Vidiyo has not been the success that Lego hoped and figures and sets are now on the market at temptingly low prices.

The idea of the product is very good. Place animated mini-figures in augmented reality pop videos and control the action using collectable tiles that you scan with your phone or tablet camera. Add in some stage sets that can be incorporated into the videos, tie in with the music publishers so that there’s a good range of 1 minute music clips and you’d think they would be on to a winner.

And I think they would have been, if the application that underpins the whole thing had been a bit better. As it is, the program ls clunky to use, insists on downloading stuff when you start it up and has a confusing interface. The videos are great fun, the sharing element is well implemented and safe for kids, but the whole thing is just that bit too painful to enjoy using.

This has of course not stopped me from picking up a bunch of figures and sets at knock down prices. After all, Lego is Lego. Although I’ve not managed to pick up the party llama yet.

Lego say that they are only resting the project for now. I hope this is true. I think it has massive potential once they’ve sorted out the software side.

12 Minutes is frustrating fun

This iteration is not going too well….

This iteration is not going too well….

If you’ve got an Xbox game pass you can already play 12 minutes. If you haven’t, it is still worth getting and having a go. You won’t play it for the graphics though. They are fit for purpose, but viewed close up they fall apart a bit. On the rare occasions that you can see the characters in close up they look a bit scary. The gameplay is essentially a bunch of repeated attempts for a “happy ending” in a situation which doesn’t seem to allow for one. Well, what would you do if cop showed up and accused your wife of murder a few minutes into an evening at home?

Play it right and everyone ends up happy (I hope). Play it wrong and you get thrown back to the start with hopefully a bit more knowledge about what is going on. Some parts drag a bit, you end up trying everything on everything, but so far it has been making sense and we are making progress

This type of game is best played as a group effort, as you can all pitch in and make suggestions. There’s an apparently dodgy plot twist right at the end that we haven’t met up with yet, but we’ve enjoyed the game enough so far for it not to matter. It’s worth mentioning the voice acting, which is very good - with proper actors building a nice atmosphere.

Lunch at Thieving Harry's

theiving harrys.png

What better place for a birthday lunch than Thieving Harry’s. It wasn’t my birthday, but I still had a great meal. If you are in Hull and you haven’t been there, you should. If you aren’t in Hull you should make a special trip. It’s one of my “pin” places. I reckon that you could randomly stick a pin in the menu to pick an item and it would always be delicious. It’s worked for me several times….