Skip to content

Commit

Permalink
Merge pull request #160 from telephon/topic-panner
Browse files Browse the repository at this point in the history
parameters: add multichannel panning parameters
  • Loading branch information
yaxu authored Mar 9, 2017
2 parents ae169f5 + d77c982 commit c74a1c9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Sound/Tidal/Params.hs
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,17 @@ degree_p, mtranspose_p, ctranspose_p, harmonic_p, stepsPerOctave_p, octaveRatio_
{- | a pattern of numbers. An `orbit` is a global parameter context for patterns. Patterns with the same orbit will share hardware output bus offset and global effects, e.g. reverb and delay. The maximum number of orbits is specified in the superdirt startup, numbers higher than maximum will wrap around.
-}
(orbit, orbit_p) = pI "orbit" (Just 0)
-- | a pattern of numbers between 0 and 1, from left to right (assuming stereo).
-- | a pattern of numbers between 0 and 1, from left to right (assuming stereo), once round a circle (assuming multichannel)
(pan, pan_p) = pF "pan" (Just 0.5)
-- | a pattern of numbers between -inf and inf, which controls how much multichannel output is fanned out (negative is backwards ordering)
(panspan, panspan_p) = pF "span" (Just 1.0)
-- | a pattern of numbers between 0.0 and 1.0, which controls the multichannel spread range (multichannel only)
(pansplay, pansplay_p) = pF "splay" (Just 1.0)
-- | a pattern of numbers between 0.0 and inf, which controls how much each channel is distributed over neighbours (multichannel only)
(panwidth, panwidth_p) = pF "panwidth" (Just 2.0)
-- | a pattern of numbers between -1.0 and 1.0, which controls the relative position of the centre pan in a pair of adjacent speakers (multichannel only)
(panorient, panorient_p) = pF "orientation" (Just 0.5)

(pitch1, pitch1_p) = pF "pitch1" (Just 0)
(pitch2, pitch2_p) = pF "pitch2" (Just 0)
(pitch3, pitch3_p) = pF "pitch3" (Just 0)
Expand Down

0 comments on commit c74a1c9

Please sign in to comment.