Copyright | (c) OleksandrZhabenko 2020 |
---|---|
License | MIT |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
Maintainer : olexandr543@yahoo.com
Helps to create experimental music. Can be used for applying the SoX "silence" effect.
Synopsis
- data LeftIntact
- data Threshold a
- type Threshold1 = Threshold Float
- thresholdC :: Threshold a -> String
- threshold1 :: Threshold a -> a
- thresholdSet1 :: a -> Threshold a -> Threshold a
- data Duration a b
- type Duration2 = Duration Int Float
- durationC :: Duration a b -> String
- duration1 :: Duration a b -> Maybe a
- duration2 :: Duration a b -> Maybe b
- durationSet :: a -> b -> Int -> Duration a b
- durationSet1d :: a -> Duration a b -> Duration a b
- durationSet2d :: b -> Duration a b -> Duration a b
- data STSpec a b
- type Above1TSpec = STSpec Int Float
- type STSpecification1 = TimeSpec Above1TSpec NextTSpec
- data STSpec2 a b
- type BelowTSpec = STSpec2 Int Float
- type STSpecification2 = TimeSpec BelowTSpec NextTSpec
- data AboveTSpec1 a b c
- type ATSpec = AboveTSpec1 STSpecification1 Duration2 Threshold1
- aboveTSpec1 :: AboveTSpec1 a b c -> Maybe a
- aboveTSpec2 :: AboveTSpec1 a b c -> Maybe b
- aboveTSpec3 :: AboveTSpec1 a b c -> Maybe c
- aboveTSpecSet1 :: a -> b -> c -> AboveTSpec1 a b c
- aboveTSpecSet1a :: a -> AboveTSpec1 a b c -> AboveTSpec1 a b c
- aboveTSpecSet2a :: b -> AboveTSpec1 a b c -> AboveTSpec1 a b c
- aboveTSpecSet3a :: c -> AboveTSpec1 a b c -> AboveTSpec1 a b c
- data BelowTSpec1 a b c
- type BTSpec = BelowTSpec1 STSpecification2 Duration2 Threshold1
- belowTSpec1 :: BelowTSpec1 a b c -> Maybe a
- belowTSpec2 :: BelowTSpec1 a b c -> Maybe b
- belowTSpec3 :: BelowTSpec1 a b c -> Maybe c
- belowTSpecSet1 :: a -> b -> c -> BelowTSpec1 a b c
- belowTSpecSet1b :: a -> BelowTSpec1 a b c -> BelowTSpec1 a b c
- belowTSpecSet2b :: b -> BelowTSpec1 a b c -> BelowTSpec1 a b c
- belowTSpecSet3b :: c -> BelowTSpec1 a b c -> BelowTSpec1 a b c
- data Silence a b c
- type Silence3 = Silence LeftIntact ATSpec BTSpec
- silenceC :: Silence a b c -> String
- silence1 :: Silence a b c -> a
- silence2 :: Silence a b c -> b
- silence3 :: Silence a b c -> Maybe c
- silenceSet1 :: a -> Silence a b c -> Silence a b c
- silenceSet2 :: b -> Silence a b c -> Silence a b c
- silenceSet3 :: c -> Silence a b c -> Silence a b c
- showSLQ :: Silence3 -> [String]
Documentation
data LeftIntact Source #
Instances
Eq LeftIntact Source # | |
Defined in DobutokO.Sound.Effects.Silence (==) :: LeftIntact -> LeftIntact -> Bool # (/=) :: LeftIntact -> LeftIntact -> Bool # | |
Show LeftIntact Source # | |
Defined in DobutokO.Sound.Effects.Silence showsPrec :: Int -> LeftIntact -> ShowS # show :: LeftIntact -> String # showList :: [LeftIntact] -> ShowS # | |
Show (Silence LeftIntact ATSpec BTSpec) Source # | |
Instances
Complex3ParamSet STSpecification2 Duration2 Threshold1 BTSpec Source # | |
Defined in DobutokO.Sound.Effects.Classes.ComplexParamSet set31c :: STSpecification2 -> Duration2 -> Threshold1 -> BTSpec Source # | |
Complex3ParamSet STSpecification1 Duration2 Threshold1 ATSpec Source # | |
Defined in DobutokO.Sound.Effects.Classes.ComplexParamSet set31c :: STSpecification1 -> Duration2 -> Threshold1 -> ATSpec Source # | |
FstParamSet3 a (Threshold a) Source # | |
Eq a => Eq (Threshold a) Source # | |
Show (Threshold Float) Source # | |
FstParam (Threshold a) a Source # | |
Defined in DobutokO.Sound.Effects.Classes.FstParam | |
Show (Silence LeftIntact ATSpec BTSpec) Source # | |
Show (BelowTSpec1 STSpecification2 Duration2 Threshold1) Source # | |
Defined in DobutokO.Sound.Effects.Silence | |
Show (AboveTSpec1 STSpecification1 Duration2 Threshold1) Source # | |
Defined in DobutokO.Sound.Effects.Silence |
type Threshold1 = Threshold Float Source #
thresholdC :: Threshold a -> String Source #
threshold1 :: Threshold a -> a Source #
thresholdSet1 :: a -> Threshold a -> Threshold a Source #
Instances
Complex3ParamSet STSpecification2 Duration2 Threshold1 BTSpec Source # | |
Defined in DobutokO.Sound.Effects.Classes.ComplexParamSet set31c :: STSpecification2 -> Duration2 -> Threshold1 -> BTSpec Source # | |
Complex3ParamSet STSpecification1 Duration2 Threshold1 ATSpec Source # | |
Defined in DobutokO.Sound.Effects.Classes.ComplexParamSet set31c :: STSpecification1 -> Duration2 -> Threshold1 -> ATSpec Source # | |
Complex2ParamSet a b (Duration a b) Source # | |
SndParamSet3 b (Duration a b) Source # | |
FstParamSet3 a (Duration a b) Source # | |
(Eq a, Eq b) => Eq (Duration a b) Source # | |
Show (Duration Int Float) Source # | |
SndParamM (Duration a b) b Source # | |
FstParamM (Duration a b) a Source # | |
Show (Silence LeftIntact ATSpec BTSpec) Source # | |
Show (BelowTSpec1 STSpecification2 Duration2 Threshold1) Source # | |
Defined in DobutokO.Sound.Effects.Silence | |
Show (AboveTSpec1 STSpecification1 Duration2 Threshold1) Source # | |
Defined in DobutokO.Sound.Effects.Silence |
durationSet :: a -> b -> Int -> Duration a b Source #
durationSet1d :: a -> Duration a b -> Duration a b Source #
durationSet2d :: b -> Duration a b -> Duration a b Source #
Analogical to TSpec
but without the first argument (it is unneeded here).
Instances
Complex3ParamSet STSpecification1 Duration2 Threshold1 ATSpec Source # | |
Defined in DobutokO.Sound.Effects.Classes.ComplexParamSet set31c :: STSpecification1 -> Duration2 -> Threshold1 -> ATSpec Source # | |
(Eq b, Eq a) => Eq (STSpec a b) Source # | |
Show (TimeSpec Above1TSpec NextTSpec) Source # | |
Defined in DobutokO.Sound.Effects.Silence | |
Show (STSpec Int Float) Source # | |
Show (Silence LeftIntact ATSpec BTSpec) Source # | |
Show (AboveTSpec1 STSpecification1 Duration2 Threshold1) Source # | |
Defined in DobutokO.Sound.Effects.Silence |
Instances
Complex3ParamSet STSpecification2 Duration2 Threshold1 BTSpec Source # | |
Defined in DobutokO.Sound.Effects.Classes.ComplexParamSet set31c :: STSpecification2 -> Duration2 -> Threshold1 -> BTSpec Source # | |
(Eq b, Eq a) => Eq (STSpec2 a b) Source # | |
Show (TimeSpec BelowTSpec NextTSpec) Source # | |
Defined in DobutokO.Sound.Effects.Silence | |
Show (STSpec2 Int Float) Source # | |
Show (Silence LeftIntact ATSpec BTSpec) Source # | |
Show (BelowTSpec1 STSpecification2 Duration2 Threshold1) Source # | |
Defined in DobutokO.Sound.Effects.Silence |
data AboveTSpec1 a b c Source #
Instances
aboveTSpec1 :: AboveTSpec1 a b c -> Maybe a Source #
aboveTSpec2 :: AboveTSpec1 a b c -> Maybe b Source #
aboveTSpec3 :: AboveTSpec1 a b c -> Maybe c Source #
aboveTSpecSet1 :: a -> b -> c -> AboveTSpec1 a b c Source #
aboveTSpecSet1a :: a -> AboveTSpec1 a b c -> AboveTSpec1 a b c Source #
aboveTSpecSet2a :: b -> AboveTSpec1 a b c -> AboveTSpec1 a b c Source #
aboveTSpecSet3a :: c -> AboveTSpec1 a b c -> AboveTSpec1 a b c Source #
data BelowTSpec1 a b c Source #
Instances
belowTSpec1 :: BelowTSpec1 a b c -> Maybe a Source #
belowTSpec2 :: BelowTSpec1 a b c -> Maybe b Source #
belowTSpec3 :: BelowTSpec1 a b c -> Maybe c Source #
belowTSpecSet1 :: a -> b -> c -> BelowTSpec1 a b c Source #
belowTSpecSet1b :: a -> BelowTSpec1 a b c -> BelowTSpec1 a b c Source #
belowTSpecSet2b :: b -> BelowTSpec1 a b c -> BelowTSpec1 a b c Source #
belowTSpecSet3b :: c -> BelowTSpec1 a b c -> BelowTSpec1 a b c Source #
Instances
ThdParamSet3 c (Silence a b c) Source # | |
SndParamSet3 b (Silence a b c) Source # | |
FstParamSet3 a (Silence a b c) Source # | |
(Eq a, Eq b, Eq c) => Eq (Silence a b c) Source # | |
Show (Silence LeftIntact ATSpec BTSpec) Source # | |
ThdParamM (Silence a b c) c Source # | |
SndParam (Silence a b c) b Source # | |
Defined in DobutokO.Sound.Effects.Classes.SndParam | |
FstParam (Silence a b c) a Source # | |
Defined in DobutokO.Sound.Effects.Classes.FstParam |
silenceSet1 :: a -> Silence a b c -> Silence a b c Source #
silenceSet2 :: b -> Silence a b c -> Silence a b c Source #
silenceSet3 :: c -> Silence a b c -> Silence a b c Source #