A. As mentioned earlier, enable 'Do Not Disturb' mode to prevent notifications from interrupting sound playback while using the app.
B. Consider adjusting notification settings for other apps that may be causing interruptions. Go to 'Settings' > 'Apps' and manage notifications for apps that frequently send alerts.