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

[sfont~] crashes Pd Vanilla if no SoundFont loaded #1441

Closed
joe-rouen opened this issue Jan 22, 2023 · 1 comment
Closed

[sfont~] crashes Pd Vanilla if no SoundFont loaded #1441

joe-rouen opened this issue Jan 22, 2023 · 1 comment

Comments

@joe-rouen
Copy link

If no soundfont is loaded into [sfont~], changing PC/CH or BK/CH is leading to crash / force closing Pd Vanilla.
Simple test can be done with the 'sfont~-help.pd' patch by removing 'sf/waves.sf2' from 'else/sfont~ -v -ch 32 sf/waves.sf2'.

Current workaround: Add glue for checking if an SF2 file has been loaded by [sfont~] before allowing any traffic to its Inlet 0.
Thanks.

@porres
Copy link
Owner

porres commented Jan 10, 2025

bringing this into #2254

@porres porres closed this as completed Jan 10, 2025
@porres porres mentioned this issue Jan 10, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants