spell-music / csound-expression

Haskell Framework for Electronic Music
323 stars 31 forks source link

Can not set init params for opcodes with multiple output #8

Closed anton-k closed 10 years ago

anton-k commented 10 years ago

For example: if we try to play wav file in loop with the opcode diskin2, it leads to error:

> let (a,b ) = ar2 $ diskin2 "sound.wav" 1 `withDs` [0, 1]
Teen.hs:8:60:
    No instance for (Val (Sig, Sig)) arising from a use of `withDs'
    Possible fix: add an instance declaration for (Val (Sig, Sig))
    In the second argument of `($)', namely
      `diskin2 (text "Teentaal.wav") 1 `withDs` [0, 1]'
anton-k commented 10 years ago

Fixed now