Plain white MacBook made awesomer!

When pondering if I should buy a MacBook or a MaxBook Pro one thing that talked against the MacBook was it’s plain whiteness. I decided for the cheaper alternative but I did not accept the whiteness. This is my journey towards getting this awesome tentacles on my computer.

1

The first thing I did whas deciding on a motive, and there are a lot of nice things to do and loads of inspiration to get at such places as deviantart and the internet in general. A few things I really liked was the snowwhite motives that are available to buy. But by this time I was so set on making something unique. So I made a tentacle motive.
Since I cant draw very well this proved to hard so I cheated 🙂 a few google imagesearch I found a bunch of tentacles that I could use. These I “photoshoped” together and printed. After that I stenciled that image with the help of a window and the sun.

2

Ten I photographed this image in a better setting. Then back to the computer to and some searching on the internet. I looked around for skin shops and or sticker places that could do a good job. But I found no skin that I liked and all the “convert photo to sticker for your computer” places had no way of telling where the apple would be. I did not want to loose the glowing apple. Then I found  a local place www.stickit.se/ and they had this vinylcutter service. Excellent. But they wanted an EPS. So I had to learn how to do one. I could try and redraw my image in some program that makes vectors, but that seemed hard and time-consuming. But I remembered Inkskape that I used before and behold I rememberd correctly. Inkscape can export EPS files. Then luck stroke again, delineate takes an image and converts it to SVG. After playing with the contrast and brightness levels I got this picture that that translated into a EPS beautifully.

3

So yeah, I sent the EPS to stickit and they sent me the plastic and all I had to do was to transfer it onto my computer. I’m very satisfied with the result.

Very satisfied!

First in scandinavia.

I was able to sell the theremin I ranted about a while ago, and for only 500sek more I got myself a Novation Launchpad instead. The music store where I get (almost) all of my stuff Malmö Musik, had the Nordic general agent visiting today, and he brought it. And since he was hasn’t delivered anywhere else I got the first one. Unless ofcourse you count those that imported theirs from Germany or USA or wherever. Still it feels nice.

I hoped to be able to test it a little at work, but I wont install Ableton Live at the dayjob’s computer.  I’ll just have to wait until I get home to take it for a proper spin.

But boy does new technology smell good.

A grinder of coffe I found!

I found a coffe-grinder at a secondhand market today. It was 140Sek so I just bought it. After I tore it apart, cleaned it (spiderweb and stuff) put it together again. After spending more time to get it to grind so very small then I did waiting for it to dry after the cleaning. Then I made a latte and drank it. Here are some pictures:

DSCF2278

DSCF2288

DSCF2291

DSCF2294

30 songs in 30 days.

http://30songs30days.com is an initiative I’ve joined. The quest is to write 30 songs in November. This is both hard and easy. Writing 30 songs is easy, but with the awesome other musicians participating I’m feeling the pressure of  stepping up my game. I have not really succeed in that, but I think I will become a happier musician after this is done. If  you want to check out my songs you should look over at http://30songs30days.com/mp3s/larsby/

I’m on a netabel!

Not a boat, but nice still. After a little help with the artwork I now have a release over at http://www.hexawe.net/ hex002B_green_worm_boogie <– that’s me.

larva_copia

If you read the release text with the downloadable zip at hexawe you will read:

Yeah, so friends.

Here we go, hexawe, Hooray.


I’d like to greet all the piggaz at #hexawe, and dmusta1ne for listening to this little track and giving me critique, all the peeps in the LGPT scene.


Made on a Dingoo A320, sitting on a rock while my kids played on the playground and on the train going back and forth to work.


Lined in and recorded to computer from the Dingoo. Well

yeah. Nothing else. Hooray!


A great big thanx to Caotix who took my original coverartidea and created the masterpiece you see in this release.


Find more of my stuff over at http://www.larsby.com/johan

Tentacle-box, mobile musicstation with beatsynched lights.

kabinett

Since I don’t get enough gigs, or any at all, I though I’d make a sound-system so I could go wherever and play a little show. So I decided to build a sound system that was moderately movable and would work of the grid.

Features:
So a featureset that I though was the least I could work with was this: It should be able to work without being connected to an outlet. It should have lights and it shouldn’t be to heavy to move around. Ateast not by a small wagon. And it should be loud. Not Mötorhead loud but loud enough. It should also be cheap enough so that I would not cry if it got trashed or stolen after a few gigs/parties.

2009-07-11 17.18.41

Materials:
So what do I need to get this together? some sort of battery, and a way to charge it. Luckily there are these car-starters charger thingys that you should use as help of your car battery dies. I bought one of those. Then a car-stereo I found. One that takes memory cards and USB-sticks and has a line in on the front. To control the lights I needed an Arduino, a few LED’s for the lights (I bought 200) and some sort of measuring the beat so that the lights could be synced to the tempo of the songs. I thought I could use a piezo and do the Arduino knock example, but later experimentation showed that I had to settle for a button-based solution.

2009-07-11 12.58.43

The build:
A box takes time to build, and woodworking is not my passion. So I went and gotten a box. It used to house a philips radio, way back when you did not have any TV’s. There was mirrors and everything in that box. but the back was just paper so I had to reinforce it. I mounted the speakers there and also the LED’s. I arranged the LED’s in groups to enhance the amount of light. Half of them are blue and half are white. The LED obscuring part did not work as I thought it should, But the results was OK anyways. As for the tentacle-painting. I don’t know. I like tentacles, not in a Hentai/Manga way, but just the cartoonish style of them.

The Arduino code:
The code is pretty basic. It multiplexes the led’s so that I did not have to add a shift registers. It also reads a button so that I can sync the lights by tapping. the code is pretty self-explanatory.

//tempo variables
byte tempo=120;  /* bmp of our sequence */
long rememberMillis=0;
long timeChange=250; /*a variable for calculating how long we are going to wait*/

//The light's stuff
int ledColWhteAndBlueRing[8] = {
 6,9,3,5,2,4,10,8 }; //these are the blue led's in order. Why no pin7? why not in order? Lazy at the wrong time I guess
int ledColSmall[8] = {
 3,2,9,6,4,8,10,5 };

// tap button
#define tapButton 14
byte tapButtonState;
byte lastTapButtonState = LOW;
long tapOldTime =0;
long lastDebounceTime = 0;  // the last time the output pin was toggled
long debounceDelay = 50;    // the debounce time; increase if the output flickers
boolean justPressed = false;

byte currentLamp=0;
#define lampChange 100
int lampCounter=0;

float ix=0.0;
float ib=0.0;
float is=0.0;

float ixSpeed=1.0/4.0;
float ibSpeed=1.0/4.0;
float iySpeed=1.0/4.0;

int lampFrame[3][8]=
{
 {    1,0,1,0,1,0,1,0      }
 ,
 {    0,1,0,1,0,1,0,1      }
 ,
 {    0,0,0,0,0,0,0,0      }
};

void setup()
{

 pinMode(11, OUTPUT);
 pinMode(12, OUTPUT);
 pinMode(13, OUTPUT);

 digitalWrite(11,HIGH);
 digitalWrite(12,HIGH);
 digitalWrite(13,HIGH); 

 pinMode(tapButton,INPUT);
 /*starting the builtin pullup-resistor!*/
 digitalWrite(tapButton,HIGH);

 for (int i=0; i<8;i++)
 pinMode(ledColWhteAndBlueRing[i], OUTPUT);

 /*calculating the timeChange variable. milliseconds divided by
 tempo and 16th note, or something like that. I dont remember*/
 timeChange=((60000/tempo)/8);

 rememberMillis = millis();

}

void workSmall()
{
 digitalWrite(11,LOW); 

 for (int i=0; i<8;i++)
 if(lampFrame[2][i]==1)
 digitalWrite(ledColSmall[i], HIGH);   // set the LED on
 else
 digitalWrite(ledColSmall[i], LOW);   // set the LED on
 delay(1);

 digitalWrite(11,HIGH); 

}

void workWhite()
{
 digitalWrite(13,LOW); //White

 for (int i=0; i<8;i++)
 if(lampFrame[1][i]==1)
 digitalWrite(ledColWhteAndBlueRing[i], HIGH);   // set the LED on
 else
 digitalWrite(ledColWhteAndBlueRing[i], LOW);   // set the LED on
 delay(1);
 digitalWrite(13,HIGH); //White
}

void workBlue()
{
 digitalWrite(12,LOW); //Blue

 for (int i=0; i<8;i++)
 if(lampFrame[0][i]==1)
 digitalWrite(ledColWhteAndBlueRing[i], HIGH);   // set the LED on
 else
 digitalWrite(ledColWhteAndBlueRing[i], LOW);   // set the LED on
 delay(1);
 digitalWrite(12,HIGH); //Blue
}

void moveLamps1()
{
 for (int i=0; i<8;i++)
 {
 lampFrame[0][i]=0;
 lampFrame[1][i]=0;
 lampFrame[2][i]=0;
 }
 lampFrame[0][int(ix)]=1;
 lampFrame[1][int(ib)]=1;
 lampFrame[2][int(is)]=1;

 ix+=(ixSpeed);
 if (ix>8)
 ix=0;

 ib+=(ibSpeed);
 if (ib>8)
 ib=0;

 is+=(iySpeed);
 if (is>8)
 is=0;
}

void moveLamps2()
{

 for (int i=0; i<8;i++)
 {
 if (int(ix)==1)
 lampFrame[0][i]=0;
 else
 lampFrame[0][i]=1;

 if (int(is)==1)
 lampFrame[1][i]=0;
 else
 lampFrame[1][i]=1;

 if (int(ib)==1)
 lampFrame[2][i]=0;
 else
 lampFrame[2][i]=1;
 }

 ix+=(ixSpeed);
 if (ix>2)
 ix=0;

 is+=(iySpeed);
 if (is>2)
 is=0;

 ib+=(ibSpeed);
 if (ib>2)
 ib=0;
}

void moveLamps3()
{
 for (int i=0; i<8;i++)
 {
 lampFrame[0][i]=0;
 lampFrame[1][i]=0;
 lampFrame[2][i]=0;
 }

 lampFrame[0][int(ix)]=1;
 lampFrame[1][int(ib)]=1;
 lampFrame[2][int(is)]=1;

 ix-=(ixSpeed);
 if ((int)(ix)<0)
 ix=7;

 ib-=(ibSpeed);
 if ((int)(ib)<0)
 ib=7;

 is-=(iySpeed);
 if ((int)(is)<0)
 is=7;
}

void checkButtons()
{
 int reading = digitalRead(tapButton);
 if (reading != lastTapButtonState)
 {
 lastDebounceTime = millis();
 }
 if ((millis() - lastDebounceTime) > debounceDelay)
 {
 tapButtonState = reading;
 if(tapButtonState==true && justPressed==false)
 {
 //this is the most basic tempo calculation I could think of
 justPressed=true;
 timeChange= (millis()-tapOldTime)/8;
 tapOldTime=millis();
 }
 else if (tapButtonState == false)
 {
 justPressed=false;
 }
 }
 lastTapButtonState = reading;
}

void randomizelampSpeed()
{
 ix=(rand()%4)+2;
 is=(rand()%4)+2;
 ib=(rand()%4)+2;
 ixSpeed=1.0/((rand()%6)+2);
 ibSpeed=1.0/((rand()%6)+2);
 iySpeed=1.0/((rand()%6)+2);
}
/*our main baby */

void loop()
{

 workSmall();
 workWhite();
 workBlue();

 if( (millis()-rememberMillis) > (timeChange)) //this is one
 {
 rememberMillis=millis();

 switch(currentLamp)
 {
 case 0:
 moveLamps2();
 break;
 case 1:
 moveLamps1();
 break;
 case 2:
 moveLamps3();
 break;
 default:
 break;
 }
 lampCounter++;
 if (lampCounter >= lampChange)
 {
 currentLamp = rand()%3;
 lampCounter =0;
 randomizelampSpeed();
 }
 }
 checkButtons();
}

Binaural beats and Atari Punk Console followup

Long-time reader of this blog may remember me having an idea of creating a binaural beat generator based on 2 APC. real all about it here http://www.larsby.com/johan/?p=67.

Well so, I made it. I was going to make a few APC’s anyway so I might as well test the idea.  I used http://www.electro-music.com/forum/phpbb-files/thumbs/t_apc555_129.gif so I could try and make a stripboard.

So yeah, the pot’s have a little bit of a glitch in them, kinda ruins the experience, and that is why I had to edit the video so hard.

Listen to it in headphones and tell me you don’t get dizzy.

Here’s a zipped wav-file in case youtube doesn’t do stereo properly. binauralbeatAPC.wav

If you want to make one yourself do 2 of the above APC, connect the pot’s to stereo versions of it. On of the cables between the pot’s add a new 10k pot between. Also if you don’t connect the batteries at the exact same time you will get strange phase’s. Very nice!

Is it broken?

While I was documenting that sticker I’m making for the macbook I’ve ordered I accidentally dropped my camera 10cm. It landed on the lens. The lens got pushed in and looked totally broken. While trying to fix it it suddenly looked like this:

broken

I managed to get it together again, and it’s working. I’m able to take photos with it, but it does not want to retract again.

I dont have any warranty left on it, it’s over 2 years, atleast. Sure I have an insurance but if I excercise that one, I will have to pay more for the insurance later on.

A new camera needs to be bought, I’ll look around, see what I can find. probably it will be the same series. Unless anyone have a tip?

What I’m looking for is:

  • Fast to start.
  • Good quality images
  • Battery that are either interchangable or lasts forever.
  • Takes SD-Cards
  • Works well during poor lightning.

The one I broke was a Fujifilm Finepix F40FD