Last updated
TidalCycles identity.svg
Tidal Code Screenshot.png
Developer(s) Alex McLean and others
Initial release2009
Stable release
1.7.2 / 25 February 2021;2 months ago (2021-02-25)
Repository https://github.com/tidalcycles/Tidal/
Written in Haskell
Operating system Linux, macOS, Windows
Type Live coding environment, Algorave
License GPLv3
Website tidalcycles.org

TidalCycles (also known as "Tidal") is a live coding environment designed for musical improvisation and composition. In particular, it is a domain-specific language embedded in Haskell, focused on the generation and manipulation of audible or visual patterns. [1] [2] [3] It was originally designed for heavily percussive, polyrhythmic grid-based music, but now uses a flexible, functional reactive representation for patterns, using rational time. [4] Tidal may therefore be applied to a wide range of musical styles, although its cyclic approach to time [5] means that it affords use in repetitive styles such as Algorave. [6]

Tidal does not produce sound itself, but via the SuperCollider sound environment through the SuperDirt framework, or via MIDI or Open Sound Control.

Related Research Articles

Computer programming is the process of designing and building an executable computer program to accomplish a specific computing result or to perform a specific task. Programming involves tasks such as: analysis, generating algorithms, profiling algorithms' accuracy and resource consumption, and the implementation of algorithms in a chosen programming language. The source code of a program is written in one or more languages that are intelligible to programmers, rather than machine code, which is directly executed by the central processing unit. The purpose of programming is to find a sequence of instructions that will automate the performance of a task on a computer, often for solving a given problem. Proficient programming thus often requires expertise in several different subjects, including knowledge of the application domain, specialized algorithms, and formal logic.

Computer music is the application of computing technology in music composition, to help human composers create new music or to have computers independently create music, such as with algorithmic composition programs. It includes the theory and application of new and existing computer software technologies and basic aspects of music, such as sound synthesis, digital signal processing, sound design, sonic diffusion, acoustics, electrical engineering and psychoacoustics. The field of computer music can trace its roots back to the origins of electronic music, and the first experiments and innovations with electronic instruments at the turn of the 20th century.

In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions. It is a declarative programming paradigm in which function definitions are trees of expressions that map values to other values, rather than a sequence of imperative statements which update the running state of the program.

In computer programming and software design, code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior. Refactoring is intended to improve the design, structure, and/or implementation of the software, while preserving its functionality. Potential advantages of refactoring may include improved code readability and reduced complexity; these can improve the source code's maintainability and create a simpler, cleaner, or more expressive internal architecture or object model to improve extensibility. Another potential goal for refactoring is improved performance; software engineers face an ongoing challenge to write programs that perform faster or use less memory.

In computer science, reference counting is a programming technique of storing the number of references, pointers, or handles to a resource, such as an object, a block of memory, disk space, and others.

Programming paradigms are a way to classify programming languages based on their features. Languages can be classified into multiple paradigms.

SuperCollider is an environment and programming language originally released in 1996 by James McCartney for real-time audio synthesis and algorithmic composition.

Roland TR-909 Drum machine

The Roland TR-909 Rhythm Composer is a drum machine introduced by the Roland Corporation in 1983. It succeeded the TR-808, and was the first Roland drum machine to use samples for some sounds. It was also the first Roland drum machine with MIDI functionality, allowing it to synchronize with other devices. Though it was a commercial failure, the 909 became influential in the development of electronic dance music genres such as techno, house and acid.

Tala (music) Meter, time cycle measure in Indian music

A Tala, sometimes spelled Titi or Pipi, literally means a "clap, tapping one's hand on one's arm, a musical measure". It is the term used in Indian classical music to refer to musical meter, that is any rhythmic beat or strike that measures musical time. The measure is typically established by hand clapping, waving, touching fingers on thigh or the other hand, verbally, striking of small cymbals, or a percussion instrument in the Indian subcontinental traditions. Along with raga which forms the fabric of a melodic structure, the tala forms the life cycle and thereby constitutes one of the two foundational elements of Indian music.

In computer programming, a software framework is an abstraction in which software providing generic functionality can be selectively changed by additional user-written code, thus providing application-specific software. It provides a standard way to build and deploy applications and is a universal, reusable software environment that provides particular functionality as part of a larger software platform to facilitate the development of software applications, products and solutions. Software frameworks may include support programs, compilers, code libraries, toolsets, and application programming interfaces (APIs) that bring together all the different components to enable development of a project or system.

Live coding

Live coding, sometimes referred to as on-the-fly programming, just in time programming and conversational programming, makes programming an integral part of the running program.

Interactive programming

Interactive programming is the procedure of writing parts of a program while it is already active. This focuses on the program text as the main interface for a running process, rather than an interactive application, where the program is designed in development cycles and used thereafter. Consequently, here, the activity of writing a program becomes part of the program itself.

Matthias Felleisen

Matthias Felleisen is a German-American computer science professor and author. He grew up in Germany and immigrated to the US when he was 21 years old.

Live electronic music is a form of music that can include traditional electronic sound-generating devices, modified electric musical instruments, hacked sound generating technologies, and computers. Initially the practice developed in reaction to sound-based composition for fixed media such as musique concrète, electronic music and early computer music. Musical improvisation often plays a large role in the performance of this music. The timbres of various sounds may be transformed extensively using devices such as amplifiers, filters, ring modulators and other forms of circuitry. Real-time generation and manipulation of audio using live coding is now commonplace.

Alex McLean British musician and researcher (born 1975)

Alex McLean is a British musician and researcher. He is notable for his key role in developing live coding as a musical practice, including for creating TidalCycles, a live-coding environment that allows programmer musicians to code simply and quickly, and for coining the term Algorave with Nick Collins.

Slub (band)

Slub is an algorave group formed in 2000 by Adrian Ward and Alex McLean, joined by Dave Griffiths in 2005 and Alexandra Cardenas in 2017. They are known for making their music exclusively from their own generative software, projecting their screens so their audience can see their handmade interfaces. Their music is improvised, and advertised as falling within the ambient gabba genre.


An algorave is an event where people dance to music generated from algorithms, often using live coding techniques. Alex McLean of Slub and Nick Collins coined the word "algorave" in 2011, and the first event under such a name was organised in London, UK. It has since become a movement, with algoraves taking place around the world.

Sonic Pi

Sonic Pi is a live coding environment based on Ruby, originally designed to support both computing and music lessons in schools, developed by Sam Aaron in the University of Cambridge Computer Laboratory in collaboration with Raspberry Pi Foundation.

Ixi lang

Ixi lang is a programming language for live coding musical expression. It is taught at diverse levels of musical education and used in Algorave performances. Like many other live coding languages, such TidalCycles, ixi lang is a domain-specific language that embraces simplicity and constraints in design.


  1. McLean, Alex. "Tidal – Pattern Language for Live Coding of Music". Sound and Music Computing. Archived from the original on 2017-10-15. Retrieved 22 May 2015.
  2. Bick, Emily (March 2016). "Pattern Recognition". The Wire (385). pp. 16–17.
  3. "TidalCycles, free live coding environment for music, turns 1.0". CDM Create Digital Music. 2018-12-18. Retrieved 2018-12-27.
  4. McLean, Alex (2014). Making Programming Languages to Dance to: Live Coding with Tidal. Proceedings of the 2Nd ACM SIGPLAN International Workshop on Functional Art, Music, Modeling & Design. FARM '14. New York, NY, USA: ACM. pp. 63–70. doi:10.1145/2633638.2633647. ISBN   978-1-4503-3039-8.
  5. McLean, Alex; Fanfani, Giovanni; Harlizius-Klück, Ellen (2018-11-23). "Cyclic Patterns of Movement across Weaving, Epiplokē and Live Coding". Dancecult: Journal of Electronic Dance Music Culture. 10 (1).
  6. Mollan, Cherylann (2019-02-10). "Grooving to Algo'rhythms'". The Asian Age. Retrieved 2019-03-01.