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
- 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
- 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
- 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
Eq a => Eq (Threshold a) Source # | |
Show (Threshold Float) 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 |
type Threshold1 = Threshold Float Source #
thresholdC :: Threshold a -> String Source #
threshold1 :: Threshold a -> a Source #
thresholdSet1 :: a -> Threshold a -> Threshold a Source #
Instances
(Eq a, Eq b) => Eq (Duration a b) Source # | |
Show (Duration Int Float) 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 #
Analogical to TSpec
but without the first argument (it is unneeded here).
Instances
(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
(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
(Eq a, Eq b, Eq c) => Eq (AboveTSpec1 a b c) Source # | |
Defined in DobutokO.Sound.Effects.Silence (==) :: AboveTSpec1 a b c -> AboveTSpec1 a b c -> Bool # (/=) :: AboveTSpec1 a b c -> AboveTSpec1 a b c -> Bool # | |
Show (Silence LeftIntact ATSpec BTSpec) Source # | |
Show (AboveTSpec1 STSpecification1 Duration2 Threshold1) Source # | |
Defined in DobutokO.Sound.Effects.Silence |
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 #
data BelowTSpec1 a b c Source #
Instances
(Eq a, Eq b, Eq c) => Eq (BelowTSpec1 a b c) Source # | |
Defined in DobutokO.Sound.Effects.Silence (==) :: BelowTSpec1 a b c -> BelowTSpec1 a b c -> Bool # (/=) :: BelowTSpec1 a b c -> BelowTSpec1 a b c -> Bool # | |
Show (Silence LeftIntact ATSpec BTSpec) Source # | |
Show (BelowTSpec1 STSpecification2 Duration2 Threshold1) Source # | |
Defined in DobutokO.Sound.Effects.Silence |
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 #
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 #