INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: Alex B on February 28, 2006, 04:27:28 am

Title: Pops and clicks, part 2
Post by: Alex B on February 28, 2006, 04:27:28 am
Quote
4. Fixed: The last few bytes of audio would not always get output -- causing a pop in gapless playback. (introduced in 122)

This hasn't bee fixed for me -- I'm still getting the same problem as before with wav files.  I hear a little pop at song transitions on wav files from "The Wall."  This happens both over Media Server and with files played off the local drive.  It sounds exactly the way it did before this build.

It fixed the problem with my short ape clips (http://yabb.jriver.com/interact/index.php?topic=32164.msg221231#msg221231). I converted them to wave and also the short wave files are fine now.

I am currently converting "The Wall" album to wave track files. I'll report later how it works.
Title: Re: Pops and clicks, part 2
Post by: JimH on February 28, 2006, 06:22:18 am
The old thread is here:
http://yabb.jriver.com/interact/index.php?topic=32164.0
Title: Re: Pops and clicks, part 2
Post by: lalittle on February 28, 2006, 06:27:34 am
I am currently converting "The Wall" album to wave track files. I'll report later how it works.

That's the album I've been using to test this issue.  The tracks I typically use to test this are the transitions between "Vera" and "Bring the Boys Back Home," and between "Bring the Boys Back Home" and "Comfortably Numb."  These transitions usaully cause pops.

Larry
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on February 28, 2006, 08:28:31 am
you should also consider the playback frequent hang/lockup
Title: Re: Pops and clicks, part 2
Post by: JimH on February 28, 2006, 09:07:59 am
We will take a look at any problem you report, but please disable any third party plug-ins, visualizations spam blockers, popup blockers, virus checkers, etc. that you use while running MC.

Please also report whether you use a USB drive or network drive for any part of your library.

If MC had a "frequent hang/lockup" problem, we would be flooded with complaints.
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on February 28, 2006, 11:58:54 am
I know that it sounds like new.. but I am just sharing...

If I posted a MC log would help ?
Title: Re: Pops and clicks, part 2
Post by: JimH on February 28, 2006, 12:05:22 pm
If I posted a MC log would help ?
Please post the last 100 lines of a log after any crash.
Title: Re: Pops and clicks, part 2
Post by: Alex B on February 28, 2006, 01:54:50 pm
That's the album I've been using to test this issue.  The tracks I typically use to test this are the transitions between "Vera" and "Bring the Boys Back Home," and between "Bring the Boys Back Home" and "Comfortably Numb."  These transitions usaully cause pops.

On my PC the wave files seem to play gaplessly.

Also, the disk writer outputs of MC11.1.131 and foobar2000 are identical. I used the diskwriter output mode in both programs and wrote those three Pink Floyd tracks to combined output files:

Quote
INFO (CORE) : startup time: 406 ms
INFO (foo_bitcompare) : Comparing:
INFO (foo_bitcompare) : location: "file://D:\Test\Disk Writer Output (MC).wav" (0)
INFO (foo_bitcompare) : location: "file://D:\Test\Disk Writer Output (fb2k).wav" (0)
INFO (foo_bitcompare) : No differences in decoded data found.
INFO (foo_bitcompare) : Finished successfully.
Title: Re: Pops and clicks, part 2
Post by: lalittle on February 28, 2006, 04:33:01 pm
On my PC the wave files seem to play gaplessly.

That's interesting.  My wav files were ripped a while back, so I'll try re-ripping them with the new build and see what happens.

Larry
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 01, 2006, 05:17:00 am
I Tested yesterday the gapless playback of Mp3 files again but this time with 2 mp3 files contains a quiet 1 sustained note (so I can notice the best as I can) and the result is: the number of pops and clicks in the gap has been reduced but not gone away.. and I can still hear the gap with its low pops and clicks!...
Title: Re: Pops and clicks, part 2
Post by: JimH on March 01, 2006, 06:57:13 am
Check your Windows volume controls and make sure your Mic is muted.
Title: Re: Pops and clicks, part 2
Post by: Matt on March 01, 2006, 07:26:50 am
Remember that perfect gapless playback of MP3s may not be possible. (depending on the mp3)

If gapless playback of WAV or APE files produces bit-perfect output, than I think MC is doing its job.  AlexB's post indicates that he's confirmed this.
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 01, 2006, 12:26:21 pm
I'm convinced that it will never be 100% gapless playback..
but I see that its not as gapless (Any persentage) as before.. according to my last couple of weeks listening experience (All of them are gapless albums)
Title: Re: Pops and clicks, part 2
Post by: Mr ChriZ on March 01, 2006, 12:30:26 pm
Maybe you could upload some samples like Alex did,
and see if you can work out which version was good,
and where it went bad?
Title: Re: Pops and clicks, part 2
Post by: hit_ny on March 01, 2006, 01:58:59 pm
I'm convinced that it will never be 100% gapless playback..
but I see that its not as gapless (Any persentage) as before.. according to my last couple of weeks listening experience (All of them are gapless albums)
Why don't you rip mixed albums with CUE then ?

I have nearly 1000 cds, ripped + imported into MC in this way and it works great...all in mp3 too. Your gapless problem is history and the big mp3 file will be gapless on any mp3 player out there.
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 01, 2006, 03:22:44 pm
Cause they are Purchased music, not ripped,

BTW,
Matt,. I'm just sent you the log file which was in the previous run before MC crashes on shutdown
Title: Re: Pops and clicks, part 2
Post by: ADDiCT on March 01, 2006, 03:32:48 pm
There are small low-volume "clicks" between tracks that played seamlessly in previous builds. Can't tell with which build this has started, though. Currently, I'm playing "K&D Sessions" (mixed), MP3 VBR Extreme (LAME 3.98a3). Other albums encoded with different encoders/bitrates do also show this behaviour. The same effect happens sometimes when fast forwarding/backwarding, too.

Edit: I'm aware that single-track-mp3's cannot be really "gapless" by the design of the mp3 codec. But MC did a very good job in "hiding" the transitions between mixed tracks. The low-volume clicks are something i didn't hear in MC until now.
Title: Re: Pops and clicks, part 2
Post by: Matt on March 01, 2006, 03:52:25 pm
Here's the tail of the log:

1963110: General: CInterfacePlugins::CleanUp: Start
1963110: General: CInterfacePlugins::CleanUp: Releasing plugin: Playing Now
1963125: General: CInterfacePlugins::ReleasePlugin: Start
1963125: General: CInterfacePlugins::ReleasePlugin: Plugin: Playing Now
1963141: General: CInterfacePlugins::ReleasePlugin: Calling terminate

It looks like the "Terminate" function in the Playing Now plugin is crashing.  Has anyone else seen this?
Title: Re: Pops and clicks, part 2
Post by: Matt on March 01, 2006, 05:51:09 pm
I played around with old and new builds.  

The current MC 11.1 build appears bit-perfect with APE or WAV files.

MP3 files don't seem to have changed between build 130 and builds going a long ways back.

However, tonight's build adds this:

Changed: Increased the head / tail silence threshold (but not inside track threshold) for "do not play silence" option. (allows cleaner gapless sound of MP3 files)

It produces very nice results with the tests I tried.
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 01, 2006, 06:04:46 pm
Thanks Matt in advance! :)
Title: Re: Pops and clicks, part 2
Post by: lalittle on March 01, 2006, 07:40:53 pm
Changed: Increased the head / tail silence threshold (but not inside track threshold) for "do not play silence" option. (allows cleaner gapless sound of MP3 files)

It produces very nice results with the tests I tried.

I just did some tests with this using various transitions between mp3s from albums such as "The Wall."  As one would of course expect, how well the "remove silence" option works depends entirely on the specific transition.  I found that in some cases, it actually seemed to work really well, producing in effect a gapless transition (this seems to be the case with the "louder" transitions.)  In other cases, however, I could still hear a small gap/pop, which sounded very similar to "not" using the "remove silence" option.

The "problem" I encountered, however, was in the transitions between songs that were "supposed" to have a bit of silence between them.  In these cases, the effect was distracting, producing a sudden "jump" to the next song that was quite jarring.  There were also some cases where too much audio was removed, actually cutting off a small bit of audio that I'm used to hearing.

The end result is therefore mixed in my opinion.  It makes some transitions better and some worse.

Thanks again for pursuing this,

Larry
Title: Re: Pops and clicks, part 2
Post by: hit_ny on March 01, 2006, 09:44:04 pm
Why the requirement to use "remove silence" to make use of the improved gapless play ?
Title: Re: Pops and clicks, part 2
Post by: GHammer on March 01, 2006, 11:09:56 pm
I'd rather not have the new transition method for the reason that some selection have intentional low or silent endings that will be stepped on.
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 02, 2006, 02:45:03 am
I just did some tests with this using various transitions between mp3s from albums such as "The Wall."  As one would of course expect, how well the "remove silence" option works depends entirely on the specific transition.  I found that in some cases, it actually seemed to work really well, producing in effect a gapless transition (this seems to be the case with the "louder" transitions.)  In other cases, however, I could still hear a small gap/pop, which sounded very similar to "not" using the "remove silence" option.

The "problem" I encountered, however, was in the transitions between songs that were "supposed" to have a bit of silence between them.  In these cases, the effect was distracting, producing a sudden "jump" to the next song that was quite jarring.  There were also some cases where too much audio was removed, actually cutting off a small bit of audio that I'm used to hearing.

The end result is therefore mixed in my opinion.  It makes some transitions better and some worse.

Thanks again for pursuing this,

Larry

I can Condirm/Reproduce this

Edit: Matt, can you tweak gapless playback to work out with "remove silence" disabled ?
Title: Re: Pops and clicks, part 2
Post by: lalittle on March 02, 2006, 05:00:46 am
Why don't you rip mixed albums with CUE then ?

In my case, it's because the files need to work with iPods, which doesn't support CUE files.  Also, as Pink Waters pointed out, when you purchase music online, they come as individual tracks.

Larry
Title: Re: Pops and clicks, part 2
Post by: lalittle on March 02, 2006, 05:14:09 am
That's interesting.  My wav files were ripped a while back, so I'll try re-ripping them with the new build and see what happens.

I just tried this and noticed the exact same pop at the beginning of "Comfortably Numb."  I took a close look at the waveform and discovered that the pop is in the song -- I can see it when I zoom into the waveform far enough, and I can hear it when I play the actual CD.  What are the chances that there would just happen to be a flaw right in the beginning of one of the songs I was using to test this issue?

What I'm unclear about is "why" this flaw is there.  This is my only CD of The Wall, so at this point I have no idea if it's inherent to the CD, or if the problem is just on MY specific CD.  I ripped in secure mode and I got a full "100%" report on all tracks with ZERO retries.  I would have thought that a physical flaw on the disc would have showed up as needing re-tries, but this didn't happen.

I'll see if I can get another copy of this CD to test, but in the mean time, if anyone can listen to a copy of "Comfortably Numb" from "The Wall"  (studio, not live) and tell me if there is a pop RIGHT after the music starts, I'd appreciate it.  The pop occurs at pretty much exactly 0.5 seconds into the song (i.e. at 00:00:500).  I just used the MC "Media Editor" to view and listen to this spot.

Thanks,

Larry
Title: Re: Pops and clicks, part 2
Post by: JimH on March 02, 2006, 06:48:16 am
What I'm unclear about is "why" this flaw is there.  This is my only CD of The Wall, so at this point I have no idea if it's inherent to the CD, or if the problem is just on MY specific CD.  I ripped in secure mode and I got a full "100%" report on all tracks with ZERO retries. 
When did you rip it?  The gogo encoder was added as a faster option two ro three weeks ago.  Please check Alex B's log of updates here, and the date of the file.

Also, please try ripping again, with both encoders.
Title: Re: Pops and clicks, part 2
Post by: Alex B on March 02, 2006, 06:59:00 am
I think Larry is speaking about uncompressed wave files this time.

Larry, could you rip the complete CD to single wave file (the mode is available in advanced ripping options), cut a few seconds around the track boundary and provide a file link? I could compare the clip with my The Wall album.
Title: Re: Pops and clicks, part 2
Post by: lalittle on March 02, 2006, 07:38:43 am
Alex is correct -- I'm just referring to the wave file in this particular post, so there is no "encoder" issue for this particular issue.

What I was saying in the last post is that the pop is NOT due to the track boundary in this case -- it's in the actual waveform JUST after the start of the song (Comfortably Numb) and I notice it on the CD as well.  The pop is right as the initial beat of music in "Comfortably Numb" starts -- it happens at 00:00:449 according to the "Media Editor" in MC.  (Note that I was mistaken when I initially said 00:00:500 originally -- I think I was looking at the mp3 at that time.  I'll correct the mistake in the orginal post.)

Alex -- If I listen to the first second of the song, I can hear it, and if I zoom WAY into 00:00:449, I can see it.  Can you check this out for me on your track?  If I misunderstood your request and you still want a file from me, please let me know.

Thanks to everybody for helping out with this,

Larry
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 02, 2006, 08:22:32 am
The Click/Pop you are talking about its not an MC problem it does exist in the beginning of the song itself, and there is another one too in the beginning of the track "The show Must Go On"

I'm testing now with another thing to be correct, I don't use songs or specific album...

I just played a 1 sustained note with my electric guitar and recorded it in one file,.. then I splitted it into 2 files and then I go play them with MC (after assigining the right track number for each file if 1 or 2) then the problem exist and I hear the pop and the gap too between the tracks.,
Title: Re: Pops and clicks, part 2
Post by: JimH on March 02, 2006, 08:31:42 am
What Matt said above:
Quote
Remember that perfect gapless playback of MP3s may not be possible. (depending on the mp3)

If gapless playback of WAV or APE files produces bit-perfect output, than I think MC is doing its job.  AlexB's post indicates that he's confirmed this.

Please test with Windows Media Player.
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 02, 2006, 02:29:47 pm
I made a 2 sample files from "Amused To Death" album

Here is The Sample Files (http://www.geocities.com/t_elwakeel/MC/gaplesstest.zip)

Please, anyone see this,.. download and test them with gapless playback and report the pop/click between the gap...
Title: Re: Pops and clicks, part 2
Post by: LonWar on March 02, 2006, 02:40:08 pm
Sorry Pink.... I don't hear any clicks or pops...

Settings:

Switch Tracks - Gapless
Seek Gapless
Title: Re: Pops and clicks, part 2
Post by: Alex B on March 02, 2006, 02:53:21 pm
Alex is correct -- I'm just referring to the wave file in this particular post, so there is no "encoder" issue for this particular issue.

What I was saying in the last post is that the pop is NOT due to the track boundary in this case -- it's in the actual waveform JUST after the start of the song (Comfortably Numb) and I notice it on the CD as well.  The pop is right as the initial beat of music in "Comfortably Numb" starts -- it happens at 00:00:449 according to the "Media Editor" in MC.  (Note that I was mistaken when I initially said 00:00:500 originally -- I think I was looking at the mp3 at that time.  I'll correct the mistake in the orginal post.)

Alex -- If I listen to the first second of the song, I can hear it, and if I zoom WAY into 00:00:449, I can see it.  Can you check this out for me on your track?  If I misunderstood your request and you still want a file from me, please let me know.

Thanks to everybody for helping out with this,

Larry

The click is on my CD too. I made a short sample directly from the disc image wave file:

PF_sample.ape (http://kotisivu.mtv3.fi/alexb/temp/PF_sample.ape)

The whole sample looks like this in Media Editor. The dotted yellow cursor is at the click position:

(http://kotisivu.mtv3.fi/alexb/pix/overview.png)

Here is the click (at 3.682 s):

(http://kotisivu.mtv3.fi/alexb/pix/zoomed.png)
Title: Re: Pops and clicks, part 2
Post by: Alex B on March 02, 2006, 03:17:51 pm
I made a 2 sample files from "Amused To Death" album

Here is The Sample Files (http://www.geocities.com/t_elwakeel/MC/gaplesstest.zip)

Please, anyone see this,.. download and test them with gapless playback and report the pop/click between the gap...

The gap is obvious. Here is how it sounds on my PC: trackchange.ape (http://kotisivu.mtv3.fi/alexb/temp/trackchange.ape) (I used the Diskwriter output mode).

Foobar can play the files gaplessly becuse it uses the extra info from the LAME tags.

Sorry Pink.... I don't hear any clicks or pops...

Settings:

Switch Tracks - Gapless
Seek Gapless

Did you disable "Do not play silence (leading and trailing)" ?
Title: Re: Pops and clicks, part 2
Post by: JimH on March 02, 2006, 03:22:46 pm
Alex,
It's very obvious in your sample, but it's completely undetectable in the two files that Pink Waters provided.

I have the option turned on for trimming silence.
Title: Re: Pops and clicks, part 2
Post by: Matt on March 02, 2006, 03:35:37 pm
Please enable silence suppression for gapless MP3 playback.

The clip from Pink and AlexB plays nearly perfectly with this option enabled.
Title: Re: Pops and clicks, part 2
Post by: Alex B on March 02, 2006, 03:36:47 pm
Yes, that is what it does. The advantage of a decoder that can use the LAME tag info is that the intentional silence is preserved.

The Wall album has many seamless track changes, but it has many intentional pauses between the tracks too, like in my screenshot:

(http://kotisivu.mtv3.fi/alexb/pix/overview.png)

"Do not play silence ..." would remove about two seconds from the track boundary.
Title: Re: Pops and clicks, part 2
Post by: JimH on March 02, 2006, 03:39:27 pm
Yes, that is what it does. The advantage of a decoder that can use the LAME tag info is that the intentional silence is preserved.
We'll consider adding that feature in a future version, but people who are very concerned about audio quality usually use a lossless encoder.  You can also rip to a single file.

We're not going to chase this any longer.  Thanks, Alex, and others for helping.
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 02, 2006, 04:01:24 pm
The gap may be not obvious in my files but I hear Click/pop between them though!
anyone else can confirm this ?
Title: Re: Pops and clicks, part 2
Post by: Alex B on March 02, 2006, 04:09:52 pm
We'll consider adding that feature in a future version, but people who are very concerned about audio quality usually use a lossless encoder.  You can also rip to a single file.

We're not going to chase this any longer. Thanks, Alex, and others for helping.

I am fine. ATM, I rip in APE+CUE+APL disc image format, archive the lossless files and convert to gapless MPC for the MC library.

I encode new MP3 track files only for my portable and car MP3 CD players, which cannot play MP3 files gaplessly.

Also, the "cross-fade smooth 0.2 s" is a viable option. It is almost gapless and don't remove silence. It never makes irritating loud pops.

Probably that LAME tag based system would need a completely rewritten input plug-in and still it would help only LAME encoded mp3 files. It is not something that you can quickly include in the next build.
Title: Re: Pops and clicks, part 2
Post by: Alex B on March 02, 2006, 04:26:50 pm
The gap may be not obvious in my files but I hear Click/pop between them though!anyone else can confirm this ?

The "Do not play silence ..." option does not make the track boundary perfect. I can hear a slight pop. "cross-fade smooth 0.2 s" is better for those two tracks.

I don't think there is anything more that can be done. It is not an MC problem. MP3 is not technically a gapless format as stated many times. Maybe sometime later J River will add support for the gapless playback info included in the proprietary LAME tag, but as said it would help only LAME encoded MP3 files.
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 02, 2006, 05:07:33 pm
Alex B, I tried your "cross-fade smooth 0.2 s" proposition but I see that the following track is being played in a pre-timing a little,...
Title: Re: Pops and clicks, part 2
Post by: ADDiCT on March 02, 2006, 05:40:45 pm
From my point of view, the situation is clear: it's not about mp3 being a non-gapless format, and it's not about clicks on certain cd's.

What i have noticed is that recent builds of MC don't perform as good as older ones in terms of gapless playback of mp3 files. I consider this a bug, as there never were noticeable "clicks" in playback (I'm using MC for over three years now). As i wrote in a previous post, i'm also hearing the low-volume clicks sometimes while fast forwarding or rewinding.

Please, don't tell me again that ape/wav is being played back bit-perfect, or that mp3 is not designed for gapless playback, because that's not the point. The point is that the way MC handles "mixed" mp3 files has changed, and the change is not good. I'm no expert programmer, but i'd say there's a huge difference in playing back wav/ape and mp3.
Title: Re: Pops and clicks, part 2
Post by: JimH on March 02, 2006, 05:50:02 pm
We've spent a lot of time on this and I don't believe there is a problem or that anything has changed.

Maybe you haven't tried the option for trimming leading and trailing silence?

There are also many other reasons for sound problems.
Title: Re: Pops and clicks, part 2
Post by: lalittle on March 02, 2006, 06:59:58 pm
We'll consider adding that feature in a future version,

This is the direct response that I've been asking for regarding the capability of the LAME "silence" metadata.  It's obviously not what I wanted to hear, but thank you for answering it directly.

Quote
but people who are very concerned about audio quality usually use a lossless encoder.  You can also rip to a single file.

I'm not trying to beat a dead horse, but these suggestions simply do not offer the "solution" that they're being presented as doing.  Neither of these suggestions work if you want to use the rips for other sources, such as iPods or car CD players that have mp3 playback capability.  If you want to keep a single inventory of compressed songs that can be easily used for other purposes, mp3 files are still the best format to use.

Similarly, the "remove silence" option just does not work for the music I listen to.  As others have pointed out, the removal of "intentional" silence is just as big a problem (if not bigger) as the gaps in many cases, as is the removal of parts of the song that are not entirely silent.  The crossfade option, while being a bit better than the "remove silence" option in most cases, is still easily hearable in many cases.

This is why I was excited when I heard about the LAME solution to this problem, which is actually a "solution" and not a workaround.  This would be a fantastic feature for MC to include for those of us who are essentially forced to use mp3s for specific reasons, yet who have always wished for a solution to this issue.

Given that MC is typically at the head of the pack when it comes to features, I would hope that the LAME "metadata solution" would be seriously considered as a future addition.  I think that the desire for this feature is being underestimated.

Thanks again for all the help here (and thanks Alex and Pink for confirming that other CDs of "The Wall" have the same pops that mine does, and to Alex for the wavform pictures and all the extra testing.)

Larry
Title: Re: Pops and clicks, part 2
Post by: ADDiCT on March 02, 2006, 07:13:47 pm
The config of the PC i'm using for playback hasn't changed in the last few months. I didn't install new drivers, partly because i already have the most recent ones, and there are no new releases. All i did was to install some new builds of MC as they came out. Besides that, i've used MC on a few other, different machines. As i wrote before, i never noticed the low-volume "clicks" - on any machine, with any config. I don't believe the effect is connected to my hardware, software, or configuration - after all, i've been using PC's for music playback for four or five years, and i've made my experiences.

You don't believe anything has changed in terms of playback? Let me quote some lines from Alex B's "MC11.1 Change Log" thread:

Quote
4. Fixed: The last few bytes of audio would not always get output -- causing a pop in gapless playback. (introduced in 122)

Quote
7. Optimized: Several more assembly optimizations to the core playback / decoding / conversion engine. (lower CPU usage, faster conversions, etc.)

Quote
17. Optimized: Several assembly optimizations to the core playback / decoding / conversion engine. (lower CPU usage, faster conversions, etc.)

Quote
7. Changed: MC behaves more logically when pressing next in the last few seconds of a file's playback.

Quote
11. Fixed: Pausing audio playback, pressing Next, then pressing Next again would cause playback to corrupt when using DirectX output.

These are some quickly selected quotes i found by searching for "playback" in the thread, there may have been even more playback-related changes. Let me know if there's any more information i can give. I will do some additional testing, but that will be very time-consuming (downloading and installing older builds, testing playback with different albums, etc.) - i currently don't have the time to do all that.
Title: Re: Pops and clicks, part 2
Post by: Pink Waters on March 03, 2006, 08:00:56 am
I'm almost had the exact same experience of ADDiCT, with MC...

The problem is very obvious that its in the playback engine of latest MC builds..

Now I see that: "Bugs are spreading into the core playback of MC"

Edit: I tested too with MC build 11.1.104, and the same problem presests
Title: Re: Pops and clicks, part 2
Post by: RhinoBanga on March 04, 2006, 06:46:02 am
Here's the tail of the log:

1963110: General: CInterfacePlugins::CleanUp: Start
1963110: General: CInterfacePlugins::CleanUp: Releasing plugin: Playing Now
1963125: General: CInterfacePlugins::ReleasePlugin: Start
1963125: General: CInterfacePlugins::ReleasePlugin: Plugin: Playing Now
1963141: General: CInterfacePlugins::ReleasePlugin: Calling terminate

It looks like the "Terminate" function in the Playing Now plugin is crashing.  Has anyone else seen this?

This was an issue with one of the Alpha releases of PN 1.3 but it has been fixed now.   If anyone is experiencing this problem they should upgrade to the Beta.
Title: Re: Pops and clicks, part 2
Post by: Matt on March 04, 2006, 09:21:15 am
Thanks for your prompt attention as always Rhino.

Cheers.
Title: Re: Pops and clicks, part 2
Post by: datdude on March 04, 2006, 02:32:13 pm
I am using the default cover art playback and I am now hearing this as well.   Seems like the last day or so.  Not sure what build this was introduced though.  It only happens for me when a song is stopped completely and I then either play it again of select a new song. 

I am not hearing it in between track transitions.

It sounds more like a 'pop' too.
Title: Re: Pops and clicks, part 2
Post by: JimH on March 04, 2006, 02:34:01 pm
Any third-party plug-ins?  RhinoBanga's PlayingNow, for example?
Title: Re: Pops and clicks, part 2
Post by: datdude on March 04, 2006, 03:30:38 pm
Nothing other than standard cover art for playback, and no third party plugins either.

The noise is very subtle.  I tried using foobar and the pop goes away.

I turned off all dsp as well.  Is there any way to go to default playback settings as well, just to test?

I am also playing standard mp3 vbr's mostly ripped in MC.

Just to reiterate, the sound only occurs when no song is playing. And then a new song is started.

Even if that songs is paused and then I switch to another track, the pop DOES NOT occur.

Media Center Registered 11.1.139 -- C:\Program Files\J River\Media Center 11\

Microsoft Windows XP  Workstation 5.1 Service Pack 2 (Build 2600)
Intel Unknown 441 MHz MMX / Memory: Total - 1293 MB, Free - 750 MB

Internet Explorer: 6.0.2900.2180 / ComCtl32.dll: 5.82.2900 / Shlwapi.dll: 6.0.2900 / Shell32.dll: 6.0.2900 / wnaspi32.dll: N/A
Ripping /   Drive E:   Mode:Normal  Type:Auto  Speed:Max
  Digital playback: No /  Use YADB: Yes /  Get cover art: No /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No 

Burning /  No burners found.
  Test mode: No /  Eject after writing: Yes /  Direct decoding: No /  Write CD-Text: Yes
  Use playback settings: No /
Title: Re: Pops and clicks, part 2
Post by: JimH on March 04, 2006, 03:44:33 pm
Try switching playback between Direct Sound and WAV out.

Try updating the sound card drivers.
Title: Re: Pops and clicks, part 2
Post by: datdude on March 04, 2006, 03:49:15 pm
Yep, thats it, direct sound is the problem.  Wav out,  No issue.  I am using a laptop and I don't see any updated drivers listed.

Is there a problem with using wave out if this a local issue?
Title: Re: Pops and clicks, part 2
Post by: hit_ny on March 04, 2006, 04:03:03 pm
Try looking at CPU usuage, in XP i found direct sound gives the lowest overhead.

I don't see any reason to use wave out in XP.
Title: Re: Pops and clicks, part 2
Post by: datdude on March 04, 2006, 04:07:40 pm
Try looking at CPU usuage, in XP i found direct sound gives the lowest overhead.

I don't see any reason to use wave out in XP.

It's about 2% more, oh well. 

Sounds the same though execept for the pop.
Title: Re: Pops and clicks, part 2
Post by: JimH on March 04, 2006, 04:25:00 pm
Try looking at CPU usuage, in XP i found direct sound gives the lowest overhead.

I don't see any reason to use wave out in XP.
It's my guess that some sound card drivers work correctly with one and not the other.
Title: Re: Pops and clicks, part 2
Post by: datdude on March 04, 2006, 05:44:35 pm
Weird though, becuase I know for sure I did not have this problem very long ago with the same setup.

I guess I will have to look back into the earlier builds to see if it is still there.
Title: Re: Pops and clicks, part 2
Post by: ADDiCT on March 05, 2006, 01:50:42 am
Quote
It's my guess that some sound card drivers work correctly with one and not the other.

JimH: I _still_ believe this is a bug in MC. How many other reports are needed to accept the fact? All this reminds me of "Comical Ali" ("There are no American infidels in Bagdad. Never!")  ;)
Title: Re: Pops and clicks, part 2
Post by: Alex B on March 05, 2006, 06:33:33 am
JimH: I _still_ believe this is a bug in MC. How many other reports are needed to accept the fact? All this reminds me of "Comical Ali" ("There are no American infidels in Bagdad. Never!")  ;)

IMHO, one properly made report would help a lot. You would need to provide JRiver a way to reproduce the bug.

I can't reproduce it on my three different PCs (using the ASIO, Direct Sound, Wave Out or Disk Writer output modes.):
- a homemade desktop: MSI MB / P4 / Intel Chipset / XP home / integrated C-Media CMI9739A audio and Terratec DMX 6fire 24/96 soundcard
- a Fujitsu Siemens D-8820 laptop: P4 / SiS chipset / XP Home / integrated Realtek ALC202 AC97 audio
- a homemade desktop: Abit MB / AMD Athlon / VIA chipset / Win 2000 Pro / SoundBlaster 128 PCI soundcard

A proper report should include at least the following:
- complete system information (soundcard, chipsets, drivers etc).
- complete information about the used MC options.
- information about the last MC version that does not have the problem.
- a sample audio file (if the problem is dependent on the file format or size)
Title: Re: Pops and clicks, part 2
Post by: datdude on March 05, 2006, 12:10:30 pm
I think it is something specific on my computer now, as I have gone back pretty far in MC builds, and the pop is still there.

I have tried other programs like foobar and winamp, and there is no issue, so it is MC specific, but I must have changed something, somewhere, somehow.  I have messed with just about every playback option with no luck.

So, wave out it is!
Title: Re: Pops and clicks, part 2
Post by: ADDiCT on March 06, 2006, 01:05:46 am
AlexB, maybe i should talk to JRiver about employment possibilities as a professional beta tester  :). What you are describing would take ages. I don't know what your occupation is, but i also have a life besides MC. Will try to provide more details, though.
Title: Re: Pops and clicks, part 2
Post by: GHammer on March 06, 2006, 10:03:17 am
AlexB, maybe i should talk to JRiver about employment possibilities as a professional beta tester :). What you are describing would take ages. I don't know what your occupation is, but i also have a life besides MC. Will try to provide more details, though.

Well, it's a bit hard to find a problem if all you have to go on is "its broken and it didn't used to be".

For something like that, all the info requested is needed to try to pin down what could be the problem. Lots of drivers, hardware, settings in MC, file formats, versions of encoders, phase of moon, etc.

Title: Re: Pops and clicks, part 2
Post by: datdude on March 07, 2006, 02:06:27 am
Well, it's a bit hard to find a problem if all you have to go on is "its broken and it didn't used to be".

For something like that, all the info requested is needed to try to pin down what could be the problem. Lots of drivers, hardware, settings in MC, file formats, versions of encoders, phase of moon, etc.



I listed most of that.  And I know it didn't happen before.

Not a big deal though as wave out, seems to work just fine.
Title: Re: Pops and clicks, part 2
Post by: Matt on March 07, 2006, 08:49:17 am
The default output method changed to DirectSound in MC 11.1.  The default buffering amount was also decreased.  Slow machines or ISA soundcards may not like this.

If you see sporadic clicks (possibly as a result of the changes above), simply increase the buffering in: Options > Playback > Output Mode Settings...

Also, try WaveOut instead of DirectSound.

Finally, turn off sample-rate conversion or other CPU-hungry DSPs.

When properly configured, MC is very skip resistant.  We were testing on a PIII 500 yesterday and could bring Winamp and WMP to its knees by hogging the CPU with a stress tester, but couldn't get MC to skip.