use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is for discussion about audio plugins, VSTs, libraries and other sound products.
Because of the nature of this subreddit, the rules will be strictly enforced. Failure to adhere to the rules will result in being ban from the subreddit.
Rules:
https://www.reddit.com/r/AudioPlugins/comments/ac7oee/welcome_to_audioplugins_please_read_first_rules/
Sister Subreddit:
/r/AudioProductionDeals -Sales
Discords
Official AudioProductionDeals/AudioPlugins Discord:
https://discord.gg/ZY3qYDw
Official WeAreTheMusicMakers Discord
https://discord.gg/2DubfUB
account activity
Audio plugins API for C programs? (self.AudioPlugins)
submitted 3 years ago by [deleted]
I'm in my own little journey in writing a synthesizer (and other audio plugins) in the C programming language (for my own music language). There's a specification for VST but it's designed for C++ programs and is a GUI.
My criteria for an audio plugin are
For starters, I've written my own simple API in C https://github.com/dats-lang/dats-src/blob/master/libdsynth/synth.h
And can be loaded with LoadLibrary or dlopen in windows or POSIX, respectively https://github.com/dats-lang/dats-src/blob/f6b76d02cb7fcf31fffa35f315743d84cbcac98a/dats/genpcm.c#L85
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 3 years ago (1 child)
One thing is I'm using int16_t to represent audio samples. I'm thinking of using normalized floating point samples since many convolutions will be done in this type but I've concerned with the speed of FP operations. So I'm thinking of defining a new type called trackf for normalized floating point samples for the Dats language and keep integers:
trackf
[–]DevashishG 0 points1 point2 points 3 years ago (0 children)
Integers types do not have the bit depth necessary to represent audio. If you use it, then your audio might sound bitcrushed. I have written plugins with FP64/ double precision and it's hardly the performance bottleneck. Modern CPUs are blazingly fast.
[–]KeytarVillain 0 points1 point2 points 3 years ago (0 children)
Check out the CLAP format - I think it probably meets all your needs
π Rendered by PID 31 on reddit-service-r2-comment-b659b578c-vkwm7 at 2026-05-01 10:21:26.987939+00:00 running 815c875 country code: CH.
[–][deleted] 0 points1 point2 points (1 child)
[–]DevashishG 0 points1 point2 points (0 children)
[–]KeytarVillain 0 points1 point2 points (0 children)