Topic: Hard noise when playing mp3 + cue files.

I used the last update and notice that when playing a mp3 with cue sometimes the music crashed and you hear a terrible hard noise.

Mostly it's on the start of the new track or on the end. If you press pause and play it's gone.
I use it on a macbook with OSX 10.4.

Re: Hard noise when playing mp3 + cue files.

Got the same problem. When switching from one track to the next sometimes Cog gives very hard static noise. After doubleclicking a new song it's gone. But when Cog switches to the next track it's there again. Restarting Cog fixed the problem, but it's obviously a bug

Re: Hard noise when playing mp3 + cue files.

Could you take a look at the console output when this happens? There should be (at least) two entries, "Before:" and "After:"

Re: Hard noise when playing mp3 + cue files.

Re: Hard noise when playing mp3 + cue files.

Here's console output:

2007-10-15 17:59:38.605 Cog[4222] Opening: file://localhost/Volumes/WEST%3BSERVER/Music/classical%20crossover/Hayley%20Westenra/Hayley%20Westenra%20-%20Treasure%20(2007)/Hayley.Westenra.-.%5BTreasure%5D.cue#11
2007-10-15 17:59:38.605 Cog[4222] SETTING OUTPUT FORMAT!
2007-10-15 17:59:38.605 Cog[4222] REGISTERING OBSERVERS
2007-10-15 17:59:38.608 Cog[4222] GENRE!
2007-10-15 17:59:38.608 Cog[4222] UNQUOTED
2007-10-15 17:59:38.608 Cog[4222] DATE!
2007-10-15 17:59:38.625 Cog[4222] SOMETHING CHANGED!
2007-10-15 17:59:38.625 Cog[4222] FORMAT DID CHANGE!
2007-10-15 17:59:38.625 Cog[4222] FORMAT CHANGED
2007-10-15 17:59:38.626 Cog[4222] Properties: {
    bitsPerSample = 16; 
    channels = 2; 
    endian = big; 
    length = 192853.515625; 
    sampleRate = 44100; 
    seekable = 1; 
}
2007-10-15 17:59:38.628 Cog[4222] DEALLOCATING SOURCE
2007-10-15 17:59:38.671 Cog[4222] INITIAL BUFFER FILLED
2007-10-15 17:59:38.735 Cog[4222] INITIAL BUFFER FILLED
2007-10-15 17:59:47.826 Cog[4222] Should seek!
2007-10-15 17:59:47.854 Cog[4222] SEEKING!
2007-10-15 17:59:47.854 Cog[4222] Before: 400979673
2007-10-15 17:59:47.854 Cog[4222] After: 400979672
2007-10-15 17:59:47.857 Cog[4222] Seeked! Resetting Buffer
2007-10-15 17:59:47.857 Cog[4222] Reset buffer!
2007-10-15 17:59:47.887 Cog[4222] INITIAL BUFFER FILLED
2007-10-15 17:59:47.887 Cog[4222] End of stream? {
    bitsPerSample = 16; 
    channels = 2; 
    endian = big; 
    length = 192853.515625; 
    sampleRate = 44100; 
    seekable = 1; 
}
2007-10-15 17:59:47.887 Cog[4222] CHANGING TRACK!
2007-10-15 17:59:47.887 Cog[4222] SET TRACK!
2007-10-15 17:59:47.887 Cog[4222] New buffer chain!
2007-10-15 17:59:47.887 Cog[4222] Opening with old decoder: <NSKVONotifying_CueSheetDecoder: 0xd898f00>
2007-10-15 17:59:47.888 Cog[4222] REGISTERING OBSERVERS
2007-10-15 17:59:47.888 Cog[4222] DONES: <NSKVONotifying_CueSheetDecoder: 0xd898f00>
2007-10-15 17:59:47.888 Cog[4222] Buffer chain made
2007-10-15 17:59:47.888 Cog[4222] Properties: {
    bitsPerSample = 16; 
    channels = 2; 
    endian = big; 
    length = 219773.193359375; 
    sampleRate = 44100; 
    seekable = 1; 
}
2007-10-15 17:59:47.888 Cog[4222] TRACK SET!!! <BufferChain: 0xdca36a0>
2007-10-15 17:59:47.888 Cog[4222] closing? is 0
2007-10-15 17:59:47.930 Cog[4222] INITIAL BUFFER FILLED
2007-10-15 17:59:48.011 Cog[4222] INITIAL BUFFER FILLED
2007-10-15 17:59:49.711 Cog[4222] Input Node dealloc
2007-10-15 17:59:49.712 Cog[4222] Decoder dealloc
2007-10-15 17:59:49.712 Cog[4222] Bufferchain dealloc
2007-10-15 17:59:49.712 Cog[4222] New!!! <BufferChain: 0xdca36a0> <NSKVONotifying_CueSheetDecoder: 0xd898f00>

- i opened cog(playlist with coouple of cues already in)
startted track playback, scrolled to the end of it and waited for trackchange
and uncle noise aka Mr Garbage Output comes

Re: Hard noise when playing mp3 + cue files.

Thanks, I think I know why it's doing it. I'll fix it when I get a chance.

Re: Hard noise when playing mp3 + cue files.

Could you try r574? Let me know if this takes care of it.

Re: Hard noise when playing mp3 + cue files.