theHarmonicAlgorithm-3.2.0: Real-time harmonic progression generation for TidalCycles live performance
Safe HaskellNone
LanguageGHC2021

Harmonic.Interface.Tidal.Devices.NanoSynth

Description

The NanoSynth is a 64-voice General MIDI module on the Alesis QS engine. It answers on all sixteen channels at once, one program per channel, and a channel is silenced by assigning User bank program 127, the module's hard-wired blank program. The orchestra sits one section per channel, with a single pizzicato channel shared by every string section, so the articulation tags other than pizz leave a line on its own channel.

| ch | instrument | program / bank | patch | +====+=========================+================+============+ | 1 | flute | 74 / 3 | SingleFlut | | 2 | oboe | 68 / 3 | Ebony Oboe | | 3 | bassoon | 70 / 2 | SoloBasoon | | 4 | horn | 60 / 1 | FlugelSolo | | 5 | trombone, bass trombone | 57 / 1 | Bone Tone | | 6 | timpani (with tuba) | 60 / 4 | Documentar | | 7 | strings pizzicato | 45 / 3 | Pizz Pluck | | 8 | orch hit, bass drum | 55 / 3 | Danz Hitz | | 9 | harp (continuo) | 46 / 3 | Harpitz | | 10 | service channel (MPC) | 127 / 1 | blank | | 11 | clarinet | 71 / 2 | 1stClarnet | | 12 | silent | 127 / 1 | blank | | 13 | violin 1 | 49 / 0 | Slo String | | 14 | violin 2 | 49 / 0 | Slo String | | 15 | cello | 43 / 3 | Celli | | 16 | double bass, viola | 41 / 1 | BiViola | +----+-------------------------+----------------+------------+

A program is reached by Bank Select on CC0 alone — 0 General MIDI, 1 User, 2 to 4 the Preset banks; the module ignores CC32 — followed by a Program Change 0-127. A bank select on its own takes effect at once, keeping the program number. Ranges are the instruments' own (Harmonic.Interface.Tidal.Orchestra); the zones the 2021 patches were found to sound in are tabled in documents/NANOSYNTH.md.

Channel 10 is the MPC's service lane (sub, kit, click, count, display), so the module is blank there and the kit is one message away: once $ nanoKit puts 15ips Kit on 10 when the module plays alone. The kit answers to the General MIDI percussion map, so the voices here carry the gm prefix and serve any GM module.

Synopsis

Orchestral rig

nanoSynth :: Rig Source #

The NanoSynth orchestra: one section per channel, pizzicato shared on 7, continuo on the harp channel. The tam-tam has no voice here.

Configuration

nanoPrograms :: [(Int, (Int, Int))] Source #

Channel to (program, bank): the 2021 concert map, one patch per channel.

nanoLevel :: [(Int, Double)] Source #

Channel volume (CC7), 0-1: the section balance.

nanoPan :: [(Int, Double)] Source #

Pan (CC10), −1 left to 1 right: firsts far left, seconds far right, the winds and brass spread between.

nanoDepth :: [(Int, Double)] Source #

Reverb send (CC91), 0-1: the hall depth per section.

nanoMod :: [(Int, Double)] Source #

Modulation (CC1): off everywhere except the orchestra hit, which the wheel opens.

nanoExpr :: [(Int, Double)] Source #

Expression (CC11): full on every sounding channel, closed on the silent one.

nanoProgram :: Int -> (Int, Int) -> ControlPattern Source #

Bank Select then Program Change on one channel, inside one cycle: the bank on CC0 at the start, the program a quarter-cycle later. Fire with once.

nanoTable :: Int -> [(Int, Double)] -> ControlPattern Source #

One controller across the sixteen channels, each a sixteenth of a cycle after the last so the module never queues. Fire with once.

nanoSetup :: [ControlPattern] Source #

Cold configuration in receive order: every channel's bank and program, then level, pan, depth, modulation and expression. Pan is sent as 0-1.

nanoKit :: ControlPattern Source #

The module's own kit on channel 10 — 15ips Kit, 118 / Preset 3 — for when it plays alone and the MPC is off the chain. Fire with once; the level, pan and depth rows for 10 are already set by nanoSetup.

Continuo

nanoVoice :: Int -> Int -> ContinuoVoice Source #

A NanoSynth patch as a continuo voice: the bank rides in the msb slot and the lsb is unused, since the module reads CC0 only.

nanoHarpV :: ContinuoVoice Source #

Harp 46 / Preset 3 and harpsichord 6 / User, the two continuo colours the 2021 concert chose between.

nanoHarpsichordV :: ContinuoVoice Source #

Harp 46 / Preset 3 and harpsichord 6 / User, the two continuo colours the 2021 concert chose between.

General MIDI kit (channel 10)

gmKick :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmKick2 :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmSnare :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmSnare2 :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmSidestick :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmHatClosed :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmHatPed :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmHatOpen :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmCrash :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmCrash2 :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmRide :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmRide2 :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmRideBell :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmChina :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmSplash :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmTamb :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmTriOpen :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmTriMute :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmChimes :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmClave :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.

gmClave2 :: Pattern Bool -> ControlPattern Source #

One General MIDI percussion voice each, taking a boolean rhythm.