Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Articles & Resources

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2004, 03:00 PM
Ed Hansberry
Contributing Editor Emeritus
Ed Hansberry's Avatar
Join Date: Aug 2006
Posts: 8,228
Default Gapless Music Playback On Your Pocket PC

If you don't know what gapless playback is then you probably don't have any CDs that require it. There are some CDs and genres of music that require it. Basically, the CD is one long track but it is divided into several "songs." There is no break between them though and you really can't listen to them in any order other than how they were put on the CD. The track listing may be for convenience, but it really isn't necessary. You can read more on gapless playback here if you want to get more technical about it.



When Windows Media Player on your desktop, as well as most ripping programs, rips the CD, it creates a separate WMA, or MP3, file for each song. On your desktop, this isn't a problem as WMP supports gap-less playback. You won't be able to tell when it moves from one track to the next. Your Pocket PC is a different matter. There is a light pause between songs, something that you can't tell 99% of the time since each song on most CDs stands on its own. When playing back these continuous CDs though, the gap is unnerving to say the least and can totally ruin the CD for you.

So I am going to show you how to create a gapless WMA file using software included on every Windows XP machine sold. For my example, I will be using Windows XP, Windows Media Player 9 (also works with the newer WMP10) and Windows Movie Maker 2. The latter two are available as free upgrades for Windows XP from Microsoft's Windows Update site in the "Windows XP" section, right below the "Critical Updates" section. I understand that there may be third party alternatives for doing this and I recommend you investigate those if you will do a lot of this. I currently have two CDs I am interested in doing this for and installing extra software for something I will hopefully only do once for each of these two CDs seems like overkill.

First, rip your CD. I recommend re-ripping it for this even if you already have it on your hard drive, but turn up the copying bitrate to the new "Windows Media Audio Lossless" format, which will require up to 500MB per CD. Some of you may already be using a lossless format for your PC audio needs. If so, you can start with files already on your hard drive.


Figure 1: Rip your music at the highest bitrate possible. This is in the Tools|Options dialog box in Windows Media Player.

The reason you need to do this is your music will get downsized at least one more time before it makes it to your Pocket PC, maybe twice, so the higher you start with, the better. Also note I have disabled the "Copy protect music" box, also known as "Check me and you'll hate it because sometime down the road the music you rip will be unplayable" box. If this is copy protected with a DRM license file, you may not be able to continue. Finally, pay attention to the folder this is going to be stored in. You'll need to know that in a few minutes. Windows Media Player generally records it in the folder listed in Figure 1, then in a subfolder with the artist's name, then the CD name, then the tracks below that. I am going to do this with David & Diane Arkenstone's "Echos of Egypt" CD, so my music will ultimately be in E:\My Music\Diane & David Arkenstone\Echoes of Egypt.

Now that you have ripped this music, you are ready to concatenate it, or make it one long track. Start Windows Movie Maker 2. Select the "Import audio or music" link, as shown in Figure 2.


Figure 2: Import your newly ripped music into Windows Movie Maker.

Next, navigate to the folder your CD was ripped to and select all of the songs then press the "Import" button.


Figure 3: Selecting the songs to import.

Once they are imported, you should be looking at a window similar to Figure 4. It shouldn't take but a few seconds to import an hour's worth of music. This CD only has 5 tracks total, each 10-15 minutes long. You may have more.


Figure 4: Your music files in Windows Movie Maker 2.

Now, click and drag all of the music down to the timeline in Windows Movie Maker to the Audio/Music row. You may need to click the "Show Timeline" button mid-way down the screen if the Storyboard is being shown.


Figure 5: Joining your files

You can drag them around in the timeline to make sure they are in the right order. Now you are ready to create your single WMA file. Be very careful that they don't overlap at all in the timeline or you'll get an ad hoc crossfade. Select File|Save Movie File in Windows Movie Maker 2, select My Computer and click Next. Name the file and select the folder you want to save it in. I just leave it in the My Videos folder. I am going to delete it later anyway.


Figure 6: Saving the "movie" file - it will really be a WMA audio file.

Select the "Best Fit To File Size" option. WMM2 will automatically pick the biggest file size it is capable of generating. Selecting any other choices will cause the file to be smaller, which may not be desirable. When Windows Movie Maker is done making the file, check the "Play movie when I click finish" box and press the "Finish" button. You will now be able to listen to the long single file in Windows Media Player.

Now you are ready to transfer the CD to your Pocket PC. If you are ok with the larger file and your ears are more discerning, you can manually copy the file over to your Pocket PC at this point. If you need to save some space or if you are like me and ok with 64kb-128kb bitrates, you can dock your Pocket PC and let Windows Media Player shrink the file for you. Select Tools|Options to get the Options dialog box shown in figure 6 below.


Figure 7: Configuring Windows Media Player to transcode your file to a smaller format for your Pocket PC.

Now simply let Windows Media Player transfer the file to your Pocket PC. It will first go through a transcoding process and then will do the actual file transfer. Be patient as it is a huge file and will take even the fastest PC a few minutes to convert.

That's all there is to it! Hopefully in the future Microsoft will allow for true gapless playback in the Pocket PC version of Windows Media Player which will eliminate the need for these steps. One benefit to this though is the playlist is simple - one file. There is no need to worry about getting the songs in the wrong order.
__________________
text sig
 
Reply With Quote
  #2  
Old 10-04-2004, 03:22 PM
Darius Wey
Developer & Designer, News Editor Emeritus
Darius Wey's Avatar
Join Date: Aug 2006
Posts: 12,959

Nice guide. There are a lot of other programs out there that do this kind of thing though.

I agree with you. I really hope there will be true gapless music playback in the near future, and we will not have to rely on one file to give us what we want. I hope WMP10 (PPC) shows promise. *Still Dreaming*
__________________
Want the latest news, views, rants and raves? Visit our portal. Wish to contact me? Send me a private message or e-mail.
 
Reply With Quote
  #3  
Old 10-04-2004, 05:07 PM
dmy
Intellectual
Join Date: Mar 2004
Posts: 130

So much work for gapless playback...... wow.

Also, using a "lossless" compression that is "mathmatically lossless" isn't really lossless... you will lose something somewhere.

Can I suggest a couple of alternatives??

Easy CD-DA Extractor: http://www.poikosoft.com/
Not free, but will extract your CD's far easier than WMP will, it'll also extract an entire CD to one file if you'd like, and in any one of dozens of formats. If you wanna go true lossless, extract to FLAC or APE.... then use the built in converter to convert to MP3 or better yet, OGG-Vorbis (better sound with better compression generally speaking than MP3). I personally have my entire collection (including the CD used in Ed's example) ripped to FLAC, and then I convert the lossless to OGG for my pocket PC, low-bitrate MP3 for my wife's portable player, and high-bitrate MP3 for my home audio system. When a new release of OGG came out a few weeks ago with the exellent aoTuV enhancements, I updated EZ CD-DA, and set it off re-converting my entire collection of OGG.

Another alternative is AudioGrabber: http://www.audiograbber.com-us.net/
It's another one that makes extraction painless and easy, and does full CD's as a single file if you so desire. It doesn't however do conversion from one format to another, but it is FREE.

As for gapless playback.... well.... I don't bother with all the hassles of piecing them back together or ripping the entire CD to one file. I just use a player that supports gapless playback.

Cheers,
D.
 
Reply With Quote
  #4  
Old 10-05-2004, 04:38 AM
jeffmd
Thinker
Join Date: Dec 2004
Posts: 315

dmy, its lossless. Think pkzip and rar.

This isnt gapless playback.. this is cutting and pasting multiple audio tracks together.

has anyone here used pocket player by conduits? I dont have wma files to test it, but is supports ogg/mp3/wma and gapless as well as crossfading (I never tire of this effect on non gapless music). Combined with winamp skin support, a good EQ, and uses the MAD mp3 decoder (a code base that strives for the most highest precision mp3 decoding) I think its the best music player for pocket pc.
 
Reply With Quote
  #5  
Old 10-05-2004, 05:09 AM
Darius Wey
Developer & Designer, News Editor Emeritus
Darius Wey's Avatar
Join Date: Aug 2006
Posts: 12,959

Pocket Music also supports crossfading to make it seem like gapless music playback is employed.

However, it would still be nice to see an effort being made by Microsoft to make native support for gapless music playback present in Windows Media Player for the Pocket PC.
__________________
Want the latest news, views, rants and raves? Visit our portal. Wish to contact me? Send me a private message or e-mail.
 
Reply With Quote
  #6  
Old 10-05-2004, 04:03 PM
dmy
Intellectual
Join Date: Mar 2004
Posts: 130

Quote:
Originally Posted by jeffmd
dmy, its lossless. Think pkzip and rar.
PKZip and RAR are lossless, even Microsoft admits that WMA Lossless is "mathematically" lossless (heh..... see figure 1 in the original article, the screenshot even says it). Yes, I'm aware that "mathematically lossless" is close enough for 99% of the music and people out there... but be aware that there is some music out there that does not pass an inversion comparison test with WMA Lossless, and therefore it's not truely lossless in all cases.

But I digress....
Quote:
Originally Posted by jeffmd
This isnt gapless playback.. this is cutting and pasting multiple audio tracks together.
True, and I think the original author was trying to reconstitute a whole-CD file, and on that particular CD it's a wise thing to do.... many live recordings need the same thing. A large point of the point I was trying to make is that there's easier ways of doing it.

Quote:
Originally Posted by jeffmd
has anyone here used pocket player by conduits? I dont have wma files to test it, but is supports ogg/mp3/wma and gapless as well as crossfading (I never tire of this effect on non gapless music). Combined with winamp skin support, a good EQ, and uses the MAD mp3 decoder (a code base that strives for the most highest precision mp3 decoding) I think its the best music player for pocket pc.
That's all I use.... and you're right.... it is the best music player for a PPC. The only thing I'd add is that support from Conduits is the best.

D.
 
Reply With Quote
  #7  
Old 10-23-2004, 12:34 AM
Brad Adrian
Editor Emeritus
Brad Adrian's Avatar
Join Date: Sep 2006
Posts: 3,060
Send a message via AIM to Brad Adrian Send a message via MSN to Brad Adrian

Whenever I put together files like this, though, and try to listen to them, the fast-forward function doesn't work. That makes it pretty hard to resume listening to a track from the same spot I left off.

Is there some way to fix that during the processing?
 
Reply With Quote
  #8  
Old 10-23-2004, 01:14 AM
Brad Adrian
Editor Emeritus
Brad Adrian's Avatar
Join Date: Sep 2006
Posts: 3,060
Send a message via AIM to Brad Adrian Send a message via MSN to Brad Adrian

Never mind. For some reason, on my player, the fast-forward function doesn't work with WMA files. But, when I further convert them to MP3s, it works fine. Now, with the audiobooks I've ripped I can stop in the middle, then fast-forward back to the same spot the next day.

Now, if anybody knows WHY the fast-forward doesn't work with WMA and can explain it to me, I'd be interested in learning that.
 
Reply With Quote
  #9  
Old 10-25-2004, 03:26 PM
Ed Hansberry
Contributing Editor Emeritus
Ed Hansberry's Avatar
Join Date: Aug 2006
Posts: 8,228

Quote:
Originally Posted by Brad Adrian
Never mind. For some reason, on my player, the fast-forward function doesn't work with WMA files. But, when I further convert them to MP3s, it works fine. Now, with the audiobooks I've ripped I can stop in the middle, then fast-forward back to the same spot the next day.

Now, if anybody knows WHY the fast-forward doesn't work with WMA and can explain it to me, I'd be interested in learning that.
It does, but you have to let WMP create the WMA. I've had external utilities create the WMA file and there isn't enough info for the PPC WMP9 player to do fast forwards. No clue why. :?:
__________________
text sig
 
Reply With Quote
  #10  
Old 11-30-2004, 09:54 AM
Hylas
Neophyte
Join Date: Sep 2003
Posts: 4

Quote:
Originally Posted by DMY
PKZip and RAR are lossless, even Microsoft admits that WMA Lossless is "mathematically" lossless (heh..... see figure 1 in the original article, the screenshot even says it). Yes, I'm aware that "mathematically lossless" is close enough for 99% of the music and people out there... but be aware that there is some music out there that does not pass an inversion comparison test with WMA Lossless, and therefore it's not truely lossless in all cases.
Do you have some evidence to back this up? Lossless audio compression isn't a new concept and compression rates of 40-60% are quite usual (for listenable music). I highly doubt that MS would screw this up.

Maybe you compared the .wav files on a binary level? Two files can contain the same audio content but differ in their meta information.
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:55 PM.