csound-expression 4.8 → 4.8.1
raw patch · 3 files changed
+13/−8 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Csound.Air.Misc: delaySample :: D -> Sig -> Sig
+ Csound.Air.Misc: delaySig :: D -> Sig -> Sig
Files
- csound-expression.cabal +1/−1
- src/Csound/Air/Looper.hs +2/−2
- src/Csound/Air/Misc.hs +10/−5
csound-expression.cabal view
@@ -1,5 +1,5 @@ Name: csound-expression-Version: 4.8+Version: 4.8.1 Cabal-Version: >= 1.6 License: BSD3 License-file: LICENSE
src/Csound/Air/Looper.hs view
@@ -33,9 +33,9 @@ -- -- * @loopPostfx@ - list of post-loop effects (the default is do-nothing effect) ----- * @loopPrefxVal - list of dry/wet values for pre-looop effects (the default is 0.5 for all taps)+-- * @loopPrefxVal@ - list of dry/wet values for pre-looop effects (the default is 0.5 for all taps) ----- * @loopPostfxVal - list of dry/wet values for post-looop effects (the default is 0.5 for all taps)+-- * @loopPostfxVal@ - list of dry/wet values for post-looop effects (the default is 0.5 for all taps) -- -- * @loopInitInstr@ - the initial sounding tap (sound source) (what tap we are going to record when the looper starts up). --
src/Csound/Air/Misc.hs view
@@ -18,7 +18,7 @@ lpJoy, -- * Effects- delaySample,+ delaySig, -- * Function composition funSeq, funPar@@ -219,8 +219,13 @@ funPar :: Num a => [a -> a] -> a -> a funPar fs a = sum $ fmap ($ a) fs --- | Delay by certain number of samples+-- | Delay a signal by certain number of seconds+-- There is a subtle difference between the function and the function @delaySnd@.+-- The @delaySig@ is for delaying a signal on a micro level (the delay time have to be small)+-- It's implemented with delay buffer in the csound. But @delaySnd@ is for delaying+-- on macro level (the delay time can be big). It's implemented with scores and invocation+-- of hidden instruments. ----- > delaySample numOfSamples asig-delaySample :: D -> Sig -> Sig-delaySample nsamples asig = delay asig nsamples+-- > delaySig numOfSamples asig+delaySig :: D -> Sig -> Sig+delaySig nsamples asig = delay asig nsamples