Difference between revisions of "scale"

From TidalCycles userbase
Jump to: navigation, search
Line 27: Line 27:
[[Category:Functions]] [[Category:Pattern Transformers]]

Revision as of 22:34, 25 November 2018

Type: scale :: Num a => Pattern String -> Pattern Int -> Pattern a

The scale function ..

For example:

d1 $ jux rev $ chunk 4 (fast 2 . (|- n 12)) $ off 0.25 (|+ 7) $ struct (iter 4 "x(5,8)")
  $ n (scale "ritusen" "0 .. 7") # sound "superpiano"


Type: scaleList :: String

The scaleList function outputs all the available scales, at the time of writing:

minPent majPent ritusen egyptian kumai hirajoshi iwato chinese indian pelog 
prometheus scriabin gong shang jiao zhi yu whole augmented augmented2 hexMajor7 
hexDorian hexPhrygian hexSus hexMajor6 hexAeolian major ionian dorian phrygian 
lydian mixolydian aeolian minor locrian harmonicMinor harmonicMajor melodicMinor 
melodicMinorDesc melodicMajor bartok hindu todi purvi marva bhairav ahirbhairav 
superLocrian romanianMinor hungarianMinor neapolitanMinor enigmatic spanish 
leadingWhole lydianMinor neapolitanMajor locrianMajor diminished diminished2