kewlniss / CSharpSynthForUnity

Ported CSharpSynth Project from http://csharpsynthproject.codeplex.com/ to work in Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

midiStreamSynthesizer.NoteOff is not working

achimmihca opened this issue · comments

I have a simple midi file with a piano track: I got it from here: https://www.8notes.com/scores/420.asp?ftype=midi

When playing the file using this lib, then the notes start playing but never stop. It seems the fadeCounter is set way to big.

As a quick and easy workaround for now, I implementated Voice.Stop by delegating to Voice.StopImmediate. This works fine for me but of course there in no slow release of the note anymore.