ModPlug Central

OpenMPT Development (Archive) => Bug Reports => Bug Report Archive => Topic started by: LPChip on April 26, 2006, 22:10:07

Title: .42 Song restart volume pop (also with wav export)
Post by: LPChip on April 26, 2006, 22:10:07
I have a song which starts at 0 volume (set in the general tab, as well as with V00 command)

The song fades in to a normal volume (intro)

If I play the song, everything is fine. I then wait till the song is at normal volume. I press stop (no sound at all, cus no playback).

When I press play from start, a small "pop" is heared that sounds like a buffer or maybe the first notes that are being played. This is annoyed though, especially since it comes on the wav export aswell.
Title: .42 Song restart volume pop (also with wav export)
Post by: Squirrel Havoc on April 26, 2006, 23:35:42
I've noticed this bug too. I think he needs to memset() the buffer on stop, unless he wants to preserve the data for some reason.
Title: .42 Song restart volume pop (also with wav export)
Post by: Snu on April 26, 2006, 23:37:43
do you have any vsts in the track? it might be caused by those, they dont always get cut off properly when you press stop and play from the beginning.  i think it has to do with the 'trails', like reverb especially.
usually what i do is just add a short blank pattern at the beginning of the track, and cut that part off in a wav editor.
Title: .42 Song restart volume pop (also with wav export)
Post by: LPChip on April 27, 2006, 11:45:28
I have tracks with VST's but also tracks without VST's that do this.
Title: .42 Song restart volume pop (also with wav export)
Post by: rewbs on April 27, 2006, 17:49:03
I suspect this is because the volume is ramping from the current value to 0 when playback starts. You can verify this by setting the sample ramping (click avoidance) option to 0 samples in the player options. I'm not suggesting that as a permanent solution.

I guess we need to initialise the volume to a suitable value before playback starts - not just as it starts.
Title: .42 Song restart volume pop (also with wav export)
Post by: LPChip on September 13, 2006, 21:37:59
Bumping old bugs...
Title: .42 Song restart volume pop (also with wav export)
Post by: Saga Musix on February 23, 2007, 17:37:03
Quote from: "LPChip"Bumping old bugs...
it is really annoying... this really has to be fixed!
Title: .42 Song restart volume pop (also with wav export)
Post by: Saga Musix on May 08, 2007, 12:34:24
Will this bug ever be fixed? :)
And what about that random garbage that nearly destroys the speakers :D
Title: .42 Song restart volume pop (also with wav export)
Post by: rewbs on May 13, 2007, 19:25:35
v1.17.02.48 will disable volume ramping on the first buffer read after the play is initialized. Therefore, if you have a Vxx on your first row, this will ensure that the global volume jumps straight to xx when playback starts, rather than ramping from the current value to xx.

Note that this will not fix plugin output residue on song restart. It only affects clicks caused by having a global vol change on the row where playback starts.
Title: .42 Song restart volume pop (also with wav export)
Post by: rewbs on May 27, 2007, 20:33:45
Please try v1.17.02.48 (http://modplug.sourceforge.net/builds/).