@override int readScoreSync(String text) { Pointer<Utf8> ptr = StringUtf8Pointer(text).toNativeUtf8(); int res = csoundReadScore(_csound, ptr); malloc.free(ptr); return res; }