Author Topic: Absolute "Stop all"  (Read 3032 times)

Offline RG (aka AUDIOMONSTER)

  • Workaholic artist
  • ***
  • Posts: 104
  • Raphaël Gesqua (aka "Audiomonster", back in time)
    • http://www.raphaelgesqua.free.fr
Absolute "Stop all"
« on: October 14, 2010, 23:03:32 »
When you are using lots of VST effects, reverbs, overdrives etc and VSTI, the "stop" command in pattern editor seems to keep ends of reverbs, distortions etc of last notes played, if they haven't had time to finish naturally.

The result is when you press play, then you hear those ends of notes, even if you restart the song from the beginning...

And more, if you save your song in audio format, you will also hear that sounds in the beginning of the final wav/mp3...

Could there be a real "immediate and absolute stop ALL noises" effect when you press "stop" ?

I think it's like a problem of clearing a buffer or something like that, maybe...

Offline LPChip

  • Administrator
  • *****
  • Posts: 4,937
    • http://lpchip.nl
  • Operating System: Windows 7 (x64bit)
Absolute "Stop all"
« Reply #1 on: October 15, 2010, 06:10:27 »
This is actually a known issue.

A workaround for you is the following:

When you stopped the song, go to the instrument tab, and play a note shortly. This will open the soundbuffer and it will not close directly after releasing the note, giving the buffer a chance to clear out.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,128
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Absolute "Stop all"
« Reply #2 on: October 15, 2010, 11:03:07 »
My solution for this issue was to keep the audio device open all the time, but that's difficult to implement at the time being.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline LPChip

  • Administrator
  • *****
  • Posts: 4,937
    • http://lpchip.nl
  • Operating System: Windows 7 (x64bit)
Absolute "Stop all"
« Reply #3 on: October 15, 2010, 11:47:21 »
Quote from: "Jojo"
My solution for this issue was to keep the audio device open all the time, but that's difficult to implement at the time being.


Just curious.

If you play an instrument in the instrument tab, the audio buffer is open too.

Isn't it possible to call a function from there when you press the stop button? (as if an instrument is played and stopped very quickly?)

I suppose this doesn't cope with the ability to emergency stop the sound in case something bad happens... (and the all notes off button doesn't work)
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,128
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Absolute "Stop all"
« Reply #4 on: October 15, 2010, 11:52:43 »
That has nothing to do with the problem I'm afraid. It's more like that various functions that are used for stopping/resuming audio playback have to be rewritten.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline RG (aka AUDIOMONSTER)

  • Workaholic artist
  • ***
  • Posts: 104
  • Raphaël Gesqua (aka "Audiomonster", back in time)
    • http://www.raphaelgesqua.free.fr
Absolute "Stop all"
« Reply #5 on: October 15, 2010, 11:56:15 »
Indeed, the method of playing a short is the one I also had found out to avoid noises when I replay my songs.

But it is really annoying, sometimes, when you have very long reverbs or effects that have to finish.

The best would be to clear the buffer REALLY instantly, I think, so that the sounds are cleared at the very point where you ordered to stop.

But maybe it's easy to say for me, and very much harder to do for coders ;-)

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,128
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Absolute "Stop all"
« Reply #6 on: October 15, 2010, 11:59:09 »
Quote from: "Raphaël Gesqua"
But maybe it's easy to say for me, and very much harder to do for coders ;-)
That is unluckily the problem, especially since we have no real VST expert in the team at the moment. :?
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline RG (aka AUDIOMONSTER)

  • Workaholic artist
  • ***
  • Posts: 104
  • Raphaël Gesqua (aka "Audiomonster", back in time)
    • http://www.raphaelgesqua.free.fr
Absolute "Stop all"
« Reply #7 on: October 15, 2010, 12:05:51 »
I understand, for sure :-)

MPT is already a great program, and his makers should really be proud of it.

Absolutely everyting can be done, with MPT, except one : the video synchro.

When/if this features can, some day, be added, then MPT will not have anything to envy anymore from other big music programs...