Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts

Saturday, May 6, 2023

Used Laptop for the Hammer-88: USB Problems

     Just an update based on a simple fix for a long-standing problem.  Going way back, I originally had one very good desktop to do everything.  It's 6 or 7 years old now, and still good, but no longer great.  Over the years, some things started conflicting with others.  The usual victim was system audio.  

    This caused the biggest problem with Ableton Live Lite and M-Audio's Hammer-88 keyboard.  Sometimes the audio drivers would quit working randomly.  The  most consistent and annoying villain was when Microsoft did a Windows "update/upgrade."  EVERY SINGLE TIME.  I only know a couple of swear words, but I've used them many many times at Windows updates.

(Warning - Upcoming Rant)
    The problem could sometimes be fixed easily (usually the random occurences.)  Other times (looking at YOU, Microsoft...) it could take days or weeks to get the audio to working reliably.  Sometimes it took so long, another update would come out just days later and we'd start all over again.
    Helpful Hint:  This website provides a link to a trouble-shooter that could fix most of the audio problems in moments:
https://support.microsoft.com/en-us/windows/fix-sound-or-audio-problems-in-windows-73025246-b61c-40fb-671a-2535c7cd56c8
    Yes, I'm aware it's a microsoft link.  That doesn't make me like them any better, since it was nearly always their OS updates that triggered the problem.  Just the same, this is the first thing I try when the audio stops working.  Click the link on the page and allow the app to test for problems.
    The weird thing is, it always reports "no problem found", and starts suggesting random things to try... but actually fixes the issue, at least most of the time.  So I click the "Open Get Help" button, let it do it's thing, then close the window after it reports failure.  And that's usually all it takes.
    Other times, it's as simple as checking "Sounds", going to the PlayBack Tab, and finding that the update has totally played havoc with speaker output assignments.  For some reason, it would reassign a new random output as the default.  Sometimes it would go to a legitimate speaker, like the one built-in to the monitor.  Other times it would choose options that had no output at all.  Re-setting the correct speakers as the default option will typically fix the audio, but sometimes it has to be reassigned as the default with every reboot.  Eventually it sticks, until the next system update.
    The worst ones... the mystery issues with no reliable fix... were the worst. This is part of the reason I quit playing.  It was so consistent, there were so many times I just wanted to 'play the piano' but couldn't, I gave up for a while.
(Rant Over)

A Dedicated Laptop
    In a final attempt to solve the problem, Monique found a used laptop on an Amazon lightning sale.  It's an older HP EliteBook.  Old enough it was originally sold with Windows 7 installed.  It's running Windows 10 now, but that's pushing things.  I don't install extraneous software.  Primarily Ableton, plus CCleaner and Irfanview.  And my favorite browser, Vivaldi. 
    Ableton 10 Live Lite - dedicated to the Hammer 88.
    CCleaner for it's utility toolkit and easy system cleaning. 
    Irfanview for the times I need a screenshot. 
    Vivaldi mainly because I used to use Google Drive to swap files.
    Our working space is tight, so the keyboard is on a wall-mounted shelving system, right beside the door.  It's easy to bump the keyboard while walking past it, and I thought maybe too many impacts caused the issue.


The Ultimate Fix: A USB Hub
    Eventually I realized the problem was the USB port the keyboard was attached to.  The laptop only has 3 USB ports, one to an external audio driver (the Air/Hub, by M-Audio), one to the keyboard, and one for the mouse. Not enough to go around with one having intermittent problems.  We had a 7-port powered hub.  I tried it, but for some reason when the laptop is powered down the hub still provides power to the Hammer 88 and to the mouse.  I didn't want the keyboard to be powered up non-stop all day long.  Seems like that would wear the electronics out faster.
    For about $15.00, we found a great USB hub on Amazon, by Sabrent.  It's powered, has 4 ports, and each port has a dedicated on/off switch, with a light so you know which ones are on.
    Now the keyboard and mouse are connected through the hub.  I also keep a USB memory stick on one port, for trading files between computers.  And the fourth port, just because it was available, provides power to a VCR-to-Computer converter.  Only the ports in use are powered up.  And when the laptop is turned off, I turn off the hub ports as well.  
    Now it works great.  I can play the keyboard reliably, at any time.  And turn the peripherals on/off as needed.  It's amazing when things function like you need them to!!

    With this setup it worked most of the time, but frustratingly there were still days it didn't.  Sometimes on a reboot, the laptop would not communicate with the keyboard.  Occasionally reconnecting the cable between them, but not always.  I started worrying that after all these years of not getting to use it, maybe the keyboard was aging, connections failing, who knows. 

Wednesday, January 25, 2023

Learning on the Hammer 88 and Ableton Live Lite 10: Ableton Compatibility Problems

   After a couple of years away from using the Ableton and the Hammer 88, I'm having to learn pretty much from scratch... and never understood that much in the first place.

  All I really want to do is record my piano playing to computer, at the same time as recording a video of my hands playing the song.  I can't just record the song to video and upload to Youtube because our home has 3 dogs, and all the associated noises and distractions most homes have.

  The plan is to record MIDI via Ableton, then export it as music to a WAV file.  WAV, because it's uncompressed and can play without the inconsistencies you get in mp3.  While editing the original video, I'll overlay the WAV, sync it to the original audio, then delete the original audio track.  The finished product gives me a nice "studio" rendition of the music, removing all the 'live' household noises.  (I've done this in the past, with a Yamaha keyboard providing both MIDI, and actual Audio.)

  My problem is that Ableton Live Lite 10 is over my head, and overpowered for me.  It has a steep learning curve.  On the other hand, it came free with the Hammer 88, and can definitely do the job.  There's just so many little bits to figure out.  It took a lot of time way back when, learning all the little details of setting it up, getting actual audio to come out of the computer; making the MIDI input work, learning to record... a whole bunch of time spent just setting things up.  My desktop computer is a good one, but trying to use Ableton, edit video, play games, and "do it all on one computer", it was struggling to keep compatibility with everything.  

    And EVERY SINGLE TIME  Microsoft updated my computer, it force-switched my audio device to either produce NO audio at all, or it changed the output to a second monitor that wasn't even powered on!! 
In most cases, my games had great audio, YouTube and other audio sources had NO audio, and Ableton/Hammer88 did not work AT ALL.  I'd try to change things back, and the settings kept reverting back to the NON-working mode.

  Then it would take weeks getting all the audio on the computer to work together again, and usually Ableton was the hardest part to fix.  I only know a couple of curse-words, but I was using them both on Microsoft non-stop.

  After months of anger management issues, Monique bought me a small laptop, dedicated to ONLY running Ableton.  That solved all the audio driver issues.  I don't remember all the steps it took, nor the audio drivers and add-ons that were tried.  Eventually it all worked again.  I saved the settings as an auto-booting default every time the computer powered up.  One thing that really helped was getting an external audio driver, the M-Audio Air/Hub.  It was a reasonable price, and fixed most of the problems.

  Finding a nice "Piano" setting that I like has been difficult.  Some are great, some not, but they all struggle to reach the volume I need to hear.  I'm losing my hearing, so the volume needs to be loud.  But when it's loud enough for me to hear, the audio "redzones".  Tonight I discovered a solution.  Might not be the correct solution, but it works, and I'm satisfied.

  First, choose a piano that's naturally loud - the MiniGrand x64, with setting 16: Always Loud works for me.  It's kind of tinny, but with all the volume settings maxed, I can hear it just fine.  And yes, Ableton Master Output volume does peak over 0 decibels.  Quite often, but it doesn't bother me.  Because tonight I realized I'm not recording actual finished audio output.  I'm recording midi instructions for Ableton to store.  A simple, basic realization, but to me it was an exhilarating breakthrough.

  When the midi is finished and saved, change the piano to one that plays 'more normally'.  Something softer, with lower volume, and the output volume can be reduced until none of the loudest parts redline.
  For this, I currently like MiniGrand x64, but using setting 01: Real Piano.

  Now the audio can be exported as music (a .WAV file in my case), and won't have clipping.  I might be mistaken, but it seems like this particular piano package came with the Hammer/Ableton.  The pictures below show both the main screen and the MiniGrand x64 toolbox screen, with the MiniGrand x64 being found under "Plug-Ins".  There are some other pianos under Plug-Ins, and some more under "Instruments".  Some probably came with Ableton, others were free ones found by Googling.  Even more got deleted, because many of the free ones I found online weren't very good.

One final tip, for screen-grabbing on my HP laptop...  Hold Windows key+Shift+S to copy an image into memory.  Open a graphic program like IfranView, and paste the image onto the page (or hit Ctrl+V).  The resulting image can be saved to your hard drive.  From there, I copy the files onto a USB drive then transfer them to my main computer.  Since the laptop is ONLY for Ableton, this is a simple low-resource way to get screenshots from one computer to the other.
(I could have used Drop Box, Google Drive, email, or other online tricks, but the laptop struggles to keep up with Ableton already.  Trying to run more software just bogs it down.)
    NOTE:  I've since learned how to use Google Drive, in it's simplest browser version.  It's made transferring files a lot easier.)

This is a pretty boring post, but it's exciting news to me.  It has the added advantage of acting as a guide for myself in the future.  Just in case I forget.  :^)

Recent Posts