Uncategorized – kaotec creativity | technology | chaos theory Sun, 20 May 2018 17:41:25 +0000 en-US hourly 1 https://wordpress.org/?v=6.2.2 https://i2.wp.com/www.kaotec.org/wp-content/uploads/2017/05/cropped-logo.png?fit=32%2C32&ssl=1 Uncategorized – kaotec 32 32 144992765 Protected: creating my first robot simulation /creating-my-first-robot-simulation/ /creating-my-first-robot-simulation/#respond Sun, 20 May 2018 17:41:25 +0000 /?p=513

This content is password protected. To view it please enter your password below:

]]>
/creating-my-first-robot-simulation/feed/ 0 513
problems uploading to mignon gamekit arduino /problems-uploading-to-mignon-gamekit-arduino/ /problems-uploading-to-mignon-gamekit-arduino/#respond Tue, 16 Feb 2010 21:38:08 +0000 http://kaos.ashrae.be/kaosblog/?p=68 Continue reading "problems uploading to mignon gamekit arduino"

]]>
I recently got a mignongamekit from a friend. I assembled it, and the demo game is working. Of course I’d rather attach it to a homemade cable and antenna, so I can take control over some space station with it, but that’s not gonna happen until I get the programmer to work. I’m trying to hack one out of an existing FTDI breakoutboard I have. I use it for programing the arduino pro mini. Problem is it has one pin more then the migprog the mignongamekit proposes. the “CTS” pin,

First I just floated that pin, then I connected it to ground, always same ending

"avrdude: stk500_recv(): programmer is not responding"

The programmer resets the arduino fine, but after the timeout, the demo game just starts. The programmer is not fried as it still programs my other arduinos. I then switched tx/rx cables, so the tx on the programmer connects to the rx on the the gamekit and vv. but stil the communication is not happening. I tried all combinations of board/Serial Port, also the 8Mhz ones… Whats wrong? Is it something with the programmer? or with the gamekit? Am I trying the impossible?

maybe I have to try this, but for now that doesn’t really solve my what the hell is the CTS pin for…

Any input appreciated.

]]>
/problems-uploading-to-mignon-gamekit-arduino/feed/ 0 68
animata has been ported to flash /animata-has-been-ported-to-flash/ /animata-has-been-ported-to-flash/#respond Tue, 03 Nov 2009 08:12:06 +0000 http://kaos.ashrae.be/kaosblog/?p=64 Continue reading "animata has been ported to flash"

]]>
Today I read a message on the animata list that a port to flash has been made. Although the author claims it’s rudimentary, it works, there’s a demo here. Animata can be used for all kinds of fun stuff, has OSC support to animate the bones and is uncomplicated but works. I like it. This port could be an interesting step: embedding animata experiences into webpages making it possible to reach a wider audience.

K

]]>
/animata-has-been-ported-to-flash/feed/ 0 64
PD filters I need to code /midi-filters-i-need-to-code/ /midi-filters-i-need-to-code/#respond Tue, 15 Sep 2009 09:29:56 +0000 http://kaos.ashrae.be/kaosblog/?p=51 Continue reading "PD filters I need to code"

]]>
In order to make interesting music, I need some help from my computer. That is my instrument. I’m a terrible singer, and not a very good musician either. I’m mostly a passive musician. So whenever I hear music I look for patterns I like and how they are achieved. some thoughts below and some easy-to-program filters I would like to implement in my modular instrument setup for when I become a more active musician:

  1. while listening to ‘The books – Lost and Safe” I don’t exactly remember which track, and that might even be unrelated information I thought of a “gentle noiseadder”. The gentle noiseadder would plug into a MIDI-synth track and add random crackles just a few notes up or down from the source MIDI-note which plays for much longer.
  2. ‘samplescrambler” takes a sampler cuts it into pieces and returns(plays) it with all pieces scrambled left-right, back-forth, reverse-straight or a combination of the previous. The input samples need to be of reasonable length and contain a voice or something recognizable. samplescrambler should work on video too!
  3. “samplescramblepitch” takes a sample, scales it to your timebase (say 8 beats) chops it into X (i.e. 8) pieces and plays back each piece at a newpitch according to the array set (i.e. -4,-2,3,0,2,-1,-3,4). A smoothing function could be applied where each piece is further sliced and the pitch array is interpolated.
]]>
/midi-filters-i-need-to-code/feed/ 0 51
run OSX apps fullscreen /run-osx-apps-fullscreen/ /run-osx-apps-fullscreen/#respond Sun, 30 Aug 2009 20:38:20 +0000 http://kaos.ashrae.be/kaosblog/?p=48 Continue reading "run OSX apps fullscreen"

]]>
some apps (like blender) just need to be without the OSX menu bar

this is how (copy-pasted from http://www.macosxhints.com/article.php?story=20070118003804854)

I’ve always wanted an preference pane that would show and hide the dock based on which app is in the foreground. This simple plist hack does the same thing on a per-app basis. To hack an app so that when it’s active, the menubar and dock are hidden, you need to find its info.plist file. Control-click on the program in question, choose Show Package Contents from the pop-up menu, and then navigate into the Contents folder.

Once there, add the following to the file:

LSUIPresentationMode
4

Be sure that it goes in alphabetical order, otherwise it won’t work (i.e. LSUIPresentationMode goes after LSMinimumSystemVersion but before NSAppleScriptEnabled). Save the file and enjoy.

[robg adds: You should work on a copy of the app, obviously, in case you make a mistake. I tested this with a copy of Stickies, and it worked great. If you’re using Property List Editor (part of the Developer Tools), you don’t need to worry about the order; just add a new Child to Root, and it works.

Note that the menubar is not completely gone, it’s just hidden, like the dock. Move your mouse up to the top of the screen, and the menubar drops down. You can read about the various LSUIPresentationMode options in this section of Apple’s Runtime Configuration Guidelines.

]]>
/run-osx-apps-fullscreen/feed/ 0 48
trying to get working eyesweb on OSX /trying-to-get-working-eyesweb-on-osx/ /trying-to-get-working-eyesweb-on-osx/#comments Fri, 21 Aug 2009 13:43:32 +0000 http://kaos.ashrae.be/kaosblog/?p=44 Continue reading "trying to get working eyesweb on OSX"

]]>
It’s  a pity that ah great package like eyesweb only exists for Windows…

  1. compile wine for OSX
  2. install winetricks (fink install winetricks)
  3. run winetricks
  4. install directx from winetricks
  5. install gdiplus from winetricks
  6. notice spaces in paths are badly escaped in winetrics (you can skip this step 🙂
  7. just copy gdiplus.dll to wine_c-drive/windows/system32
  8. run eyesweb
  9. crash eyesweb every time you try to delete a part of a patch
  10. switch to OpenCV and processing which is truely opensource AND cross-platform/portable
  11. ditch eyesweb (which really runs on the wrong platform, but is great software)
]]>
/trying-to-get-working-eyesweb-on-osx/feed/ 1 44
old time internet radio shows /old-time-internet-radio-shows/ /old-time-internet-radio-shows/#respond Sat, 01 Aug 2009 06:48:13 +0000 http://kaos.ashrae.be/kaosblog/?p=40 Continue reading "old time internet radio shows"

]]>
I recently redeiscovered two long standing radioshows!

The first  one radio OK fred is a bi-monthly show from the other side of the globe offering an inside (japanese) perspective on all kinds of music. The Show is mainly in English, with some Japanese now and then. You can download or stream, playlists are on mail request

Bruce Wang radio show is no longer updated, but the archive got a new page since last time I checked. Bruce Wang can mix The Pixies and Vangelis and a lot more interesting names in one mix… Radioshow and mixes, worth your time!

]]>
/old-time-internet-radio-shows/feed/ 0 40
touchpad controller /touchpad-controller/ /touchpad-controller/#comments Sun, 05 Jul 2009 15:38:41 +0000 http://kaos.ashrae.be/kaosblog/?p=20 Continue reading "touchpad controller"

]]>
I excavated a touchpad from an old laptop. I’m almost ready for my first reverse engineering project. Altough a quick google search allready returned me a possible similar attempt, I hope the electric gods ar a bit cooporative on this. This wil make a super nice and compact MIDI-controller.
It say’s “ALPS 94v-0” and “JCI-S1S” on the PCB and “1CAO17A” on the chipset. Zero results on google…

we’ll see , I hope I don’t blow it…

]]>
/touchpad-controller/feed/ 2 354
midi in /midi-in/ /midi-in/#respond Wed, 01 Jul 2009 09:12:00 +0000 http://kaos.ashrae.be/kaosblog/?p=14 Continue reading "midi in"

]]>
Narbotic adds midi in to my wishlist of urgently to be done stuff. I have been playing with the idea for midi-out on arduino, but this seems a pretty good solution for finally adding the midi capabilities to my WSG and my WP-20. This should also eliminate my needs for a hardware sequencer, although I’d love to build one.

arduino-midi-in by narbotic
arduino-midi-in by narbotic

The main thing I hove to achieve is being able to turn the knobs on my synths faster. This way I can really program presets, or sequence them. Probably I will be able to break some stuff too…

I’m also archiving the code from the post for later use

hi guys,
i just got an arduino two days ago in hopes of making a midi -> din sync, cv/gate, and dcb converter.  i have midi in to cv/gate and din sync working.  thought i’d share the code so far if anyone is interested.  you should be able to process any desired midi message pretty easily by modifying the processMIDI() function.  i also give the error in hz for each output cv note since the pwm outputs are only 256-bit.  the only external circuitry is a low pass filter on the pwm output (to get a constant cv voltage) and a nte3093 optoisolator on the midi input.

josh

/* MIDI to CV/Gate converter

Error in HZ due to 256-bit resolution of PWM (f_desired – f_synthesized)
————————————————————————
0  A0
0.0988  A#0
-0.2105  B0
-0.1113  C1
0  C#1
0.1245  D1
-0.2652  D#1
-0.1402  E1
0  F1
0.1569  F#1
-0.3341  G1
-0.1767  G#1
0  A1
0.1977
-0.4210
-0.2226
0
0.2490
-0.5304
-0.2805
0
0.3138
-0.6682
-0.3534
0  A2
0.3953
-0.8419
-0.4452
0
0.4981
-1.0607
-0.5610
0
0.6275
-1.3365
-0.7068
0  A3
0.7906
-1.6838
-0.8905
0
0.9961
-2.1215
-1.1219
0
1.2550
-2.6729
-1.4135
0  A4
1.5812
-3.3676
-1.7809
0
1.9922
-4.2430
-2.2438
0
2.5101
-5.3458
-2.8270
0  A5
*/

int gatePin = 4;
int cvPin = 5;
int statusLED = 13;
int midiEnable = 2;
byte notes[] = {0,4,9,13,17,21,26,30,34,38,43,47,
51,55,60,64,68,72,77,81,85,89,94,98,
102,106,111,115,119,123,128,132,136,140,145,149,
153,157,162,166,170,174,179,183,187,191,196,200,
204,208,213,217,221,225,230,234,238,242,247,251,255};
int tempo = 1;

void setup() {
pinMode(gatePin, OUTPUT);
pinMode(cvPin, OUTPUT);
pinMode(statusLED, OUTPUT);
pinMode(midiEnable, OUTPUT);
Serial.begin(31250);
digitalWrite(midiEnable, HIGH);
}

void loop() {
readMIDI();
}

// play a note out to cv
void note(byte note, byte velocity) {
analogWrite(cvPin, notes[note-9]);
if(velocity == 0) {
digitalWrite(gatePin, LOW);
} else {
digitalWrite(gatePin, HIGH);
}
}

void blink(int repeat) {
for(int i=0; i<repeat; i++) {
digitalWrite(statusLED, HIGH);
delay(5);
digitalWrite(statusLED, LOW);
delay(1);
}
}

void readMIDI() {
byte incomingMessage[] = {0,0,0};
byte incomingByte = 0;

if(Serial.available() > 0) {
incomingByte = Serial.read();
delay(3);  // not sure why i need to delay here, but doesn’t work w/o it
if(incomingByte >= 240) {
readSystem(incomingByte);
} else {
incomingMessage[0] = incomingByte;
}
if(Serial.available() > 0) {
incomingByte = Serial.read();
if(incomingByte >= 240) {
readSystem(incomingByte);
} else {
incomingMessage[1] = incomingByte;
}
if(Serial.available() > 0) {
incomingByte = Serial.read();
if(incomingByte >= 240) {
readSystem(incomingByte);
} else {
incomingMessage[2] = incomingByte;
}
}
}
}

processMIDI(incomingMessage);
}

void readSystem(byte incomingByte) {
byte incomingMessage[] = {0,0,0};

// read in the system message
incomingMessage[0] = incomingByte;
if(Serial.available() > 0) {
incomingMessage[1] = Serial.read();
if(Serial.available() > 0) {
incomingMessage[2] = Serial.read();
}
}

processMIDI(incomingMessage);
}

void processMIDI(byte incomingMessage[]) {
switch(incomingMessage[0]) {
case B10010000:  // Note on, channel 1
note(incomingMessage[1], incomingMessage[2]);
break;
case B10000000:  // Note off, channel 1
note(incomingMessage[1], 0);
break;
case B11111000:  // Time code
tempo++;
if(tempo == 24) {
blink(1);
tempo = 0;
}
break;
}
}

]]>
/midi-in/feed/ 0 353
Hello world! /hello-world/ /hello-world/#respond Tue, 23 Jun 2009 10:43:55 +0000 http://kaos.ashrae.be/kaosblog/?p=1 kaotic gathering of informations found on the web. Intended for personal use, enjoy

]]>
/hello-world/feed/ 0 1