Tidal
binaryen
Tidal | binaryen | |
---|---|---|
26 | 9 | |
2,284 | 2,007 | |
1.1% | - | |
8.3 | 3.4 | |
24 days ago | about 2 years 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!
binaryen
-
Building problems for using `Asterius` to compile Haskell to Webassembly.
I've encountered a building problem when using asterius to compile a multi-packages cabal project, the detail could be found here, any suggestions?
-
Options for a frontend of demo for a toy app
ghcjs is the way to go for you, and soon it might be asterius. i do not know how hard it is to set ghcjs up without a framework. but frameworks like obelisk (based on reflex-dom), shpadoinkle, and miso automate that for. i personally like obelisk for its functional reactive programming but it can get awkward and get in your way. so if gui programming is just a means to the end of this one small application and you are not really interested in it nor functional reactive programming, shpadoinkle or miso might suit you better. miso implements the elm architecture (also "TEA", "functional model view controller") and shpadoinkle implements something directly equivalent to the elm architecture. but shpadoinkle achieves more composable widgets by minimalizing the elm architecture. so i recommend shpadoinkle for its better concept although miso is more mature.
-
hint: Runtime Haskell interpreter
Also, hint uses unsafeCoerce, and thus implicitly relies on an assumption about how values are represented at runtime. Namely, if a program P is interpreting an expression E of type A, hint assumes that the value of type A produced by the ghc interpreter has the same representation as the values of type A which are manipulated by program P. This is not guaranteed to be the case, since P has been compiled by the compiler portion of ghc while E has been evaluated by the interpreter portion of ghc. This means the ghc devs had to carefully craft their compiler and interpreters to match. When targetting the browser, a Haskell-to-js or Haskell-to-wasm compiler such as Asterius modifies ghc's code-generator so it produces js or wasm code. You would thus also need to tweak the interpreter so that it produces js or wasm values which match what the modified code-generator outputs. Or you could restrict yourself to the hint's less expressive eval :: String -> String API.
-
M1Pro Woes
We found a post where someone had a similar issue (here), but the fix in that issue doesn't help: using `ar` from `binutils` causes link errors like this instead:
-
Pandoc in the browser w/ lua (possible contract gig?)
https://github.com/tweag/asterius/issues/851 (asterius has a demo, but no source, and I -assume no lua filter support)
-
It seems like every top tier team I work in insists on Yarn over NPM, almost unanimously it seems like all of these killer devs know Yarn is the industry standard on serious projects. Why do all documentation across the web default to npm installation instructions and assume you're using npm?
All modern ones support Haskell: https://github.com/tweag/asterius
-
Is GHCJS stuck on GHC 8.6.5?
Another option is Asterius. I'm not familiar with the current state, and it's not had active development for about 3 months now, either, so it may be in the same boat? But I think the big disadvantage of Asterius is that there's just a lot less usage, and therefore a lot less testing with the whole Haskell ecosystem, versus GHCJS which has been a fixture for a while and where loads of people have thought about compatibility for years.
-
Haskell to JS
Check out asterius
-
WebAssembly Studio
I've played around with Haskell via the Asteruis project : https://github.com/tweag/asterius
Also emscripten of course, for C/C++.
What are some alternatives?
overtone - Collaborative Programmable Music
proposals - Tracking WebAssembly proposals
Sonic Pi - Code. Music. Live.
ajhc - A fork of jhc. And also a Haskell compiler.
faust - Functional programming language for signal processing and sound synthesis
pcf - A small compiler for PCF
csound - Main repository for Csound
accelerate - Embedded language for high-performance array computations
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
sjsp
strudel - Web-based environment for live coding algorithmic patterns, incorporating a faithful port of TidalCycles to JavaScript
egison-tutorial - The Egison tutorial