faust
Sonic Pi
Our great sponsors
faust | Sonic Pi | |
---|---|---|
54 | 111 | |
2,394 | 10,493 | |
1.1% | 0.7% | |
9.6 | 8.9 | |
7 days ago | 5 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
faust
-
My Sixth Year as a Bootstrapped Founder
Glicol looks very cool! Also check out Faust if you haven't (https://faust.grame.fr), another FP sound programming language.
-
Welcome to the Chata Programming Language
The linked (https://github.com/grame-cncm/faust) looks reasonable to me.
Chata probably needs to work out roughly what the semantics of the language should be. Its good to know what the library support is intended to be as that informs language design (assuming the library is to be implemented in chata anyway). Quite a lot of this page is about syntax.
There are some design decisions that have deep impact on programming languages. Reflection, mutation, memory management, control flow, concurrency. There are some implementation choices that end up constraining the language spec - python seems full of these.
Echoing p4bl0, implementing the language will change the spec. Writing a spec up front might be an interesting exercise anyway. I'd encourage doing both at the same time - sometimes describe what a feature should be and then implement it, sometimes implement something as best you can and then describe what you've got.
Implementation language will affect how long it takes to get something working, how good the thing will be and what you'll think about along the way. The usual guidance is to write in something familiar to you, ideally with pattern matching as compilers do a lot of DAG transforms.
- I'd say that writing a language in C took me ages and forced me to really carefully think through the data representation.
- Writing one in lua took very little time but the implementation was shaky, probably because it let me handwave a lot of the details.
- Writing a language in itself, from a baseline of not really having anything working, makes for very confusing debugging and (eventually) a totally clear understanding of the language semantics.
Good luck with the project.
- Glicol: Next-generation computer music language
-
Csound
Csound is extremely powerful, but my favorite thing in this vein these days is Faust:
It's a functional language with a nice way of generating diagrams of DSP algorithms, but its big killer feature for me is its language bindings, which include C, C++, Cmajor, Codebox, CSharp, DLang, Java, JAX, Julia, JSFX, "old" C++, Rust, VHDL, and WebAssembly (wast/wasm) out of the box.
If you want to explore a more functional approach to sound generation, there is always Faust:
-
faust VS midica - a user suggested alternative
2 projects | 12 Aug 2023
- Where is a good place to get started with DSP coding?
-
DIY pedal using Arduino and breadboard?
Using more powerful hardware like this also gives you the option to branch out and use other tools, e.g. the popular Faust.
-
Ask HN: What audio/sound-related OSS projects can I contribute to?
I heard of https://github.com/grame-cncm/faust a while back, probably via HN. It looks interesting and actively maintained, but I didn’t get a chance to play with it. There are many other libraries listed on GitHub awesome lists such as this one: https://github.com/ad-si/awesome-music-production#libraries
-
Ask HN: Is there a great DAG framework for Python?
Does Faust do what you want? It's a language specifically for digital signal processing, and has a wide variety of compile targets.
> Faust (Functional Audio Stream) is a functional programming language for sound synthesis and audio processing with a strong focus on the design of synthesizers, musical instruments, audio effects, etc. created at the GRAME-CNCM Research Department. Faust targets high-performance signal processing applications and audio plug-ins for a variety of platforms and standards.
> The core component of Faust is its compiler. It allows to "translate" any Faust digital signal processing (DSP) specification to a wide range of non-domain specific languages such as C++, C, LLVM bit code, WebAssembly, Rust, etc. In this regard, Faust can be seen as an alternative to C++ but is much simpler and intuitive to learn.
Sonic Pi
-
Genuary 2024: Generative Art / Creative Coding Month
https://www.youtube.com/playlist?list=PLPYzvS8A_rTYEba_4SDvR...
- Sonic Pi is built on-top of SuperCollider, but it's MUCH easier to get started with making bleeps and bloops. Sam Aaron, who originally created Overtone (a Clojure front-end for SuperCollider) created Sonic Pi initially to teach kids computer programming and music, but now it's turning into a pretty nice live-coding setup. The language is basically a DSL extension of Ruby, and although it's very elegant, I feel like it's a little nerfed in terms of a full language when compared to SCLang, so I'm sticking with the latter for now. High recommend checking it out if you're new to making music or code. https://sonic-pi.net/
- This 'Intro To Live Coding' vid from Alex McLean is great. Gives a good overview of a few fun tools out there that I won't mention here for sake of time (check out Gibber and Hydra for web-based coding things. Gibber is really slick). Alex invented Tidal Cycles, which I feel is like god-tier in terms of power and conciseness. Maybe I'll tinker with Tidal someday, but I want to start with SC.
- Web FM synthesizer made with HTML5
-
Overtone – programmable, live music in Clojure
Strange dice that it seems to mostly be c++, sponsored by 3 prominent elixir shops, with an original OSC server implementation by Joe Armstrong.
https://github.com/sonic-pi-net/sonic-pi/tree/dev/app/server...
The lead developer seems to have move on to https://github.com/sonic-pi-net/sonic-pi
- Como encontrar tema de tcc em ciência da computação?
- Annotated demo of basic capabilities of my rototem audio tool
-
Crafting Songs with CHATGPT and Sonic Pi: A Creative Collaboration
Discovering Sonic Pi: Sonic Pi is an open-source programming environment that allows you to create music through code. Designed for both beginners and experienced musicians, Sonic Pi provides an accessible platform for composing, improvising, and performing music. To get started, download and install Sonic Pi from their official website (www.sonic-pi.net.
-
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.
-
glicol-cli: music live coding in terminal powered by rust
Similar idea but with an ide, Sonic Pi!
-
Clojure Turns 15 panel discussion video
As I understand it, the server is being switched over to Erlang https://github.com/sonic-pi-net/sonic-pi/tree/dev/app/server...
What are some alternatives?
supercollider - An audio server, programming language, and IDE for sound synthesis and algorithmic composition.
FoxDot - Python driven environment for Live Coding
soundtouch-android - Android bindings for SoundTouch lib, focused on size optimization and real-time processing.
overtone - Collaborative Programmable Music
Coltrane - 🎹🎸A music theory library with a command-line interface
csound - Main repository for Csound
Black candy - A self hosted music streaming server
JUCE - JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
WahWah - Ruby gem for reading audio metadata
sonicpi.vim - Sonic Pi plugin for Vim
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust