Showing posts with label Ableton. Show all posts
Showing posts with label Ableton. 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. 

Friday, April 28, 2023

The Technical Side of Grace Notes: Midi and the Missing Sheet Music

     Still celebrating the first brand new posting of my own piano arrangement (Stepping On The Clouds).  Part One of this "Technical Side of Grace Notes" article dealt with how I learn a new song and the process of creating the finished video and blog post.  Today we'll finish with getting the Midi file on Blogger, and acknowledging the missing sheet music.  Then, I'll have a solid reminder against the future and my failing memory.  :^)

    In the previous post, I explained how to save all three elements from Ableton.  The full SET, so I can always re-create the Midi and .wav files.  Just in case.  Plus, of course, the actual Midi and .wav files.  We already applied the .wav file to the video, for a clean audio track with no ambient noise.

    The Midi file I do for it's own sake, for those readers who want it.  Either just to play with Midi on their own setup, or to use Midi as a controllable process for learning how to play my arrangements.  If you downloaded the Midi in order to learn the song, I strongly recommend using Midiano.com as a teaching tool.  It plays my music more "true" than just about anything out there.  It has a visual keyboard you can watch to see the notes as they fall, and the ability to slow down the playback for easier learning.  Plus many other options.

    Not that I have any illusions about my skill level.  There are a ton of musicians on YouTube that put me to shame.  But as my Mom said, there are also plenty of people who are at the perfect level to learn and appreciate what I can offer.  So I don't let all those better players prevent me from putting my two cents in!  

    I'd call my complexity level simple to middling.  There are at least three sites out there that link to my playing as the ideal way to play a specific song.  One of them is even using my sheet music AND my video (it was for Amazing Grace). 
    They were kind enough to give full credit, and to rate the complexity at "Intermediate".  That's higher than I'd expect, and it's very kind of them to share my music.  It validates Mom's advice.

    The real struggle with the Midi wasn't in creating the file, but in getting it onto Blogger in a way that's easy for readers to download.  On the original Grace Notes, I was paying a... large percentage of income... to have a dedicated site to use Wordpress, which I loved.  It had a lot more versatility than Blogger.  But hosting the site got drastically more expensive every single year.  Now I use Google Blogger.  Blogger itself is free.  And a basic Google Workspace is only $12.00 per month.  I still have my custom url, Crewman6.com, and that's a low once-a-year fee.  

    To get to the point, Wordpress offers many options, and you can easily attach just about ANY kind of file for download. Blogger, oddly, only offers Video, Images, or links to other web pages.  Having other filetypes, like Midi, requires a workaround. So here's the gist of it:

    Put the Midi file in your Google Drive, give access to anybody with the link, and copy the link.  Then go to Google Drive Direct Link Generator.  Follow the instructions there to paste your link, then create a direct download link to your Google Drive file.  This is extremely important.  If you try to link to the URL generated by Google Drive, it will open an entirely new webpage, loading it in OVER your blog post.  Then it will attempt to play the midi file in your browser.  Then it will tell you the browser can't play that file, and offer to let you download the file.  THEN you can finally select to download the file.

    That's a huge pain, and the reader winds up on a completely different page, no longer on your post.  Using Google Drive Direct Link Generator is awesome, and free.  It lets you put the modified link on any text or image in your Blogger post, and anybody who clicks the link will be able to simply download the file.  I like choosing where to save downloaded files, so use the "Save As" option.  You might have your downloads default to a single directory for all downloads.  Either is fine.  The point is, the viewer easily downloads the file, without disrupting their reading.  

    Next up, those missing sheet music pages.  On the old Grace Notes blog, I used MidiSheetMusic to both play, and generate sheet music.  It did a great job, but is outdated now and doesn't work with any Midi generated by Ableton.  (Resaving from another Midi player doesn't help either.)  Now I'm in the process of finding another program that can convert Midi to Sheet music, and allow me to make image files of the sheet music.  Originally, those images were saved into .pdf files and uploaded to the blog for anybody that wanted to download.  That's still the plan, but it's been difficult to find software that does exactly what I need.

    I thought I'd solved the problem with MuseScore, which is free to download, converts Midi to sheet music, and allows printing.  Unfortunately, my play-by-ear style seems to confuse Musescore, and when it plays the music back, it completely messes up the order of notes.  Especially if they're played very close together to accentuate the melody.  You know... kind of like a "Grace Note"...  

    Not sure why it struggles with that, because it's sleek and sophisticated software that I like a lot.  Unfortunately, it's not the only one that struggles with my midi.  So far the rule is, if it understands my playing properly, it either offers no sheet music generation, or the function is only available with purchase of the full software.  All the free players that generate printable sheet music have been unable to play the files correctly.

    My favorite, Midiano, plays my stuff perfectly, but as of yet, has no option to create sheet music.  That's not really what Midiano's about, anyway.  My second favorite is a paid software called Notation Musician.  They have a free version, so I KNOW it can play my music perfectly, exactly as intended.  They also generate sheet music.  But the free version does not allow print output.  Yes, I could do screengrabs page by page, but I want to do this the right way.  I'll save up until I can buy the software properly.

    That said, it's $90.00 to purchase, and our budget is very finely balanced to buy food, fuel, pay insurance and taxes.  There's not a lot of leeway for fun things that don't 'earn their keep' monetarily.  So it may take a while to buy Notation Musician.  When I do, I'll go back to any posts as needed and add sheet music downloads.  For now, you're welcome to convert my Midi into sheet music in any way that works for you.  Again, I recommend Midiano.  It's an amazing learning tool, and one of the few players that interprets my playing exactly as intended.

And that's where I'm at, in terms of continuing on Grace Notes.  The last two 'technical' posts were intended to act as memory storage, in case I forget how to do these steps, but I published them just in case any of it might be useful to someone else.  If anybody other than my wife or my mom read these last two posts in their entirety, I'll be totally amazed.  :^D


Wednesday, April 26, 2023

The Technical Side of Grace Notes: Creating the Video and Sharing the Midi Files

     Yesterday marked a huge milestone here.  I finally posted my first brand new page of my own arrangement on piano, with a downloadable midi file of the piano arrangement.  It's been months in the process, learning and relearning all the associated elements. Writing this post is both a celebration... and my crib notes on the general process, in case I forget how to do it all again.  :^)

    I use M-Audio's Hammer 88 to play the songs.  I'm a strictly 'play-it-by-ear' type, so there's no music notation, no hours scribbling my music on notes.  Just sounding out different ways of playing, trying alternatives, and bit by bit designing an arrangement that appeals.  Once the idea is in my head, the hard part is memorizing that arrangement, and practicing until I can play the song (nearly) perfectly.  

    I'm in my 60's, and Covid really messed up my focus and comprehension.  It literally took 3 months to be ready to record.  Then stage fright kicks in.  Hours of playing/recording on Sunday.  More hours on Monday.  Tuesday I sat down, did a practice run-through, and the second attempt was as close to perfect as I'll probably ever get.  So that's the video you see.  (The song in this case is "Stepping On The Clouds.")

   Ableton Live Lite 10 came free with the Hammer 88.  So that's how I play and record the music.  Nothing fancy.  Once Ableton was installed and working, and a few technical set-up issues resolved, it was ready.  To record, I click the round "Record" button, start playing.  When I make a mistake, click "Stop", then "Play", then "Stop".  From trial and error, this activates a blue bar on the midi recording track, which I can then click to make Ableton's notation window pop open.  Click anywhere on the notation (inside the window that just popped up).  Select All (hold down CTRL and type "A".)

    Then I hit the DEL key, and for good measure, also hit the Backspace key.  Now it's a clean slate again.  Click the "Record" button again, and start playing.  Once the whole song is recorded satisfactorily, stop the recording, open the notation window and select All again.  
        {Without selecting ALL, the EXPORT features stay grayed out and don't activate.}

Then, under the FILE dropdown menu, first save the entire process as an Ableton Set (.als file).  Next, still on the File Menu, select EXPORT Midi, and save the midi version of the song.  Lastly, STILL on the File Menu, select EXPORT Audio.  I like to save the file in a ".wav" file format.  Mp3 is more popular, but Wav plays back at a constant speed.  It's not compressed so you can reliably count on the bitrate being stable.  I set it at 44000, 32-bit, and select "Normalize."  It's best if you first set your audio levels to not go over 0 decibels.  If the audio levels go into the red zone, it's set too loud.

    If it's time to record the video as well, I like to start recording, and keep playing even when I make mistakes and have to start over. (Tripod tip: Make sure you're pointing at the piano and frame the image as nicely as you can.  Don't forget to remove unsightly elements like the trash can under the keyboard...)
So, don't stop recording the video.  Keep recording nonstop, through every attempt.  There's a clear visual cue because every restart, the Ableton track needs to be stopped and reset before starting to play again.  When a good recording is achieved, upload the video to your computer.  To find the beginning in-point when editing, start at the end of the video, and scrub backwards until you come to the starting point of your perfect rendition.  Delete all the 'bad' footage in front of that, trim the end a bit if needed, to get your perfect video ready for audio.

    I use HitFilm Express to edit.  It's a free video editor, does a good job, and was easy to learn the bare minimum to create these videos.  Having already imported the video and trimmed it to just the 'good' part, now IMPORT the .wav file.  Drag it to the track just underneath the video.  You should see the video track, including the audio that recorded on the video track, PLUS the .wav audio file you just dragged under the video.

    Make sure both audio tracks are active.  Play the video, and see how close the two audio tracks are to playing in sync.  Make note of how close, which one starts first, then DRAG the .wav left or right to align with the video's audio track.  It's like lip syncing.  You may have to expand the visible track range, to give finer control over how much you move left or right.

    Do this until the Video audio track and the .wav audio are perfectly matching.  Then UNCHECK the video audio.  It's a little speaker symbol on the left.  Play the video again.  Now only the .wav audio track should be playing, and it should be perfectly synced with the fingers moving as they play the piano.
NOTE: if the .wav needs to move farther left than the video track will allow, select all and drag everything to the right to give yourself a bit of working room.

    Once the video and .wav are synced and the original video audio turned off, trim the ends again if needed. If both tracks aren't fully left-justified to the 0:00 starting point, select All and drag them to the 0:00 time marker.  Export the video as an mp4 file on your hard drive, and upload the video to YouTube.  On Blogger, it's easy to click the video button and select your YouTube video for insertion on the blog post.

I treat the audio this way to clean the original video-recorded audio.  Audio recorded directly in your video (I use my cell phone) is fuzzy, and picks up all the ambient noise.  Dogs barking, phones ringing, people talking... the .wav created from Ableton is crisp, clear, and clean of ambient noise.  It's like you recorded in a studio, with proper microphones.

This is a good stopping point.  I'll finish up in the next post.  We'll take a look at getting Midi onto Blogger in a way that's easily downloadable.

Friday, April 14, 2023

New Old Sennheiser RS 120 Wireless Headphone

     Got a little off track here, but the most amazing thing happened today, and needed to be shared.  I'm ... sort of... hard of hearing.  Hearing aids are beyond the family budget, so it's a matter doing the best you can with what you've got.  I tell my friends and coworkers, there's a 3-repeat limit.  I'll ask you to repeat something twice.  If it's still just garbled static, I pretend I heard and move on.  Yes, it causes problems, but asking for repeats gets old, and 3 times is my limit.

    With that in mind, I've struggled with my Hammer 88 and the audio volume on Ableton.  If it's  loud enough for me to hear, it pegs way over 0 decibels.  Lot of red zone, overpowers the speakers, sounds like static when I play it back as WAV.  You'll see on older posts, I've gone through a few hoops trying to find work-arounds.  The best solution so far was to play very loud while recording, save it as an Ableton set.  Then swap to a quieter instrument for export.  Usually MiniGrand x64 #16, Loud, then #01 Real Piano, for the softer tones.

    Also, last night I started using normalize when exporting audio.  It seems to do just as good a job, without jumping through the hoops.  That might sound simple, but I bought the M-Audio Hammer 88 just to have a digital piano. I play a song, record it live, and output Midi/Wav to share my music online.  The Hammer came with Ableton Live Lite 10.  That's sort of like asking for a match and getting a doomsday bomb.  Way over my head, and overpowered for my purposes.  So stuff like using normalize when exporting?  I don't know enough to even understand what question to ask, until something triggers an inspiration.  Then it's like Christmas!

    But... it came FREE with the keyboard.  I like free, and was willing to learn as needed to achieve the goal.  The Hammer 88 was about half the price of my broken Yamaha DG-640 Digital Grand.  Loved that Yamaha but it wore out, and repairing it was expensive. With no guarantees it would keep working.  So here I am, with the Hammer, learning how to do things as they come up.  At times I'd whine about "just wanting to play my piano..."  Ignore the whining.  I do the same thing about blogging.  There's a lot to learn about the modern blogging landscape.  (Like "consent cookies...")  At my age, learning isn't as easy as it used to be.

    Anyway - back to the hearing problem.  My old headphones were cheap, but nice enough.  But they're so old, the leatherette is falling off every time I pick them up.  And it doesn't just fall to the floor in pieces.  When I try to pick them up, they crumble into dust that leaves a mark like fireplace soot.  I have another old pair, still in the blister pack.  (Yes, it's another $20 headphone.)  Used them yesterday, and it was okay.  Just as good as the old ones, but without the disintegrating leatherette.  Monique saw me messing with them, and tinkering with ways to increase audio.  She's also seen me get the wires tangled, forget I was wearing them and walk away from the computer, and generally being a klutz.  She also remembered another pair of headphones.

    More than a decade ago, for a birthday gift, I gave her a wireless headphone set.  She liked watching tv while using the treadmill, and had expressed a desire for something wireless to listen on.  In those days, we were ridiculously extravagant, and the credit cards were like our own private printing press.  So I found some that had nice reviews.  Not sure if memory serves, but I THINK they were around $180.  They never worked quite right for her, maybe there was too much interference in that room, but they were put away and forgotten.  Monique found them again recently while doing a major cleanup in our storage room.  (Translation: eBay selling, model-building, upright freezer, and junk room.)

    She brought them out last night, tested them on her computer, then offered them to me.  The advantages were tremendous, but I live a cluttered life.  After years of building my "mission control" area, I couldn't figure out a place to put the base.  Seriously, no place left that wasn't stacked to the max.  I said "No thank you" regretfully.  This morning, I revised some priorities, got rid of a couple of things I don't really use any more, and... "appropriated" the headphones back.

    Here's the exciting part- after recharging them, and fine-tuning the channel, I tentatively played a song on the Hammer.  AND HEARD IT AS CLEAR AS A BELL!  Not only that, but there's a volume control on one side.  It was set somewhere in the middle.  When I cranked it up, it was actually much too loud.  Finally, finally, finally, I can hear what I'm playing, the way it should be heard, and not have to jump through hoops to correct the final output.  

    I also tested a YouTube video, and understood what they were saying... without subtitles!!  This decade-old Sennheiser RS 120 Wireless is not even available on Amazon any more.  They have an upgraded model now, and it's something like half the price I paid for these.  Don't care.  This is beyond amazing.  These are just fine, thank you very much.  Don't need an upgrade.  Did I mention I like FREE?  Maybe it wasn't free, but after so many years forgotten in a box, and "re-finding" it at a time I really needed the boost, it felt like a free gift.

    More than a gift, it was encouragement at a time I've been struggling.  I have a new song I want to record, and after two months of practicing, have only had 3 perfect practices.  None of them on video, of course.  It's been discouraging, to put it mildly. Being able to hear myself play is revitalizing.  It's brought joy back to my playing, and restored my hopes of being able to record this song soon.  

NOTE: I deliberately didn't add links to Amazon. I'm not trying to sell anything here.  You want to look for yourself, you'll have to Google it on your own.  I found mine on Amazon, but am sure you can find hundreds of retailers selling much the same thing.  I just wanted to express my happiness in being able to hear the music while playing.  :^)

Thursday, March 2, 2023

Midiano: Free Interactive Piano-App in your Browser!

     Yesterday I posted a little bit about the search for a "Midi Sheet Music" replacer.  Today, I want to go into more detail about the results of my search.  MuseScore 4, is my new favorite for printing out sheet music.  It's one narrow band of my search for a full-featured replacement.

    The real gem was in stumbling across midiano.com.  The homepage gives you two options; you can click "Start", and jump right into things, or click "About", and get an overview of the project in general.   This is the ONLY viable replacement for Midi Sheet Music (MSM).  There's nothing out there, at least not for free, that comes even close.  But where MSM is dated, hasn't been updated in years, and is no longer capable of loading all my MIDI files... Midiano goes the distance, and it does so with style.

To quote from the website:
  • Midiano is an interactive Piano-learning app that runs on any device with a modern browser.
  • Open any MIDI-File and Midiano shows you the notes as falling bars over a piano as well as the corresponding sheet music.
  • Connect a MIDI-Keyboard to get instant feedback if you hit the correct notes.
  • You can also use the keyboard as output device to play the MIDI-Files on your keyboard.
    It runs on any browser (and device) that supports the WebAudioAPI (Full support apart from Internet Explorer).
To connect a MIDI-Keyboard the browser also needs to support the WebMIDIAPI (Currently only Chrome and Edge).
    Midiano played my songs correctly.  More accurately, it played them the way I play them.  I'm not a trained pianist.  I'm a guy who plays by ear, is middling-good, and loves southern gospel style.  

    The song I play goes into Ableton in a single non-stop recording, while recording video at the same time.  If I mess up, I start over.  Once it's good enough, the audio and midi are output with no editing.  Then the audio is synchronized over the video, and the video's original audio is deleted.  The result is a nice video of me playing the song, minus the dogs barking, doorbells ringing, voices, neighborhood traffic...  

I'M A MIDIOT
    The MIDI file I create doesn't have a treble and base.  No separation for which hand plays which notes.  I don't read sheet music myself, and certainly can't write my own notation.  Midi Sheet Music used to be my go to for converting the midi files into notation that plays across the screen with the midi file.  Having found Midiano, I'll be using it from now on.  This is where it all comes together for people who want to learn to play my arrangements.  I record a video as the midi file is playing, slow once, then full speed.  It shows the notation, and the piano keys, as they play across the screen.  

    To make it more helpful, I include the midi files, plus a .pdf of the sheet music, on this blog.  All free.  
And all thanks to Midiano for making it possible again.  And for everybody who downloads my midi files, they can use Midiano to make learning the arrangements even easier.  You can easily slow down or speed up the playback. Pause, try a segment, back up and try again...  Midiano's far better than just watching a "how to" video, and I play to include a link to Midiano on every page that has a downloadable Midi file.

    Some day I'll see about using Adsense.  Maintaining this blog, a custom URL, and Google Office, costs about $12.95 a month.  If at some point my blog can become self-supporting, that would be the cat's pajamas.  Until then, at least it's affordable.  (You should have seen my BlueHost fees...)

I THOUGHT MY ORIGINAL SITE WAS GONE FOREVER
    Grace Notes, my original site, was online for over a decade.  I couldn't learn new songs fast enough to make it a profitable business, but occasionally someone treated me to a cup of coffee.  Sometimes even a banana split.  But the hosting fees were ridiculous, hundreds of dollars a year, for a site that never paid for itself.  So I gave it up.  We couldn't afford that kind of money just for fun.  
    
    Could have sworn I backed it up first, but mistakes were made...  and I thought it was gone forever.  Until recently when Monique found a mostly complete mirror of my site on "Wayback Machine."  Now I have access to many of the pages that were gone.
    I'm backing all the pages up that they saved.  Not everything was there, but a lot.  They saved nearly 100 pages of the original Grace Notes.  Now I've restarted Grace Notes in this new venue.  Writing new things, working on new music, but also plan to recreate every missing page I can.  Eventually all the midi files and sheet music will once again be available, for free download.

MIDIANO - ELEGANT, BRILLIANT, AND FREE
    Getting back to the point, there's a lot of 'step by step' processes needed to make this vision work.  Midiano is a HUGE step toward rebuilding my dream.  It's going to take years, but I see the path ahead now, and it's getting clearer ever day.

    To make it even better, it's available as a Progressive Web App!  I didn't know what that was, or how to set it up so I sent an email to the guy who wrote Midiano (He doesn't have his name on his website; for the sake of privacy, I won't use it here, either).  Within 24 hours, he sent a very nice email, with a link to instructions for my specific browser (I use Vivaldi).  And some general information to help me understand.  And an offer to help more, if that wasn't enough.  How neat is that?  
    
The instructions were beautifully simple.  Three easy steps and now I can work on Midiano any time, online or offline.  I'm immensely grateful!!

If you're looking for a learning tool that plays any MIDI file, creates sheet music notation, shows a piano keyboard, and shows them both in real-time, playing as the midi file is playing... you can't do any better than Midiano.  Go check out his site.  There's nothing to buy.  It's just a really cool utility, written by one of the nicest geniuses I've ever met.  :^)

Wednesday, March 1, 2023

Midi Sheet Music Stopped Working - Searching for Alternatives

     I'm barely scraping the surface with Ableton Live 10 Lite.  Recently I learned how to export Midi files.  At least, it worked that time.  Now, it's not working again.
    To be more specific, it IS creating a midi file, but my old standby, Midi Sheet Music, can't load the file.  Can't tell what's different, if the song is longer, more complex, has non-standard play-styles... 

    Backing up a bit, I've used Midi Sheet Music (MSM) for years.  The sound is a bit cheesy and the graphics plain, but it's the ONLY stand-alone program I've ever found that:

    A. Creates Sheet Music from Midi files
    B.  Allows you to print the sheet music
    C. Plays the midi file while scrolling the sheet music.
    D. At the same time, also has a piano keyboard onscreen that shows the notes being played.

    It does it all.  I play by ear, creating a midi file while playing.  Load this midi file into MSM, hit "Play", and it's perfect for someone trying to learn the song.  They can follow along at their own pace, watching the sheet music, and/or the piano, as the song plays visually on both.  If I record a video and upload it to Youtube, the viewer can learn to play it in the same fashion I play.  (Southern Gospel... I'm okay, not great, but my songs have a "Floyd Cramer" feel, and MSM let me share my style with people who have the same taste in music.)
    If the person downloads my MIDI file, and downloads Midi Sheet Music, they can practice playing and adjust the pace as slow or fast as they want.  Except that it's no longer working for me.  When I save a Midi file, and load it into MSM, the result is a lot of gibberish that basically says there's an error in the file and it can't play.

    Maybe the problem is just with this one song, some glitch in the file?  Assuming exactly that, I hit Google up for help.  Nothing solved the problem.  Next I tried to find substitutes.  There were a heap of almost-rans.  Surprisingly, they were all able to import and play my midi file.  I guess that means MSM is seriously outdated.  Some did better than others.  Several would have been excellent, except they couldn't incorporate the sustain pedal.  Others played perfectly, including use of the sustain pedal.

     MuseScore 4 solved the problem of sheet music.  It will output sheets as .pdf files, perfect for letting people download if all they need is the notation.  I'm not certain how good a job it does, since I don't read sheet music.  I can figure out enough of it to feel like it gets the gist of the song, but have always heard midi to sheet music translations can be innacurate. 
    The fine details don't bother me.  Anybody who knows Southern Gospel should be able to figure out the rhythm on their own.  :^)
As long as it gets the notes well enough for people to figure it out, it's good enough.

    MuseScore 4 flopped, though, when it comes to playing midi files.  It was one of those that couldn't hold the sustain.  Couldn't find any way to fix it, so every MIDI I imported into MuseScore plays in a bad-sounding staccato sound.  Not just bad, but horrible.  I never found any free software better at outputting sheet music though, so this is my go-to for people who sight-read their music.

    The big winner was an online-only solution at Midiano.com.  I dearly wish it could be downloaded to use off-line.  It's supposed to be possible, but I don't know enough to understand how to do it.  I've emailed the programmer, hope he's able and willing to help.  Anyway, Midiano does it all.  Not quite like Midi Sheet Music, but it's actually an improvement.  The piano option wasn't immediately visible, but it's there, and can be selected in the "View" options.  Lastly, it comes with a HUGE amount of choices.  You can adjust nearly every possible option.  With a bit of tinkering in the options, it does exactly what I needed.

    Midiano was by far and away the best result from two evenings worth of hunting.  It's miles and miles ahead of anything similar.  Plus, it looks fantastic.  Best of all, you get all that for free!  Not sure how he supports his website, but the least I can do is let people know how fantastic Midiano is.



   

Sunday, February 5, 2023

Ableton Live 10 Lite Export Midi Clip Grayed Out

 Ran into a new snag, and solved it, both on the same day.  That's rare enough, but in this case, after failing to find a fix with Google, I solved it accidentally.

While going through Google, found some solutions, but they must have been obsolete.  The same context menus on my window didn't have the same options.  It sort of made sense that maybe the midi track needed to be selected, but none of the section's I tried to select made a difference.  I was mainly trying to select by right-click, and then looking for the export midi option.  The context menu never changed.  The "File" menu drop-down offered "Export Midi Clip", but it was grayed out.  

Skipping a lot of in-between steps, at one point my finger twitched, the mouse happened to be gliding over the exact right location, and the entire midi track showed up on the bottom row.  After the track is visible, the main "File" dropdown menu shows"Export Midi Clip" in dark text, no longer greyed out.  I tried saving a midi file, and it worked perfectly.

So here's what's been working for me:  I play from the Hammer 88, and record in Ableton.  Or, load a "Live Set" from the hard drive.  Then I play the melody.  Not long, just enough to hear and confirm it's there.  THEN, on the column with your active voice (in my case, the MiniGrand_64), left click on the row with a "square" symbol (See images).  The song track will show up at the bottom, with the red squiggly line.  Now, you can select the drop-down menu "File", and Export to Midi will no longer be grayed out.  I'm not sure if you should select the entire track (CTRL-A) before exporting, it seems to work whether you do or not.  But it's possible selecting only a portion of the track will only export that portion as a midi file.


And... Google Drive

Kind of a side-issue here, but as long as I'm keeping a journal of my learning experiences, I finally figured out Google Drive.  It was stupidly easy, once I quit trying to overcomplicate things.

Due to audio conflicts on my desktop computer - Youtube, several games, Ableton, Windows 10 didn't want to share resources - I wound up getting a small laptop computer that was dedicated to running Ableton.  (Yay for Amazon Lightning Deals on used computers!)  While that pretty much solved the ongoing battle with audio drivers and hardware settings, it meant file transfers between computers took an extra step.  Tonight it finally hit me, no need to do anything fancy.  Don't have to 'install' anything stand-alone.  Just log in on a browser and drag files into Drive.  

Can't believe all that time I've been using USB sticks.  

Saturday, February 4, 2023

Grace Notes - Restoring A Lost Website

 So far, these updates have been more 'talk' than 'update'.  I write them for people to read if they want, but mainly to help me not lose the memories.  Eventually I'll start building the "real" pages, with the music.  For now,  just documenting the process so the memory won't be lost.  Between getting older, and losing a great deal of cognition and memory from Covid, forgetting everything important is a huge fear of mine.  So this is something of a journal for me, as well as a record of progress on the blog.

Even back in 2011, when "Grace Notes" was still just wishful thinking, one of it's main purposes was to exercise my memory.  Playing an instrument, learning new songs to play, are supposed to be good for memory.  Making a blog about it felt like a natural extension of the plan.  

After about 10 years, I let the project drop.  It was taking drastically more effort and more time, to learn new songs and arrangements.  Meanwhile, the hosting cost kept shamelessly rising year by year, until I got discouraged and quit.  Eventually funding the hosting company became money I couldn't afford to spend, on a project that never really earned it's keep.  The backup copy made before shutting the site down... disappeared.  The website was gone, all the research and writing was gone.  Recreating the site without the writing, or even my notes, felt like too much of a time sink.

In the middle of all that, my digital grand, the Yamaha DG-640, bit the dust.  Not all at once, but key by key, until it was unusable.  Talked to a repair tech, who told me that the control boards on Yamaha digital grands went brittle after a few years.  Repairs are pointless, because they won't stay repaired.  He convinced me it was cheaper to replace the keyboard.  That's still a lot of money, and it took a while, but now I'm using an M-Audio Hammer 88.  Not really a digital piano, it's more accurately a Midi controller.  It came with Ableton Live 10 Lite.

There were a lot of road blocks along the way, but everything is finally converging.  It took, among other things, getting a dedicated laptop computer to run Ableton.  It also took a lot of time learning a bare minimum to use Ableton.  It was too much complexity for my needs.  Finally everything is working right, and I know exactly how to get my playing from keyboard to Youtube.

Additionally, Monique recently discovered a partial backup of Grace Notes, on the Wayback Machine. It's not complete, but at least I have access to a huge amount of the original site.  I'm nearly done backing all of those pages up onto a hard drive.  Once that's done, there's only one major hurdle left... Adsense.

As best I can tell, my Adsense account is still active.  I'd like to eventually use it on this blog, but google hates plagiarism.  Even when I'm re-creating my own website, with my own original writing.  There doesn't seem to be a sure-fire safe way to put my old pages on this new blog, without being penalized.  The only option is to re-write everything, with enough changes to count as completely original work.

At least now, I have the original text.  Still time-consuming but better than re-writing it blindly, not knowing if it's different enough.  When I've backed up all the pages that WayBack archived, I'll start bringing back the old(new) pages.

Additionally, I'd like to create and record new arrangements, moving forward with brand new content.  That's the part I'm excited about.  Having fewer "progress reports", and more focus on real content.  Fingers crossed, it won't be long now!!

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.  :^)

Monday, January 9, 2023

These Wonderful Broken Years part II (the short-short music clip)

 Yesterday I woke up with an unusually detailed and vivid dream stuck in my head.  Aside from the general dream, there was a Victrola with wood-grained sides, off-white surface, and vividly shiny brass horn/amplifier.  There was one line of music that was crystal clear; I heard orchestral music with wind and stringed instruments, 3 female voices singing the words in gorgeous harmony, the words "These wonderful broken years, wonderful broken years, these wonderful broken years."  It was the ending line of a song I'd never heard before, and when I got up, could not find the song existing online.  

Having such a short track made me curious in the dream, so I picked up the album and examined it.  Most of the tracks were of normal width, but that last track had a very small grooved section.  The record label wasn't entirely clear, but had the song title, "These Wonderful Broken Years".  The title was in an elegant cursive script, and I could clearly read it in the dream.  When I woke, I still had the vision of the album and the melody of that final line in my memory.

After writing the (much longer) blog about the dream, I spent most of yesterday trying to get that track into mp3 form on my computer.  It took hours, because I've had a Hammer 88 for a couple of years, along with Ableton Live 10 Lite, but only learned enough back then to play live piano.  Then I set the whole thing aside for over a year, and only recently felt inspired to get it all running again.  Even the little I used to know was long gone, and the day was a long learning session.

The most frustrating part was exporting the saved melody from Ableton.  Since the input method was MIDI, I thought the export method had to be MIDI.  It took an embarrassingly long time to realize the output was not MIDI, but the other option.  I don't have that computer running at the moment, but I think it was titled "Audio", or "Song"... something like that, but NOT MIDI.

After all that, here's the musical phrase in mp3 format, repeated 3 times, for a total file length of 28 seconds.  Really short. The record album in the video is pretty close to how I saw it in my dream, including the cursive font... but it seemed larger and easier to read in the dream.
     It also has Southern Gospel/Country & Western leanings.  That's my fault - I play by ear, and this is how I play.  In the dream, it was a much purer orchestral music, like Lawrence Welk would have played... These Wonderful Broken Years



Recent Posts