Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Miniaudio — Open Source Single File C Audio Library

#1
Miniaudio — Open Source Single File C Audio Library

<div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/09/miniaudio-open-source-single-file-c-audio-library.jpg" width="1920" height="1080" title="" alt="" /></div><div><div><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/09/miniaudio-open-source-single-file-c-audio-library.jpg" class="ff-og-image-inserted"></div>
<p><a href="https://miniaud.io/index.html">Miniaudio </a>is a cross platform open source C library for implementing low level audio functionality including playback and capture. MiniAudio is released under either public domain or MIT No Attribution licenses and amazingly enough is implemented as a single .H file with no external dependencies (except optionally stb_orbis if Ogg Vorbis format support is desired).</p>
<p>Miniaudio features include:</p>
<ul>
<li>Your choice of either public domain or&nbsp;<a href="https://github.com/aws/mit-0">MIT No Attribution</a>.</li>
<li>Entirely contained within a single file for easy integration into your source tree.</li>
<li>No external dependencies except for the C standard library and backend libraries.</li>
<li>Written in C and compilable as C++, enabling miniaudio to work on almost all compilers.</li>
<li>Supports all major desktop and mobile platforms, with multiple backends for maximum compatibility.</li>
<li>Supports playback, capture, full-duplex and loopback (WASAPI only).</li>
<li>Device enumeration for connecting to specific devices, not just defaults.</li>
<li>Connect to multiple devices at once.</li>
<li>Shared and exclusive mode on supported backends.</li>
<li>Backend-specific configuration options.</li>
<li>Device capability querying.</li>
<li>Automatic data conversion between your application and the internal device.</li>
<li>Sample format conversion with optional dithering.</li>
<li>Channel conversion and channel mapping.</li>
<li>Resampling with support for multiple algorithms.
<ul>
<li>Simple linear resampling with anti-aliasing.</li>
<li>Optional Speex resampling (must opt-in).</li>
</ul>
</li>
<li>Filters.
<ul>
<li>Biquad</li>
<li>Low-pass (first, second and high order)</li>
<li>High-pass (first, second and high order)</li>
<li>Second order band-pass</li>
<li>Second order notch</li>
<li>Second order peaking</li>
<li>Second order low shelf</li>
<li>Second order high shelf</li>
</ul>
</li>
<li>Waveform generation.
<ul>
<li>Sine</li>
<li>Square</li>
<li>Triangle</li>
<li>Sawtooth</li>
</ul>
</li>
<li>Noise generation.
<ul>
<li>White</li>
<li>Pink</li>
<li>Brownian</li>
</ul>
</li>
<li>Decoding
<ul>
<li>WAV</li>
<li>FLAC</li>
<li>MP3</li>
<li>Vorbis via stb_vorbis (not built in – must be included separately).</li>
</ul>
</li>
<li>Encoding</li>
<li>Lock free ring buffer (single producer, single consumer).</li>
</ul>
<p>Miniaudio is available <a href="https://github.com/mackron/miniaudio">on GitHub</a> and has solid documentation <a href="https://miniaud.io/docs/manual/index.html">available here</a> and several examples <a href="https://miniaud.io/docs/examples/index.html">available here</a>. Installation consists of downloading and #include’ing the header and that is it, making this a remarkably simple library to get started using. There are also unofficial language bindings for Go, Rust and Python available as well. You can learn more about the Miniaudio library in the <a href="https://www.youtube.com/watch?v=XIye2LeLLUc">video </a>below (or view <a href="https://odysee.com/@gamefromscratch:1/miniaudio-audio-playback-and-recording:c">here on Odysee</a>).</p>
<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
<div class="wp-block-embed__wrapper">
<div class="ast-oembed-container"><iframe class='youtube-player' width='1500' height='844' src='https://www.youtube.com/embed/XIye2LeLLUc?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent' allowfullscreen='true' style='border:0;'></iframe></div>
</div>
</figure>
<div class="code-block code-block-1"> <ins class="adsbygoogle" data-ad-format="autorelaxed" data-ad-client="ca-pub-5156240514307514" data-ad-slot="1997524572"></ins>
</div>
</div>


https://www.sickgaming.net/blog/2020/09/...o-library/
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016