fix writing logic and piano2 chorusOut