theHarmonicAlgorithm-3.0.0: Real-time harmonic progression generation for TidalCycles live performance
Safe HaskellSafe-Inferred
LanguageHaskell2010

Harmonic.Interface.Tidal.Instruments

Description

Provides channel-assignment helpers (p10..p16, ch) and instrument launchers (wind, strg, brss, perc, etc.) that combine MIDI routing with form-driven kinetics for live performance.

Synopsis
  • p10 :: Pattern ValueMap -> Pattern ValueMap
  • p11 :: Pattern ValueMap -> Pattern ValueMap
  • p12 :: Pattern ValueMap -> Pattern ValueMap
  • p13 :: Pattern ValueMap -> Pattern ValueMap
  • p14 :: Pattern ValueMap -> Pattern ValueMap
  • p15 :: Pattern ValueMap -> Pattern ValueMap
  • p16 :: Pattern ValueMap -> Pattern ValueMap
  • ch :: Int -> Pattern ValueMap
  • moog :: Pattern ValueMap -> Pattern ValueMap
  • s101 :: Pattern ValueMap -> Pattern ValueMap
  • juno :: Pattern ValueMap -> Pattern ValueMap
  • vel :: Pattern Double -> Pattern ValueMap

Channel shorthand

p10 :: Pattern ValueMap -> Pattern ValueMap Source #

Route a pattern to a MIDI channel, by position. p10 is MIDI channel 10 (midichan 9, zero-indexed) through p16 on channel 16.

Postfix onto any pattern:

d1 $ p14 $ n "0 3 5 7"

Use ch when the channel number is computed rather than literal.

p11 :: Pattern ValueMap -> Pattern ValueMap Source #

Route a pattern to a MIDI channel, by position. p10 is MIDI channel 10 (midichan 9, zero-indexed) through p16 on channel 16.

Postfix onto any pattern:

d1 $ p14 $ n "0 3 5 7"

Use ch when the channel number is computed rather than literal.

p12 :: Pattern ValueMap -> Pattern ValueMap Source #

Route a pattern to a MIDI channel, by position. p10 is MIDI channel 10 (midichan 9, zero-indexed) through p16 on channel 16.

Postfix onto any pattern:

d1 $ p14 $ n "0 3 5 7"

Use ch when the channel number is computed rather than literal.

p13 :: Pattern ValueMap -> Pattern ValueMap Source #

Route a pattern to a MIDI channel, by position. p10 is MIDI channel 10 (midichan 9, zero-indexed) through p16 on channel 16.

Postfix onto any pattern:

d1 $ p14 $ n "0 3 5 7"

Use ch when the channel number is computed rather than literal.

p14 :: Pattern ValueMap -> Pattern ValueMap Source #

Route a pattern to a MIDI channel, by position. p10 is MIDI channel 10 (midichan 9, zero-indexed) through p16 on channel 16.

Postfix onto any pattern:

d1 $ p14 $ n "0 3 5 7"

Use ch when the channel number is computed rather than literal.

p15 :: Pattern ValueMap -> Pattern ValueMap Source #

Route a pattern to a MIDI channel, by position. p10 is MIDI channel 10 (midichan 9, zero-indexed) through p16 on channel 16.

Postfix onto any pattern:

d1 $ p14 $ n "0 3 5 7"

Use ch when the channel number is computed rather than literal.

p16 :: Pattern ValueMap -> Pattern ValueMap Source #

Route a pattern to a MIDI channel, by position. p10 is MIDI channel 10 (midichan 9, zero-indexed) through p16 on channel 16.

Postfix onto any pattern:

d1 $ p14 $ n "0 3 5 7"

Use ch when the channel number is computed rather than literal.

ch :: Int -> Pattern ValueMap Source #

Set the MIDI channel from a 1-indexed Int, so ch 1 is MIDI channel 1. The general form of p10 .. p16; used internally by every orchestral instrument in Harmonic.Interface.Tidal.Orchestra.

Named synth wrappers

moog :: Pattern ValueMap -> Pattern ValueMap Source #

Moog Mother-32, channel 14.

s101 :: Pattern ValueMap -> Pattern ValueMap Source #

Roland SH-101, channel 15.

juno :: Pattern ValueMap -> Pattern ValueMap Source #

Roland Juno, channel 16.

Velocity

vel :: Pattern Double -> Pattern ValueMap Source #

Velocity, as an alias for the amp control. Multiply onto a pattern to scale it:

, violin1 T (0,1) k vl grid Soprano |* vel 0.7