Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ] Have ysfx_init reset the state of the plug-in? #97

Open
jcelerier opened this issue Mar 22, 2025 · 0 comments
Open

[REQ] Have ysfx_init reset the state of the plug-in? #97

jcelerier opened this issue Mar 22, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jcelerier
Copy link

jcelerier commented Mar 22, 2025

Is your feature request related to a problem? Please describe.

ysfx plug-ins do not seem to have their internal state cleared when ysfx_init is called.

For instance:

  • I play a midi note in my DAW which gets into saike_yutani
  • I hit stop which sets back the transport to 00:00:00.000 - this sends MIDI all note off / all sound off + note off messages on all channels to make sure everything is cleared
  • I hit play again (internally this calls ysfx_init)
  • I still hear the remnant of the last note going out of saike_yutani

This happens also with the vst3 plug-in.
To avoid this right now I have to play a few dozen buffers of silence in the background and hope for the best but that's not really reliable

Describe the solution you'd like

Calling ysfx_init resets all internal buffers of the plug-in to the same state they were before and clears all running notes

Describe alternatives you've considered

Another function to call such as ysfx_reset_internal_state would be absolutely fine

Thanks !

@jcelerier jcelerier added the enhancement New feature or request label Mar 22, 2025
@JoepVanlier JoepVanlier self-assigned this Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants