Haunted House

Origo is a funnyface (0,0)

Archive for the ‘Live coding’ Category

How many seconds is one milliminute?

Posted by Gasten on March 8, 2008

minute/1000 => dur mm;
<<<mm/second>>>; // 0.060000

There you go.

Who said ChucK can’t be used for anything important?

Posted in Computers, Live coding, Uncategorized | 2 Comments »

Desprately trying to find other things than my homework to do.

Posted by Gasten on January 28, 2008

Mathemelodies or Melomathics?

Posted in Live coding, Music, Uncategorized | Leave a Comment »

oscjoy/fluxus project update

Posted by Gasten on December 10, 2007

I’ve managed to get my xbox360-controller to work with fluxus in a
effective manner by modifying the gamepad-script (read here), but it struck me that
I would have to do this modification to all fluxus-programs I want to
use. That’s more hassle than I can handle.

Therefore I contacted Jeremy Friesner who’s developing oscjoy (I’m using oscjoy to interface with my joystick),
and asked him if he could add axis and button-remapping to the program.
He could, and I’ve already tested the initial build, and it works great.
(It’s not yet up on the homepage, but Jeremy said that he should add it
in a week or so.)

So, there you got it. Solved The Proper Way. The open source model really works!

Posted in Computers, Live coding | Leave a Comment »

New live coding project 2: a day of fiddling

Posted by Gasten on December 4, 2007

(read the first post here)

I’d love to write more, but I’m too tired. Some of the results from todays fiddling is pasted at the end.

Boy, isn’t Scheme well suited for live coding? It’s very algorithmic, and you can develop fast and abstract. And it’s the most beautiful language out there (is in looking at code as if it was a picture)!

Boy, isn’t Scheme badly suited for live coding. It’s a pain to write, a pain to read, and hell of a pain to debug!

Was a lot harder than I expected, but I managed to hack a cool script for my Xbox360 which will ease joysticking. Pasted below.

I’ve also started to swap the keyboard-controls to joystick-control in the asteroids-example. Unfortunally I managed to break it a little a couple of minutes ago, so you will have to live without it for now.
Read the rest of this entry »

Posted in Computers, Games, Live coding | 3 Comments »

New live coding project

Posted by Gasten on December 4, 2007

Started to play around with Fluxus late last week. It’s absolutely great! I thought 3D-graphics was a lot harder than it really is (well, ok, both OpenGL and Fluxus takes lot of the blows. Glad I can fiddle around in 3D-space without brainfucking things like garbage collection).

Pretty soon I realized what I wanted to do: a abstract 3D-game that triggers sounds when stuff happens in-game (a bit like this by AlgoMantra). Also, and this is the exciting part, it should be livecoded as the player is playing.

I Haven’t really worked out all the details, but I Imagen it as a very bare-boned space-shooter (there is a asteroids-demo in the examples-directory which I’m gonna gut), that just got the very basic: joystick-support, it draws the gfx, and sends osc to something like puredata (it would be great if the audio would be livecoded as well). As the performance progress the coder will add more graphic, change the existing stuff, and manipulate the rules of both the game and physics. It should progress from some early 80’s tech-demo to some kind of Geometry War 3D-clone.

Yes, I’m gonna get a joystick for this project. I’ve wanted to buy one when I started with Chuck, already. In fact, I already bought it. Understood yesterday that I were free from school today (lazy place) so I went ahead and bought a Xbox360-controller with USB-out. Compiled the drivers and stuff, and it works great! It’s a bit sensitive, and there is some axis-noise, but I can live with that (I just make my code less sensitive).

Oh, yeah: the controller-mapping is totally fuckup. I blame Microsoft.

My aim is to have something that runs later today (hopefully in a state which I can show you).

Posted in Computers, Live coding | 1 Comment »

ambientic monotonic pieceus

Posted by Gasten on August 18, 2007

Yey! I’ve finished a piece! It’s a inspired a bit by Kraftwerks ‘Klingklang,’ even if mine isn’t deserved to be mentioned in the same sentence as Kraftwerks … track.

What started out as a test of a theory about how you could use ChucK’s spork-keyword to trigger notes, but still have plenty of room for per-sample synthesis, turned out to be an exercise in FM synthesis, reverb controlling, arrays, and on using BPM as a timer: all of which I have wanted to play around with.
Read the rest of this entry »

Posted in Audio, Computers, Live coding, Music | Leave a Comment »

Return of the ChucK!

Posted by Gasten on July 22, 2007

(Despite this post’s name, it will not – I repeat; will not – contain any Chuck Norris jokes. Stop looking!)

Ok, so after reading this post about some vim tricks, I – for some reason that I can’t remember – thought about the audio/live coding-language that I were playing with maybe a year ago. That language were – of course ChucK. It’s a blunt little live coding environment with some nifty features – or as the website say: “ChucK is a Strongly-timed, Concurrent, and On-the-fly
Audio Programming Language.”

One thing that bugged the hell out of me when I tested it last time, was that the system was extremely clumsy when I wanted to spork a new shred, or replace an old shred(meaning: adding a new track, or updating the audio in a existing track). I used Gedit, so I had to code everything there, save, go to a terminal and type a command every time I wanted to hear what I were doing – that’s actually pretty tideous when you are just experimenting with different oscillator/filter-settings. Since I putted ChucK on the shelf I’ve been toying with the text-editor vim, so when I read that you could execute commands inside vim I though I should give it another go.
Read the rest of this entry »

Posted in Audio, Computers, Live coding | 2 Comments »