Tuesday, January 25, 2011

VPO Project : Success

Discovered the problem with running "jorgan-pup"on zombie (Dell Inspiron e1505 without a screen) -- needed more memory. Replaced the 512MB dimms with 1GB dimms. Works with LPK25 keyboard.

Plans now are to build a modern "portative organ", basically a portable pipe organ

  • 2 manuals - 2 octaves each - staggered - I have spacer plates from the Baldwin and Gulbransen.
  • Stop tablets from Baldwin
  • Piston buttons from Gulbransen (or use switches)
  • Dell e1505 as processor
  • Internal audio
  • 15 inch dell display
  • external connections for keyboard and mouse (USB hub)
More details coming soon. Hope to have something working for FOSS faire next month.

Thursday, January 20, 2011

The Problem with Jack

I have been working on two related projects : a virtual pipe organ (vpo) and a guitar effects processor. What they have in common is a PC running Linux. Most audio applications use a program called Jack, which is an "audio connection kit". Jack provides the connections between audio sources (like a virtual synth) and outputs (like the sound card in a computer).

I have been trying for the past two weeks (on and off) to get my computer to make a sound. Any sound. I read the online tutorials. They just didn't click with me. Something was missing. I was using some Sound Blaster Live! cards because they had been recommended for use with the VPO software. I could never get the VPO software (jOrgan) to generate any sound.

I decided to try a different tact with software called Rackarack. I decided to remove all the Sound Blaster cards and used the internal audio. I loaded Ubuntu Studio but could never get the Jack server to run. It would always fail with an error. Via Google, I discovered that Jack didn't work with Ubuntu versions after 10.4 (I was using 10.10).

I loaded a distribution called Puppy Studio, a custom distribution with audio multimedia packages. I booted from the CD. The Jack server started running.

I was reading an article about how to configure the Jack Patchbay and I realized what I had been missing. The Jack Patchbay has "outputs" which come from applications, and "inputs" which interface with hardware. Which seems backwards to me. The audio hardware is managed in Linux by a system called ALSA, which normalizes hardware so Jack can connect to it via the patchbay. The sound hardware was recognized by a system called Pulse Audio, which is used by ALSA to provide the connection to Jack.

I launched Jack, configured the patchbay based on the tutorial, plugged in my guitar and finally....sound.

If you want to use Linux to build an audio appliance, find a distribution with Jack bundled to avoid incompatibility problems.

Wednesday, January 19, 2011

unexpected error?

My work mail is dead. The new GroupWise server is giving me an "An unexpected error has occurred".

So, would an "expected error" be any better?

Wednesday, January 05, 2011

Project : Clavinova

I was recently given a Yamaha Clavinova CVP-87A.



It is a digital electronic piano with 88 weighted keys, rhythm section and recording/playback features. What you would buy if you did not have room for a real piano, but wanted the "feel" of a real piano. Beautiful rosewood cabinet. The piano is non-functional due to a number of defective components on the main sound board that have failed. The solution from Yamaha is to purchase a $500 replacement main board. Apparently, these failures were common, but not common enough to be recognized as a factory defect. Most people make the financial decision to buy a new piano rather than spend $500 to repair a 12 year old piano.

Upon inspecting the main board, the component failures are fortunately obvious, but unfortunately numerous. All are surface mount electrolytic capacitors....which are in some ways easier than replacing through hole parts.

The service manual has been ordered from Yamaha ($16, on CD) and soon another project will begin.

If the piano turns out to be unrepairable, it will serve as an excellent chassis (and keyboard) for a future VPO (Virtual Pipe Organ) project.

Update - 1/6 -: Received confirmation from Yamaha that manual has shipped

Saturday, January 01, 2011

Battery upgrade for 30G iPod - the patient lives

I was getting about 20 minutes on a charge, so the battery obviously needed replacing. Ordered a kit from OWC. Got around to installing it tonight. If I hadn't forgotten to re-install a (non-critical) insulator, it would have been totally done in about 10 minutes. You can see the piece I originally left out in the upper right hand corner.  Doh!

The online video warned about the problems with removing adhesive, but it was no big deal (2 small pieces of double stick tape). Here is the patient on the operating table, about to close up :

Musical electronics @ MakerFaire : NC 2011

I'm working on some other musical projects, mostly involving parts recycled from old electronic organs and vintage computers. Current plans include a MIDI pedalboard as part of a virtual pipe organ, and C-64 related projects.

Flag-O-Matic @ MakerFaire : NC

My dad developed a product called "Flag-O-Matic" in the 1950's. It was a portable traffic light controller for construction sites. He built a working prototype, but it was never produced commercially. I'm planning to open it up and check for potential problems, then have it operating at MakerFaire : NC 2011.

The timing circuits in the Flag-O-Matic are all electromechanical -- mechanical timers and relays. What could be built today with an Arduino and a shield board required much more complex circuitry.

More updates as I progress.

Wednesday, December 08, 2010

Let the public vote on science funding?

The hare-brained ideas have started even before the new batch of Congress-critters have entered office.

They are calling on the public to vote on which science projects should be funded by the NSF.  How about we save some time and just attach some pushbuttons to monkey cages?

Thursday, July 15, 2010

Larson Scanner for Unicycle

How to make a unicycle more menacing? Add a Larson Scanner from Evil Mad Scientist Laboratories. I modified a Minoura Swing Grip by removing the crossbar and replacing with a piece of vinyl tubing to enclose the Larson scanner.

Here's the YouTube video.

Tuesday, July 06, 2010

Visited Durham Ukelele Jam last night

Attended the Durham Ukulele Jam at High Strung Music last night. Everyone was very friendly -- I played a loaner Denim Flea (Concert) and my jamming neighbor kindly let me play her tenor for a few songs.

My mind was pretty much set on a tenor until I played the concert. While the tenor was a bit easier to play, the concert had the more traditional uke sound. The Flea played well, but they run about $200. I'd like to find something a bit less expensive. The Fluke has a larger body and would probably be easier to hold and play. The Flea and Fluke have a reputation for being very consistent from the factory, which is a consideration if I'm ordering online.

I was able to pick up chords pretty quickly, though during phrases that required rapid chord changes, I often reverted to guitar fingerings. Oops!

Tuesday, June 15, 2010

Vacation experiences with Windows Vista

Our villa in Jamaica is equipped with 2 computers on which I dare not enter any personal information. I just spent about an hour working on clearing some disgusting spyware from a system running Windows Vista Basic. Even after updating Firefox, the same windows keep popping up. First thing I tries was to uninstall Firefox. Which solved the problem in an unsatisfactory way.

Since the infection was limited to the Guest account, I thought "I'll just delete the Guest account".

Apparently, that is not possible. Seems pretty dumb. Thankfully, it can be disabled. So I disabled the built in Guest account, reinstalled Firefox and and created another regular account, which can be deleted and recreated as needed. Problem solved.

Sunday, June 13, 2010

Deconstruction : Mini Arcade on eBay

Just saw this slick little cocktail arcade system on eBay. With a few minor mods, it would be much more usable as a desktop computer. If the LCD were attached to the lid, so that when it is opened, it would be oriented for desktop use. External USB ports would allow for easier use of peripherals.

Very nice build, though and gives me ideas. I have an LCD display with no stand that would make a nice tabletop game system along with the headless e1505 laptop.

Project : Mister for recumbent bike

My friend Eric wants to build a water mister for his recumbent bike. He would like to be able to vary the speed of misting. Manual triggering may be an issue as he has limited use of his hands. I suggested that we want to keep the system relatively compact, to make it easier to refill and take on and off the bike.

We brainstormed some ideas and came up with the following :
  • Triggering : use a windshield wiper control - it already does variable speeds and allows for arbitrary delays. Most of these systems require 12V, which may be more than the motor for the mister needs, so regulation would be required. I suggested perhaps an optical sensor, but that requires extra circuitry. I suggested we start off with a simple switch and work up from there.
  • Power : I suggested a rechargeable battery pack. Eric's SO Jenny suggested a generator which would require attachment to the bike. Perhaps solar? Again, I'm thinking start with a battery (like for a portable DVD player)
  • Mounting : probably attach to the handlebars. If we used a bike water bottle, perhaps any existing water bottle holders could be used.
  • Spray nozzle : I suggested a tube connected to a flexible stalk. If the water bottle holder was close enough to the handlebar, then everything could be attached to the water bottle

The Evolution of Air Travel

Flew U.S. Airways from Charlotte to Jamaica yesterday.

Two new revenue generators :
  • Drop the temperature on the plane and sell blankets 
  • Advertise credit card offers during landing announcements

Thursday, May 27, 2010

Replacing a GPS : New maps or new GPS?

I have a Garmin Nuvi 200W which I like, but I'm finding more and more mistakes in the maps. Turns out map updates are $69. A newer model, the Nuvi 255W is available for $99. It has a faster processor and locks onto satellites faster. The old Nuvi 200w becomes the backup GPS/photo frame and the 255W takes its' place.

Wednesday, May 26, 2010

Keeping visitors away from the beach

Found this blog post in my Drafts. This happened about 3 years ago, but it really happened. The parking pass system rebooted while I was trying to buy a pass. The clock was 30 minutes off. I saw a car being towed through gridlocked traffic.

Here goes ......

Just came back from a whirlwind trip to the beach. My son Liam was having his pictures taken for promotional materials. I arrived the day before, and decided to spend some time at the beach. It didn't take long for things to go wrong. I appreciate their attention to safety. They just need to rethink customer relations.

Keeping Visitors Away From The Beach

- Establish onerous parking rates. At least $1.50/hour
- Don't maintain the machines that generate the parking receipts. Have them periodically reboot while the customer is attempting to purchase parking time.
- Set the clocks in the parking machines 30 minutes in the past. This way, you can sell 30 minutes of parking for the price of an hour of parking. This also creates a prime opportunity for towing cars in expired spaces.
- Configure the systems so that they only generate 1 hour parking passes, requiring the customer to return hourly to add more parking time.
- Tow the cars of violators during prime beach hours, causing traffic gridlock
- Establish rules for proper conduct at the beach, but don't post them anywhere
- If you choose to document rules, do so in an extremely cryptic manner. For example, to demark a zone in which swimmers should not enter the water, like near a pier, stick a red flag in the sand. Everyone knows people don't read signs with words :-)
- When the rules are transgressed, use a bullhorn to inform the offender, assuring public humiliation. Toss in phrases like "you need to watch your kids..you are not at Disney World"
- Don't enforce rules uniformly. This keep your visitors on their toes.

Saved from the dump - Dell Inspiron e1505


My sister gave me a Dell Inspiron e1505 that she found laying on the curb after the BGSU students moved out. Physically, it appeared to be in decent shape. I plugged it in and powered it on. I would get a one second visual of the Dell boot screen, then nothing. I plugged in an external monitor, and it appears to be working normally (other than the display). A little research indicates that screen failures were common on these laptops.

Otherwise, a decent laptop : Vista compatible, Express Card slot, SD card slot, 4 USB ports, external S-video/composite out.

As I recall, the LCD did not look so great, so "Off With Its' Head!" I removed the screen completely and powered it up again. System booted normally. Everything looks good. If I decide to add a touch screen to use with the virtual pipe organ project, I don't need to worry about integrating a touch panel onto the existing laptop LCD.

Just for grins, I started poking around on the laptop to see if it had any problems. It had 3 different anti-virus programs running simultaneously : Symantec, McAfee and AVG. Once I uninstalled those, performance improved dramatically.

Postscript : Finally figured out the part number of the inverter (note to manufacturers : don't use the letter I in part numbers). Ordered a unit from eBay for $9.

PostPostscript : Replacement inverter did not fix the problem. Found a $25 LCD display at the flea market. Using it headless. To get better wireless range, I pulled the antennas out of the lid and attached them to a wooden stand

I think I'll call him Mike : http://www.miketheheadlesschicken.org/

Friday, May 14, 2010

New keyboard for organ project

I had been working on soldering the wires to the Schober 61 note keyboards, but was not happy with the wire management. I had been keeping my eye out for controllers and found an Edirol PC-50 keyboard controller for $10 on Craigslist. Only $10? It had a bad key which I fixed with a pencil eraser. Planning to work more on the software, foot pedals and expression pedals and save the bulk of the soldering work for later.

Tuesday, May 11, 2010

Learning economics on the long drive

Spent almost 12 hours yesterday getting home from Bowling Green, Ohio where I spent the weekend "junking" with my sister. Spent most of the trip home listening to the EconTalk podcast out of George Mason University.

Especially interesting were :

I always recommend Roberts' discussions with Nassim Nicholas Taleb :

Tuesday, April 20, 2010

C64 Muse ... almost done


C64 Muse
Originally uploaded by tom karches
Almost done. Need to add pots and figure out what to do with dead space with missing keys. Getting ready for maker Faire Sunday