pure-data VS faust

Compare pure-data vs faust and see what are their differences.

pure-data

Pure Data - tracking Miller's SourceForge git repository (also used by libpd) (by Spacechild1)

faust

Functional programming language for signal processing and sound synthesis (by grame-cncm)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pure-data faust
3 54
8 2,423
- 1.2%
0.0 9.6
about 1 month ago 20 minutes ago
C C++
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

pure-data

Posts with mentions or reviews of pure-data. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-22.
  • Pure Data as a plugin, with a new GUI
    14 projects | news.ycombinator.com | 22 Oct 2022
    > The other advantage is because these things were implemented in the 80s

    Pd was developed in the mid 90s

    > they are very computationally efficient

    Not as efficient as it could be, though. For example, instead of proper SIMD instructions, the DSP perform routines only use manual loop unrolling, praying that the compiler will auto-vectorize it.

    Finally, everything is single-threaded, leaving lots of performance on the table. FWIW, I have a PR for an asynchronous task API (https://github.com/pure-data/pure-data/pull/1357) and also a branch for multi-threaded DSP (https://github.com/Spacechild1/pure-data/tree/multi-threadin...).

  • Show HN: Glicol(Graph-Oriented Live Coding Language) and DSP Lib Written in Rust
    15 projects | news.ycombinator.com | 7 Apr 2022
    FWIW, Pd and Max/MSP always had sample-level control in the sense that subpatches can be reblocked. For example, if you put a [block~ 1] object in a Pd subpatch, the process function will be called for every sample, so you can have single-sample feedback paths. Pd also has the [fexpr~] object which allows users to write FIR and IIR filters in a simple expression-syntax. Finally, Max/MSP offers the very powerful [gen~] object. You can check it out for inspiration (if you haven't already).

    Pd (and Max/MSP) also allow to upsample/resample subpatches, which is important for minimizing aliasing (caused by certain kinds of processing, such as distortion).

    Pd also uses the reblocking mechanism to implement FFT processing. The output of [rfft~] is just an ordinary signal that can be manipulated by the usual signal objects. You can also write the output to a table, manipulate it in the control domain with [bang~], and then read it back in the next DSP tick. IMO, this is a very powerful and elegant approach. SuperCollider, on the other hand, only supports a single global blocksize and samplerate which prevents temporary upsampling + anti-aliasing, severly limits single-sample feedback and leads to a rather awkward FFT implementation (you need dedicated PV_* objects for the most basic operations, such as addition and multiplication).

    Another thing to think about is multi-threaded DSP. With Supernova, Tim Blechmann miraculously managed to retrofit multi-threading onto scsynth. Max/MSP offers some support for multi-threading (IIRC, top level patches and poly~ instances run in parallel). Recently, I have been working on adding multi-threading to Pd (it's working, but still very much experimental): https://github.com/Spacechild1/pure-data/tree/multi-threadin.... If you design an audio engine in 2022, multi-threading should be considered from the start; you don't have to implement it yet, but at least leave the door open to do it at a later stage.

    ---

    I'm not sure how far you want to go with Glicol. I guess for the typical Algorave live coder all these things are probably not important. But if you want Glicol to be a flexible modern audio engine/library, you will have to think about FFT, upsampling, single-sample feedback, multi-processing etc. at some point. My advice is to not leave these things as an afterthought; you should at least think about it from the start while designing your engine - if you want to avoid some of the mistakes that other existing audio engines made. This is just a word of "warning" from someone having spent countless of hours in Pd and SuperCollider source code :-)

  • How a Single Line of Code Made a 24-Core Server Slower Than a Laptop
    4 projects | news.ycombinator.com | 31 Dec 2021
    Great write up!

    What I like about Pd is that you can freely reblock and resample any subpatch. Want some section with single-sample-feedback? Just put a [block~ 1]. You can also increase the blocksize. Usually, this is done for upsampling and FFT processing. Finally, reblocking can be nested, meaning that you can reblock to 1024 samples and inside have another subpatch running at 1 sample blocksize.

    SuperCollider, on the other hand, has a fixed global blocksize and samplerate, which I think is one of its biggest limitations. (Needless to say, there are many things it does better than Pd!)

    ---

    In the last few days I have been experimenting with adding multi-threading support to Pd (https://github.com/Spacechild1/pure-data/tree/multi-threadin...). With the usual blocksize of 64 sample, you can definitely observe the scheduling overhead in the CPU meter. If you have a few (heavy-weight) subpatches running in parallel, the overhead is neglible. But for [clone] with a high number of (light-weight) copies, the overhead becomes rather noticable. In my quick tests, reblocking to 256 samples already reduces the overhead significantly, at the cost of increased latency, of course.

    ---

    Also, in my plugin host for Pd/Supercollider (https://git.iem.at/pd/vstplugin/) I have a multi-threading and bridging/sandboxing option. If the plugin itself is rather lightweight and the blocksize is small, the scheduling overhead becomes quite noticable. In Pd you can just put [vstplugin~] in a subpatch + [block~]. For the SuperCollider version I have added a "reblock" argument to process the plugin at a higher blocksize, at the cost of increased latency.

faust

Posts with mentions or reviews of faust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-16.
  • My Sixth Year as a Bootstrapped Founder
    5 projects | news.ycombinator.com | 16 Feb 2024
    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
    2 projects | news.ycombinator.com | 24 Dec 2023
    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.

  • Faust: A functional programming language for audio synthesis and processing
    1 project | news.ycombinator.com | 11 Dec 2023
  • Live + Python = ❤️
    1 project | /r/ableton | 11 Dec 2023
    Faust integration would be awesome: https://faust.grame.fr Then again we have MaxMSP, so in the end it feels kind of redundant
  • Glicol: Next-generation computer music language
    2 projects | news.ycombinator.com | 2 Sep 2023
  • Csound
    5 projects | news.ycombinator.com | 2 Sep 2023
    Csound is extremely powerful, but my favorite thing in this vein these days is Faust:

    https://faust.grame.fr/

    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.

  • faust VS midica - a user suggested alternative
    2 projects | 12 Aug 2023
  • Libraries / frameworks / tooling for cross-platform (LV2/VST3) C++ plug-ins (open-source)
    1 project | /r/musicprogramming | 9 Jun 2023
    Have a look at FAUST as well: https://faust.grame.fr/
  • logueSDK for beginners
    1 project | /r/LogueSDK | 1 May 2023
    Once you have an idea of basic programming practice, you need to learn some DSP programming. One of the better tools for this is Faust https://faust.grame.fr/ , bear in mind this is a functional programming language, and has very different syntax to C++, but the same principles apply.
  • Where is a good place to get started with DSP coding?
    5 projects | /r/synthdiy | 22 Apr 2023

What are some alternatives?

When comparing pure-data and faust you can also consider the following projects:

faustgen-supercollider - Livecode Faust in SuperCollider using an embedded Faust compiler.

supercollider - An audio server, programming language, and IDE for sound synthesis and algorithmic composition.

egui_baseview_test_vst2 - Barebones egui_baseview vst2 plugin with basic parameter control

csound - Main repository for Csound

ddwChucklib-livecode - A live-coding interface for chucklib objects

SOUL - The SOUL programming language and API

ixilang - A live coding language. An extension to SuperCollider, currently Cocoa only.

yummyDSP - An Arduino audio DSP library for the Espressif ESP32 and probably other 32 bit machines

hvcc - The heavy hvcc compiler for Pure Data patches.

Cardinal - Virtual modular synthesizer plugin

egui_node_graph - Build your node graph applications in Rust, using egui

Enzyme - High-performance automatic differentiation of LLVM and MLIR.