Tidal | hint | |
---|---|---|
26 | 10 | |
2,284 | 261 | |
1.1% | 0.4% | |
8.3 | 2.7 | |
24 days ago | 3 months ago | |
C++ | Haskell | |
GNU General Public License v3.0 only | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Tidal
- Music as Language (2019) [pdf]
-
Harnessing Screams with Tidal Looper
Since then, I've been working more and more with TidalCycles. TidalCycles is an open-source live coding framework for creating patterns written in Haskell. TidalCycles uses SuperCollider on the backend, another language I've been using for live coding. Recently, I started using Tidal Looper for live vocal processing. This blog post will walk you through what you need to get started with vocal looping with Tidal Looper.
- Tidal Cycles – Live coding music with Algorithmic patterns
- I made a command-line tool to assist me with writing polyrhythmic drum parts
-
13 Years of History Teaching - Now Thrown Into CS.
So you’re wondering what would making music with code look like? The tools I’m familiar with are TidalCycles, Sonic Pi, and SuperCollider. I’m having a hard time describing what it’s like to make music with tools like these so here’s a video of a performance. One person is live coding the music and the other is live coding the visuals. I think it’s super cool how the music is improvised and built over time by layering commands. Some keywords you could search to see more examples would be Algorave and Livecoding.
-
Where is Haskell used?
https://tidalcycles.org/ is another great example, parsing patterns of text and printing live music.
-
Live coding languages
For sound live coding/algorave sonic pi and tidal cycles are great, both based on supercollider.
-
Sonic Pi – The Live Coding Music Synth for Everyone
I don't know the alternatives but I'm a big fan of https://tidalcycles.org/. People really do crazy things, check out the videos on the front page.
I love when 2 DJs live-code together (on the same document! Editing each other's loops) or when a VJ live-codes some visuals in reaction to the DJ live-coding the music.
-
What is a little known subject/application/problem that you learned about recently or are involved in that you think is fascinating?
If you're interested in ChuCK, there's also Pure Data (a FOSS cousin of the commercial Max/MSP) and SuperCollider and a lot of live coding algorave sorta music things are built on top of SuperCollider like TidalCycles so you can execute lines of code live via a REPL or evaluating blocks of code in a document and generate beats in realtime.
-
The Way in Which Brian Eno Created Ambient 1: Music for Airports
Tidal Cycles! https://tidalcycles.org/
As layer8 mentioned, it is technically Haskell but more specifically a DSL and environment for live coding music.
Pretty fun to play around with!
hint
-
I am looking for a new maintainer for Mueval
Mueval is based on hint, which is in turn based on the ghc library.
-
Interactive animations
Yeah, that project is pretty much at the bottom of my list, unfortunately. My top projects these days are mgmt, klister, recursion-schemes, and hint... And that's already too much!
-
Can GHCi be run like PDB?
You can try using hint (instead of ghci) though I'm not sure it has the breakpoint functionality.
-
Dynamic loading of modules
Have you tried hint?
-
hint: Runtime Haskell interpreter
with haskell.nix, well, you've found the github issue, you need to put the apecs package in the right nix incantation.
-
How to catch "Variable not in scope" error
But the use case for that is for using a Haskell program A to catch errors in that same Haskell program A. For your use case, using a Haskell program A to automatically grade a Haskell program B, I recommend using the hint library instead, as it allows you to load code from external source files, run tests on them, and manipulate the error messages produced by ghc. (full disclosure: I am the maintainer of that library)
-
Does a function that takes as input a function and return its porgram text exist?
I am thinking of giving hint the ability to evaluate TemplateHaskell expressions. It would indeed be quite difficult to write an interpreter for all of Haskell, so my plan is to use the Exp's Show instance to produce a program which constructs and then splices that Exp, e.g. $(pure (InfixE (Just (LitE (IntegerL 1))) (VarE GHC.Num.+) (Just (LitE (IntegerL 1))))) is a Haskell expression which is equivalent to 1 + 1, so I should be able to ask hint to evaluate that to get 2 without having to write my own Haskell interpreter.
-
Seeking a Project Lead for Matchmaker - Haskell Foundation
Yes please! Right now all of my open-source projects (most notably hint and recursion-schemes) are about to drop into barely-updated mode, and while I knew this would happen and have been working towards finding co-maintainers, I am now realizing that it wasn't enough. I think such a website would definitely have helped, and I am hoping that once it launches, I'll be able to use it to find some co-maintainers to tide over my projects until I become available again.
-
Deep embedding of Haskell in Haskell
hint's API takes a string, not an AST (I plan to fix this). Internally, hint delegates to the ghc library, which does expose a parser which you can use if you want. hint exists to provide a friendlier API than the ghc library for interpreting Haskell code, but it does not expose a friendlier API for parsing Haskell code.
What are some alternatives?
overtone - Collaborative Programmable Music
ghci-pretty - tiny hack for colored pretty-printing within ghci
Sonic Pi - Code. Music. Live.
winter - Haskell port of the WebAssembly OCaml reference interpreter
faust - Functional programming language for signal processing and sound synthesis
reflex-ghci - Run GHCi from within a Reflex FRP application and interact with it using a functional reactive interface.
csound - Main repository for Csound
deploy-hint - Demonstrating that you don't need to install ghc in order to use the hint library.
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
ghc-dump - A GHC plugin and library for analysing GHC Core
strudel - Web-based environment for live coding algorithmic patterns, incorporating a faithful port of TidalCycles to JavaScript
apecs-hint-demo - demonstrating how to use hint to dynamically modify the game world of an apecs-based game