dobutokO-frequency-0.1.1.0: Helps to create experimental music. Working with frequencies and types.

Copyright(c) OleksandrZhabenko 2020
LicenseMIT
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

DobutokO.Sound.Frequency

Description

Maintainer : olexandr543@yahoo.com

Helps to create experimental music. Can be used for applying the SoX "synth" effect and frequency modulation.

Documentation

data Frequency a b c Source #

Constructors

F a b [c] 
F2 a a b [c] 
Instances
(Eq a, Eq b, Eq c) => Eq (Frequency a b c) Source # 
Instance details

Defined in DobutokO.Sound.Frequency

Methods

(==) :: Frequency a b c -> Frequency a b c -> Bool #

(/=) :: Frequency a b c -> Frequency a b c -> Bool #

Show (Frequency Float Int Char) Source # 
Instance details

Defined in DobutokO.Sound.Frequency

freqChange :: RealFloat a => Int -> String -> a -> a -> String Source #

data Swept a b c Source #

Constructors

SineS a b c 
SquareS a b c 
TriangleS a b c 
SawtoothS a b c 
TrapeziumS a b c 
ExpS a b c 
Instances
(Eq a, Eq b, Eq c) => Eq (Swept a b c) Source # 
Instance details

Defined in DobutokO.Sound.Frequency

Methods

(==) :: Swept a b c -> Swept a b c -> Bool #

(/=) :: Swept a b c -> Swept a b c -> Bool #

Show (Swept [Float] String Int) Source # 
Instance details

Defined in DobutokO.Sound.Frequency

sweptC :: Swept a b c -> String Source #

swept1 :: Swept a b c -> a Source #

swept2 :: Swept a b c -> b Source #

swept3 :: Swept a b c -> c Source #

data Single a b Source #

Constructors

Whitenoise a b 
Tpdfnoise a b 
Pinknoise a b 
Brownnoise a b 
Pluck a b 
Sine a b 
Square a b 
Triangle a b 
Sawtooth a b 
Trapezium a b 
Exp a b 
Instances
(Eq a, Eq b) => Eq (Single a b) Source # 
Instance details

Defined in DobutokO.Sound.Frequency

Methods

(==) :: Single a b -> Single a b -> Bool #

(/=) :: Single a b -> Single a b -> Bool #

Show (Single [Float] Int) Source # 
Instance details

Defined in DobutokO.Sound.Frequency

single1 :: Single a b -> a Source #

single2 :: Single a b -> b Source #

data Di Source #

Constructors

O 
T 
Instances
Eq Di Source # 
Instance details

Defined in DobutokO.Sound.Frequency

Methods

(==) :: Di -> Di -> Bool #

(/=) :: Di -> Di -> Bool #

Show (Choice [Float] String Int Di) Source # 
Instance details

Defined in DobutokO.Sound.Frequency

data Choice a b c d Source #

Constructors

C2 (Swept a b c) (Single a c) d 
Instances
(Eq a, Eq b, Eq c, Eq d) => Eq (Choice a b c d) Source # 
Instance details

Defined in DobutokO.Sound.Frequency

Methods

(==) :: Choice a b c d -> Choice a b c d -> Bool #

(/=) :: Choice a b c d -> Choice a b c d -> Bool #

Show (Choice [Float] String Int Di) Source # 
Instance details

Defined in DobutokO.Sound.Frequency

choice1 :: Choice a b c d -> Swept a b c Source #

choice2 :: Choice a b c d -> Single a c Source #

choice3 :: Choice a b c d -> d Source #

choiceSet1 :: Swept a b c -> Choice a b c d -> Choice a b c d Source #

choiceSet2 :: Single a c -> Choice a b c d -> Choice a b c d Source #

choiceSet3 :: d -> Choice a b c d -> Choice a b c d Source #