vsariola / sointu

Fork of 4klang that can target 386, amd64 and WebAssembly. Tools run on Windows, Mac & Linux
MIT License
249 stars 17 forks source link

Added noise element during playback, outaux is now red, playback stopped and refuses to restart #22

Closed esaruoho closed 3 years ago

esaruoho commented 3 years ago

I had pressed (+) and left the "---" there. I pressed space to start playback. Loaded "noise" into ---. Playback stopped, and outaux turned red. playback seems to not work anymore.

Screenshot 2021-02-15 at 12 32 41
vsariola commented 3 years ago

This is by design: noise is a signal source and every signal source needs to have equal number. This is essentially the same issue as #32: the patch does not compile. I'm closing this as a duplicate of #32; please comment there what you think is the best solution.

The red color is a hint that the patch is no good, but more prominent error message might help. Although the error message better be good; "stack not balanced" probably is probably not very helpful, but that's probably what we now get if we just show what error message the functions return.