Showing posts with label Tech Tip. Show all posts
Showing posts with label Tech Tip. Show all posts

Friday, March 15, 2013

Windows 8 audio clicks and glitches narrowed down to Malwarebytes

Ever since I got my Windows 8 PC, I have been having serious problems with audio.  Basically all sound playback on my system experiences a brief  but frequent click, skip, glitch, stutter, whatever you prefer.  I can reproduce the issue on any sound card or firewire sound interface (devices tested include the onboard Conexant SmartAudio HD, my external Phonic Helix 12, and my Edirol FA-101).  All of them seem to have audio clicks, with the firewire interfaces' clicks seeming more harsh for whatever reason.

Sunday, January 13, 2013

Crock Pot modification

One of the neat things we got as part of our Christmas haul is a Crock Pot.  I've been wanting one for a while, and it was really perfect timing.  We've already made quite a few dishes in it, and it's been going very well.  One thing that kind of sucked was that one outlet in the kitchen (apparently) doesn't work, and it took an hour to find out that the Crock Pot wasn't cooking.  There is no power light on the device anywhere, and the only way you know anything is happening is by the surface getting hot, which either takes a long time to do so, or is so hot that it will burn your hand.  Besides these lengthy guessing games, it's a safety concern when there is no visual indication that the thing is so hot you can't touch it.  Not really ideal.

To complicate matters, I also invested in a simple outlet timer that would shut off power to the cooker in case no one was home to do so.  The timer I got also lacks any sort of on/off indicator, so it's even more difficult to tell whether the crock pot is functioning or not.

A number of possible solutions came to mind, but I finally decided that the slow cooker/crock pot should really just have a power light.

Monday, October 01, 2012

Repairing broken Kurzweil keyboard

In for repair we have a Kurzweil 88-key K2500X, with weighted keys.  This beast weighs about 80-100 lbs. It had reportedly fallen off a keyboard stand.  It came in with several "sticking keys", one chipped key, dented front, and a broken end cap.




















Sunday, April 01, 2012

Unleash Your Galaxy Nexus Screen: Tweak Auto Brightness

When I was shopping for my next phone, one of the main selling points of the Galaxy Nexus was its beautiful SuperAMOLED screen.  Because the screen pixels are actually light sources (as opposed to a more traditional LCD in which a backlight is filtered by an LCD screen), the contrast ratio and color vibrance are theoretically unmatched.  So why is it that, weeks after getting my long awaited gem, my assessment of the screen is that it is more lackluster than my 3 year old Moto Droid?

The answer lies in the combination of two factors:
  1. Different colored LEDs respond differently to various power levels, in terms of their brightness.
  2. The default screen-brightness-to-ambient-light mapping offered by Ice Cream Sandwich on the Galaxy Nexus (in auto brightness mode), is inadequate.
Here's the proof:  Turn your display brightness all the way up instead of using auto mode.  The screen looks beautiful, the colors are vibrant, and the promise of the SuperAMOLED screen is realized (not to mention that you can actually see the screen reasonably well in sunlight).  Ok, so it's probably not appropriate to leave your brightness cranked all the time, for a lot of reasons, but it's clear enough that there is a different world. 

So what's going on here?  Let's look at item #1 first.  Different colored LEDs respond differently to various power levels.  The reason for this is that different materials are used to create each color, and each respective material has a fairly unique, non-linear brightness curve.  So lowering the power going into the screen means that the colors will not be dimmed uniformly, causing color distortion.

#2, the auto brightness mapping just doesn't seem to cut it.  This is a complaint I have had with all of my Android phones, but this one is especially pronounced, perhaps because of the LED display.  The screen is very often too dim for a given situation.  The ambient light sensor is extremely directional, and if you are standing outside on a bright day, the display will very often switch down to around 50%!  This is unacceptable.  The other symptom this creates specifically on the Galaxy Nexus, is a dull and unremarkable screen color (greenish or yellowish tint, with reds and blues being very subdued).  In practice, it very rarely, if ever, actually gets to full screen brightness, which I found quite annoying.

My theory is that Google errs on the side of conservation in order to protect battery life.  However, in the face of some of the other battery drainers, and the rate at which they can consume energy, this seems like a drop in the bucket.  For me at least, I will take this small hit so that I can appreciate my phone when I am using it.  Let's talk about options.

Option 1: Leave your screen on full brightness all the time.  While this is certainly an option, this will have an unnecessary impact on battery life. Furthermore, this would be obnoxious when it is actually dark out. 

Option 2: Remap the brightness the way it should be.  This is possible with a custom ROM, such as Codename Android.  Codename Android's MO is to start out with all of its customizations the way they would be in stock ICS.  After that, the ROM allows you tweak lots of things, including the auto brightness mapping.  This does mean you will need to backup your phone, unlock it, root it, and install a custom ROM.  That's more than I want to get into on this blog post, but there are plenty of resources out there to get you started.

What I will offer is a brightness mapping that I have created, tested, and found to be very reasonable.   It's much simpler than the stock mapping, which has something like 20 discreet levels (which just seems like nonsense to me). 

First, you need to turn on the features of Codename Android to better manage the brightness.  Go to Settings->Interface (under CODENAME)->Automatic Backlight.  Enable the first checkbox, under "LIGHT SENSOR FILTER".  This will provide a moving average of the light level, which will help with the highly directional nature of the ambient light sensor (ideally, an actual ambient light sensor would be omnidirectional, but that's difficult to design into a device that is flat.  A better design would have a small semi-spherical protrusion, but I digress).   Change window length to 30 s.  This means that it will take 30 s before the light level perceived by the device is what the senor reports, assuming it stays the same for that long.  Until then, it will ramp up or down slowly to meet it.  Change the sample interval to 2 s, since it really doesn't need to be faster.

Next, let's edit the mapping.  Go to "Edit Other Levels..." and you will see a map of lower, upper, screen, and brightness.  This may look a little intimidating, but it's really simple.  At the very top, you can see what the sensor is actually reporting (raw), what the current average is (filtered), and what the resulting screen brightness is.  I believe "buttons" is reserved for devices that have separate backlit hardware buttons, as opposed to the onscreen ones that the Galaxy Nexus has.  We'll leave those alone. 

Push "set number of levels" and change to 7.  Now push each button for "lower" on the left side, and enter the numbers as shown above.  Then select the screen levels for each range and, again, enter the numbers as shown above.

Don't forget to push "Save and apply".  You may wish to make tweaks to the suggested levels, which you can do at anytime by coming back to this screen.  My advice is to note the sensor reading under "raw" when the screen brightness is something other than what you would prefer, and then you can modify the brightness for that range, or adjust the ranges themselves as necessary.

Now enjoy your Galaxy Nexus screen, the way everyone should have been able to from the factory!

Saturday, March 06, 2010

Do this simple mod to your OEM Droid dock, take police style car camera footage.

You see the craziest things driving down the road in Vermont. The other day I was driving over a mountain in a snow storm, and thought about how now one would believe what I was going through unless I had some video. Unfortunately, the last thing I was going to do was try to hold a camera while driving, rally-style, through heavy snow.

I glared at my Droid, perched in the perfect position to record the view out the front windshield. All I would need to do was hit the camera button, and hit record! But alas, the Droid dock has no hole in the back for the camera to see through. I vowed that day that I would take the 5 minutes to drill the stupid thing, and easily open up a whole new world of hands-free video footage.

Monday, March 03, 2008

Fix for X-Lite -> Asterisk DTMF issue

If you use X-Lite with an Asterisk system, as I do, you may notice DTMF codes sometimes don't work after the call has been placed. This results in difficulty when entering pin codes, dialing an extension on another system, etc.

Here's the quick fix inside X-Lite:

Go to menu -> Advanced System Settings -> DTMF Settings

-Change to DTMF Force Send In Band: Yes
-Change to DTMF Tone Length in Samples: 4960

Reconnect the call and try it.

Sunday, October 07, 2007

Quiet Your Rehearsal Space on the Cheap

Build your own acoustic tiles for under $100





(This post is aimed at improving a band rehearsal space, but could also apply to a home studio or home theater)

Have you ever jammed in a room that just seemed disagree with every instrument? The vocals are difficult to make out, the drums seem too loud, and you're constantly battling the sound board to keep feedback at bay. If this sounds familiar, you've probably experienced jamming in an underdamped room.

Bare walls can cause excess reverb, and lead to a host of problems- feedback, bad equalization, and other poor conditions that make it difficult to get any work done. The easy way out is to hang a crappy old rug on the walls... And while you're at it, why not break out the cheap beer and a Playstation for the full dorm room effect. However, if you want to do it with a little more style, you'll want to use 2'x4' or 2'x2' panels. While the pros will charge you upwards of $500 for such acoustic panels, you can make them yourself for about $90.

Assuming you have a carpeted (if you don't have carpet on the floor, at least put down a large rug), unfurnished 200 sq ft. room being used for general rehearsal needs, you'll need 80-100 sq. feet of coverage for general rehearsal use. This is about (10-12) 2'x4' panels.

Materials

$65 100-120 sq ft. of commercial carpet (10x12) - cheaper if you can get used or damaged carpet
$20 (16-18) 2x3" studs
$5 (100 or so) Finishing nails or brads
$5 (500 or so) staples
--------
$95

Tools:
Mitre Saw
Tape measure/pencil
Nail gun
Cushion back cutter
Carpet knife
Duck-billed napping shears (regular scissors will work)
Safety Glasses
Safety gloves

First you'll need to obtain the carpet. You can use second hand or damaged carpet if you don't care how it looks. The only stipulation is that you'll need the smallest pieces to be slightly larger than 2' x 4'. I suppose you could use other types of carpet as well. I purchased brand new commercial carpeting from Home Depot for about $65.

Making the 2'x4' frame

Using the mitre saw, cut (2) 2x3's and assemble them according to the diagram.

The crows foot pattern on the studs will give you the correct angle, as well as allowing you to make 2 cuts at a time, without having to reposition the wood. Be sure to mark these on the wood, and don't rush, so you don't reverse any angles by accident. You should be left with one extra 4' piece, which you will use for the next frame.

When you're finish, nail them together at the corners. I used an air powered finishing nailer. If you don't have one of these, you should get one. Otherwise, use glue, or buy some small L brackets ($2 a piece) and use screws. I don't recommend trying to hammer this together. The joints should look a bit like this when you are done:




Making a 2'x2' frame

You can make a 2'x2' panel the same basic way, just do all 2' sections, instead of two 2' and two 4'.

Putting the carpet on the frames

Ok, now it's time to carpet the frames. Here's the tools you'll need:

You can obtain these tools at most hardware stores. The carpet tools can sometimes be rented. If you are patient and have a helper, you could probably get away with a utility knife.

Lay the frame out on the carpet to be cut, leave about 1-1.5" of extra space around the frame near the edges of the carpet.


Cut the carpet around the frame, again 1-1.5" wider than the frame.


Next, lay the frame down, and place a couple of scrap wood pieces in the center, to keep the carpet from sagging in the center while you staple it.



Lay the carpet on top, and do your best to align it so that the extra overlaps evenly on all sides.


Put a staple on of each of the four corners. Try to pull the carpet tight as you do, to minimize sagging in the center. If you want, you can remove these staples later, for cosmetic reasons.


Now you can stand the unit up, which makes it easier to work on. Snip 45 degree angle cuts so you can fold the corners down...


And staple away. I found 2 or 3 inch spacing sufficient to keep the sides relatively flat. You will use a lot of staples.


When you get to the corners, fold them over and staple as shown.

Here is the finished product:



To hang them, I used sheetrock anchors with the screws screwed halfway in. You can then hang the tiles on the screws like a picture. This allows for adjustment and easy removal, should the need arise (cleaning, etc.)

Enjoy! Your ears, PA, and singers will thank you.

Unlocking my Gen 2 Chevy Volt over OBD: the three things I had wrong

I just got done with a marathon hacking session on my 2016 Chevy Volt. After years of trying, I finally figured out how to get my Macchina M...