Fender Jazz Bass Series/Parallel Pickups Mod

March 10, 2008 – 8:40 pm

I have just received a push-pull potentiometer that I had bought on ebay. It’s a hybrid between a potentiometer and a DPDT switch. It looks like this:

Push/Pull potentiometer

I installed it in my Fender Highway-1 Jazz Bass, in place of the regular tone potentiometer, and wired the switch part of it to change between two different wiring modes for the pickups:

  • Parallel – Which is the default on the Jazz Bass. In this mode each pickup gets a volume knob.
  • Series -Connecting the pickups in series, so that they act as one. This delivers higher gain out of the pickups, and a punchier tone. When in series mode, you only get one volume knob that controls both pickups.

I used the following diagram that I had found online:

Jazz Bass mod diagram

It took me about 45 minutes to assemble, because soldering was a bit tricky, and I forgot one connection after fastening all the screws back.

I have no proper way to record my bass on the computer, so no sound samples for now. All I can say is that I’m very pleased with this new sound of my bass.  I still have to try it on a serious amp to get a better idea of the new tone.

If you own a Jazz Bass, not afraid to void your warranty, and can solder (or get someone to solder it for you), I’d suggest you to try this mod.

Chopper Tremolo Effect

March 8, 2008 – 11:50 pm

I’ve wanted to build this kind of effect for a long time. This was actually the reason I got my 4066 ICs half a year ago, when I visited my electronic components shop.

A Tremolo is an effect unit that modulates the amplitude of the guitar signal, usually in a triangular waveform. This version uses a square waveform, for a more switching, chopping kind of effect. This kind of effect can be heard in the beginning of Plant Telex by Radiohead. Tom Morello of Rage Against the Machine uses this kind of effect too, he, however, uses a “kill switch” on his guitar, which he controls manually.

More after the break…

Read the rest of this entry >>

Maxima Process Terminated in XP

March 6, 2008 – 10:35 am

This is a short post with a simple fix for fellow math students how failed to install wxMaxima on Windows XP.

I had downloaded the maxima installer from sourceforge, and it already contained the wxMaxima frontend.
After installing to “C:\Program Files\Maxima-5.14.0″ I tried to run wxMaxima but it failed to connect to maxima, while displaying the message “maxima process terminated” in the status bar.

Re-installing maxima and wxMaxima (using the same installer) in a directory that did not contain a space character (e.g. “C:\Maxima-5.14.0″) solved the problem for me.

I hope this sovles that problem for other users too.

(Almost) Free MIDI Controller

February 25, 2008 – 10:31 pm

Well it’s about time that I posted something.

Two weeks ago, a friend of mine asked me for help. He wanted to create something that will allow him to control all sorts of effects in Fruity Loops, like many available midi controller products. He was, however, looking for the cheapest solution, and suggested using an old keyboard as a controller.

As I was toying with MIDI and my Arduino at the time, and started messing around in Fruity Loops, I was able to come up with a quick and easy solution. I used code from the s2midi application, that I had known from my Arduino prototyping and another Code Project example about keyboard hooks in C#.

After around 10 hours of development I came up with a small application that catches all keyboard input using hooks (and does not pass them to other applications, to prevent collision with existing hotkeys), and generates MIDI control commands. MIDI Yoke was used to bridge my application’s output and FL’s input.

The application works by “emulating” knobs, with assigned keys to increment, decrement, maximize or minimze their values. It is also possible to choose different step sizes for inc/dec. Currently the knobs are “hardcoded” as they are needed for my friend’s modified keyboard controller:

Controller

He connected the keyboard via USB, alongside a normal keyboard, and is going to use the two to control Fruity Loops in real-time.

Here’s a screenshot of my app:

Screenshot

Although it may be a bit funny to post about this application without releasing the code and executable, I’d rather not do it at the moment, as it requires a bit more work. I did not aim for high code quality anyway, as it is one of my first C# applications.

I think this will turn out to a simple program that one could use to control music software better than a mouse, but still no match for a true hardware MIDI controller (which is one of the projects in my TODO list :) )

Turn Your Electro-Junk into Art, Piven Style

December 6, 2007 – 2:39 pm

GarageGeeks is a notorious group of hardware hackers based in Holon, Israel. Among their projects is the famed Guitar Hero playing android. Besides creating cool projects, they also host various hands-on workshops every once in a while.

On November the 22nd, I attended my first workshop. From the Facebook invitation:

This Thursday – Nov 22nd @ 20:00 we’ll be holding a GargeGeeks Heads workshop – hosting by our dear friend and great artist Piven Hanoch (http://www.pivenworld.com/pivenWorld.html).

We’ll be all creating head shots from electronic junk we’ll each bring from his/her own little electro-junk yard (or living room….)

Come and build faces that: Interact, Talk, Move, Light & Vibrate or just look cool

Please bring electro-junk & some basic tools

At first I hesitated about “wasting” my precious junk on a piece of art that probably would not make full use of the materials (an old printer, 3 broken cdroms, a cordless phone etc). I discovered, however, that workshops such as that one, are truly inspiring. Even though I didn’t get to build anything advanced in terms of electronics, I did build stuff. I was being more creative and productive than I ever am when working alone in my basement on various projects *cough* delayed drum machine *cough*.

Me and my two friends – Amihai Neiderman and Nur Nachman Eytan – grouped together and built “The German Mouse”. It was created from an old motherboard, a portable cd player, an actual computer mouse, a piece of salvaged circuit that spoke out something in German and some random bits.

And Here’s a video of our creation:

You need to a flashplayer enabled browser to view this YouTube video My lesson and message to fellow makers, tinkerers and others that are stuck on the “Design and Concept” phase – Get your tools and start to build stuff. Hands-on experience is super productive and inspirational !

Amazon EC2 for Game Servers

September 30, 2007 – 4:23 pm

Amazon Web Services rock. They really do.

I was first introduced to AWS about half a year ago, but only recently have I started to use them. I work at www.zshow.com where we use Amazon S3 (Simple Storage Service) for hosting all of our pictures. While exploring AWS, I also encountered EC2 (Elastic Computing Cloud) and was quite excited about the idea – it allows you to easily create virtual servers, at the equivalent of a 1.7GHz processor and 1.75GB RAM with a 250MB/s connectinon, and pay per hour of use. Possible uses are endless, as you basically get a virtual x86 machine that can do everything you wish.

Recently, I’ve started thinking about renting a game server for Enemy Territory: Quake Wars when it comes out. Then the other day, I thought that Amazon EC2 could be used to host a game server (along with TeamSpeak/Ventrillo, Web server, and whatever) and was eager to try it out. I googled it up and found some posts in blogs about how this could be done ( I wasn’t the first one to come up with that idea ). I gave it a go, and quite soon I had an ETQW server running. However, much to my discontent, Amazon is probably located at North America, thus I couldn’t get decent pings for an actual game server that I could use (250+). I still think that it should be quite usable for Americans though, and extremely cost-efficient for clan servers, mod teams and other people who wouldn’t like to have their servers on 24/7. In that case it is actually cheaper to just rent a server from some host.

I do recommend the Firefox EC2 Add-On anyone who would like to try it, as it makes usage of EC2 much easier, via a single GUI interface.

I really see much potential in AWS in general, and I also like the idea of using EC2 for game servers. I guess that if I lived in North America and had some time, I would have set up a website that sells on-demand game servers and uses EC2 as a backend.

Tee Time

August 16, 2007 – 12:09 am

I like T-shirts.

I have several Simpsons and Family Guy ones that I wear quite regularly. I also like seeing people wear humorous t-shirts, but what I really enjoy is MAKING shirts.
Here’s my first design, created as friend’s birthday present. It contains an image of a kind of treat, (whose name in English I do not know) that is made up of two cookies with ice-cream in between. He really loves this thing, so he also liked the shirt.
Cookie-lida

My second design was created for myself, and have put much more time drawing it. I really liked the result so it was worth it:

Spartaaaa

Next, I created two more designs, along with another shirt designed by a friend, for my cousin’s birthday. He’s an aviation freak, so that was the theme:

Ran - shirt 1 Ran - shirt 2

Last, but not least, a design that I had printed on an apron for another friend’s birthday present:

Hardcore

And that’s it for now. I had some other ideas, but nothing good enough to print. I guess I can post here when I print more, so that my single reader could enjoy it :D

I hope that writing more random, non-tech posts such as this will help me write more in general.

Long time no post

July 9, 2007 – 5:13 pm

As if I have any readers that care :P

Found out that some people have arrived to this blog by searching “python time measurement” and other things in google, got me quite motivated (more than the following poster did)
Motivation
Anyway, I’ve started working on a PIC microprocessor based drum machine ! More on this soon…

Translation through Wikipedia

June 9, 2007 – 9:49 am

There’s a new version of Wikislate up! read about it here

Here’s a small neat script that I coded yesterday in about 1.5 hours – Wikislate

The script was created to simplify a process that I’ve been using for some time. Being a math&cs student, I’ve acquired the unique mathematical-technical jargon (and I keep doing so).
The problem is that I live and study in Israel – in the Hebrew language. Given the fact that there’s a great English mathematical knowledge-base online (Wolfram is the first website that crosses my mind right now), I had to know the English equivalents of the Hebrew mathematical terms.
The method that I found was to load up the Hebrew Wikipedia page for the term, and then look for the English interwiki link – for the English version of the article.
Most of the time, I only had to read the title of the English page to know I was at the right place.

Yesterday night, after desperately trying to get asleep (my brain suddenly decided to start intensive thinking the night before an exam – took me 2 hours to get asleep) , I came up with the idea to code a quick and simple PHP script that will do the work for me, and act as my scientific terms dictionary. I had some spare ( I decided it was spare ) time, and the above code was the result of a quick coding session. As the code came along, I thought that incorporating Google’s “Did you mean” is a neat feature. So in case a term wasn’t found, it tries the Google search for it, just to get the “Did you mean” line for you :)

I hope other people will find it useful. I might improve it, making it use shiny AJAX and maybe even have a db store the searched terms for autocompletion.
I have the intention to write a bit about how it was done (really fairly simple) – again, if there’s enough interest.

Enjoy, and please comment about it!

Print a Book at Home in 24 Hours

May 22, 2007 – 3:25 pm

This post is being written on the 21st but will be published only tomorrow, the 22nd, the reason will follow.

Today is the birthday of a very good friend of mine ( we’ll call him Y ). He is celebrating together with 2 other friends (A and G) this evening. I’ve spent about 4 hours together with some buddies to try and find gifts, resulting in great presents found for the other 2 guys, but not for Y.

As I arrived back home, the idea just struck me. I decided to make a printed book version of a widely unpopular, fictional blog that he had written together with G. I will not link to the blog in order to keep their identity secret. (Identifying themselves with this blog will make them look quite mad, sick, twisted, and plain stupid).

I was very excited and highly motivated about this project. The time was 16:00. I set down to write a script in perl that will fetch me all the posts from the blog. Perl kept crashing for some reason, so I switched to python. The problem was that this blog (hosted on www.israblog.co.il) was nowhere near valid XHTML, and was lacking advanced RSS syndication (I later found out that there is an RSS feed, but only for the last posts). After 1.5 hours (17:30) I had a working script, using sgmlop – a library for python for SGML parsing (I’m still not sure what it means, but it worked). Only then did I realize, that there could be multiple pages per month. I gave up on trying to figure the number of pages and fetch the posts in each page, and I fell back to the simple method of Copy-Paste. In retrospect, the scripting time could have been used to finish it, If I had used the copy-paste method instead.

After some work (and with some help from a friend), I had all the posts in a Word document, in a chronological order, ready to be printed. Now I only had to figure out how to print it, so that the pages could be folded to form the booklets that form a binded book. As seen in the following illustration ( Notice that being an Hebrew speaker, I printed a right-to-left book, and so is the book in the diagram. For left-to-right, you’ll have to reverse the order ):

a 2 sheets - 8 pages booklet

This is the base “structure” of our book. If you look at the point where the pages are attached to each other, in a hardcover book, you will notice the book is organized into several booklets that are binded together. I got a recommendation to have 5-6 pages (sheets of paper) from Here , but I ended up working with 7-pages booklets. Each sheet of paper is printed with 2 pages, on both sides, in landscape orientation.

In order to print those booklets ( the sample 2 sheets one in the diagram ) the pages have to be ordered as follows (again, for right-to-left books):

  • first page – first side: A | H
  • first page – second side: G | B
  • second page – first side: C | F
  • second page – second side: E | D

I knew most of the above at this point, but I had no idea about how I’m going to achieve this goal.

Then, a guy named Stephen, from Canada – who has been my team leader in two HL2 mod projects :Shock and Price of Peace – said ‘Hi’ on MSN. It turns out that he is some extreme Word guru, and that he had some free time (and, well, that he just couldn’t miss the opportunity to share his knowledge :P ) so he decided to help me.

Our first approach was to use “Columns”. Found under the “Format” menu, it’s a neat feature that let you format your document into columns. The idea was that each page will have 2 columns, that will represent the pages in the booklet, and that the page will fold in between them. We discussed this option a bit, and I started my work. It basically consisted of having 2 open documents at a time – the original and the columned – and having to mix and match, using copy-paste, the different pages from the original, into the appropriate columns. It was certainly doable, but at the same time a nightmare, prone to errors and limits further editing.

Stephen then had an epiphany – he introduced me to a very cool feature in word called textbox linking. Apparently, it is possible to link two (or more) textboxes – in a certain order – so that when the text entered to the first textbox exceeds the textbox’s space, it flows into the next textbox in order. He sent me a file aptly named “Ben is so lucky to have me.doc” – I sure was. The file consisted of two large textboxes, set in a landscape oriented page, with equal margins etc.

From there, I’ve create my 7 pages booklet “template” [Edit - I thought that I should post a sample template , so here it is (left-to-right version) - click me], using linked textboxes, ordered as explained above. Now, all that was left was to paste the original document inside the first textbox, cut everything after the last line on the last textbox (it’s the rest of the document that won’t fit in the current booklet), print, and repeat.

The time was about 21:30, and I had started to make several print attempts.
1am.jpg

As seen in the picture, by 1:00AM I had 3 booklets printed and arranged.
230am.jpg

2:25AM, stitching the booklets together, using the method explained in Here with some improvisation.
3am.jpg

3:05AM – all done stitching, applied some glue over the stitches using improvised clamps. One hour left for the 12 hours mark – and I went to sleep :) . Well, I cheated on the title – it took a bit more than 24 Hours because you have to wait for the glue to dry. However, I think that now I can cut most of the time that went into research and printing failures, and meet the 24 hours limit.

Got up at 10:15AM – by now the glue has mostly dried, and we have a perfect (in first-time DIY scale…) cover-less book !

Time to create the cover. I cut three pieces of cardboard (not sure if that’s the right term, only familiar with the Hebrew name for it), two 16cm x 22cm for the sides and one 1.5cm x 22cm for the spine. I connected them using electric tape (that’s what I had around), the result :

cover.jpg

Finally, applied glue to the cover and the spine, and let dry between two heavy books (with some metal parts on the stitched booklets, pushing them downwards):

1120.jpg

It’s 11:20AM, so that’s 12 hours + 5 minutes. Now we just have to wait for the glue to dry, and then maybe decorate the cover.

At 16:00 – 24 hours mark – the glue was not fully dried, but I had to leave the house, and it was not only until around 22:00 that I had to deliver the present. So yes, not really 24 hours, as stated above, but it can be done in 24 hours !

I aimed (yeah right) for an underground look and feel, so I was ok with the cardboard and electric tape cover, but for the next time I’ll try to achieve higher quality (by covering it with some decorative paper etc). I’d also leave two empty pages, at the beginning and the end, to glue to the cover in order to secure the cover better, and hide the internal spine.

Anyway, I’ve linked to the sites that helped me, here are my thanks. I also greatly thank Stephen who really saved me. This post is getting way too long and unfocused, so if I find anything missing or not detailed enough, I’ll post a follow-up.

I can just tell you that the gift was a success , and that the cover fell off :( . It says on the cover of my glue ( I used carpenter’s glue, figured that both paper and cardboard are made of wood :P guess I should have used PVC glue ) that it takes 12-24 to completely dry, well, that’s a lesson for next time.

Ben