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.

No comments:

Post a Comment

Recent Posts