csound-expression-typed 0.0.9 → 0.0.9.1
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
csound-expression-typed.cabal view
@@ -1,5 +1,5 @@ Name: csound-expression-typed-Version: 0.0.9+Version: 0.0.9.1 Cabal-Version: >= 1.22 License: BSD3 License-file: LICENSE
src/Csound/Typed/GlobalState/Elements.hs view
@@ -360,12 +360,12 @@ return (fmap readOnlyVar vars, zipWithM_ (appendVarBy (+)) vars sigs) sendChn :: Monad m => Int -> Int -> [E] -> DepT m ()-sendChn arityIns arityOuts sigs = writeChn (chnRefFromParg (chnPargId arityIns) arityOuts) (fmap scaleVolumeFactor sigs)+sendChn arityIns arityOuts sigs = writeChn (chnRefFromParg (chnPargId arityIns) arityOuts) sigs chnPargId :: Int -> Int chnPargId arityIns = 4 + arityIns -scaleVolumeFactor :: E -> E-scaleVolumeFactor = (setRate Ir (C.midiVolumeFactor (pn 1)) * )+-- scaleVolumeFactor :: E -> E+-- scaleVolumeFactor = (setRate Ir (C.midiVolumeFactor (pn 1)) * ) -- guis