faust
elementary
DISCONTINUED
Our great sponsors
faust | elementary | |
---|---|---|
54 | 10 | |
2,388 | 433 | |
1.5% | - | |
9.6 | 2.0 | |
9 days ago | 11 months ago | |
C++ | Shell | |
GNU General Public License v3.0 or later | GNU Affero General Public License v3.0 |
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.
elementary
- Elementary Audio: a modern platform for writing high performance audio software
-
Is anyone else astonished at how we now have full-fledged Photo Editors and Word Processors on the web?
And check out this new native audio implementation with JS !!! https://www.elementary.audio/
-
Ask HN: Introduction to Analog Synthesizers (Simulation OK)
Great recommendations in here, and I'm happy to see this thread getting such attention!
This is totally a shameless self-plug, but I think it could be interesting for you:
I'm working on a project called Elementary Audio [1] which is a javascript runtime + framework for writing native audio software. It's like the Web Audio API in that it's javascript+audio, but unlike Web Audio in that it aims to target true native audio apps, like plugins for your DAW or hardware projects.
The API that it offers feels to me very much like thinking and working in analog synths, which is why I think you might find it interesting. You can describe and wire up signals and just see what they sound like without having to worry about what needs to happen under the hood for you to hear it.
I put together a guide for dipping your toes into making sound [2] and you'll find there a bunch of other resources that I recommend for getting into the topic.
I should note too that it's currently in beta and only supports macos and linux (windows coming soon!)
-
Functional, Declarative Audio Applications
Funny you should say that :) I'm currently building a small drum synth, will share it as soon as its ready.
In the mean time, check out https://github.com/nick-thompson/elementary for some examples that you can `npm install && npm start` to hear
What are some alternatives?
supercollider - An audio server, programming language, and IDE for sound synthesis and algorithmic composition.
csound - Main repository for Csound
react-juce - Write cross-platform native apps with React.js and JUCE
SOUL - The SOUL programming language and API
yummyDSP - An Arduino audio DSP library for the Espressif ESP32 and probably other 32 bit machines
tiddlywiki-docker - Tools for running TiddlyWiki via a Docker container
Cardinal - Virtual modular synthesizer plugin
Enzyme - High-performance automatic differentiation of LLVM and MLIR.
vst-rs - VST 2.4 API implementation in rust. Create plugins or hosts. Previously rust-vst on the RustDSP group.
Rack - The virtual Eurorack studio
rellic - Rellic produces goto-free C output from LLVM bitcode
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust