Update soundbrix.js

Yet another refactoring, but much more efficient.