Created
May 23, 2017 16:27
-
-
Save algorev/8549da0e4c4860a133cd39cf20e23cab to your computer and use it in GitHub Desktop.
Haskell function to convert tidal scales (Sound.Tidal.Scales) into tidal patterns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Supply a base note and an Int list generated by one of the scale functions of Sound.Tidal.Scales | |
spat :: Int -> [Int] -> [Char] | |
spat note scale = unwords (map ((\x y -> show (x + y)) note) scale) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment