Develop a browser-based, WASM-powered library that implements real-time counterpoint rules for musical inputs. This would allow musicians to perform with intelligent harmony generation without needing heavy macOS-specific desktop binaries.