opus
zig
Our great sponsors
opus | zig | |
---|---|---|
26 | 816 | |
2,092 | 30,631 | |
3.6% | 5.2% | |
9.7 | 10.0 | |
11 days ago | about 18 hours ago | |
C | Zig | |
GNU General Public License v3.0 or later | MIT License |
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.
opus
-
TSAC: Low Bitrate Audio Compression
Opus doesn't support 44.1 kHz because compatibility and effort/benefit ratio:
https://github.com/xiph/opus/issues/43
The browser audio limitation is presumably a workaround to some bug or performance limitation that was relevant at some point in history (the site was created in 2014).
-
Permutation Iteration and Random Access
There is a pattern here (that also goes with the author's prior article on inverting gauss' sum formula): Generally if if you can make a formula that counts the combination of things you can convert that into a code to encode and decode those combinations into indexes.
So for example the opus audio codec needs to encode/decode vectors of dimension n whos absolute values sum to k. https://github.com/xiph/opus/blob/master/celt/cwrs.c#L74
Or this rolling cuckoo filter that optimally encode/decode four sorted numbers in a range 0..2N with the constraint that the they span a range of N. https://github.com/sipa/bitcoin/blob/202006_cuckoo_filter/sr...
If you're lucky there will be closed form expressions for the encoding and decoding equations. (There for both of the above, at least for some parameters, but in both those examples the implementations use small tables because for the ranges involved the tables end up being faster than sqrts).
-
A CPU in Sunvox
Too bad 10Hz is a too slow to generate audio-rate bitops music.
(e.g. https://github.com/xiph/opus/blob/master/tests/test_opus_enc... )
- L’avenir de la loi Hadopi suspendu à une décision de la justice européenne
-
Global Underground Disk Images
Could anyone help me get a disk image files for older Global Underground CDs? I encoded my old CDs into subpar mp3 files, and I'd now like to have high-quality Opus encodings and experiment across various bitrates.
-
Which is better Opus or AC3?
Presumably, OP is referring to the Opus audio codec versus Dolby's AC3 codec.
-
HD: Opus?
Indeed. https://opus-codec.org/
-
Multiple tags with the same name in metadata
If there are multiple tags with the same name, Ffmpeg will only use the last tag. If you really need to have multiple tags with the same name in your OPUS files, use opusenc instead (https://opus-codec.org/). Beware that some playback software does not display multiple artists gracefully.
-
I built a Zoom clone 100% IN RUST
AFAIK ogg isn't really suitable for low latency audio streaming. Consider the Opus codec instead.
-
ffmpeg libopus producing larger file size for the same bitrate as compared to vorbis
I have asked on GitHub also https://github.com/xiph/opus/issues/263 in anyone wants to respond there.
zig
-
Memory-mapped IO registers in Zig. (2021)
There is an issue proposing this approach: https://github.com/ziglang/zig/issues/4284
- Zig Programming Language
- Zig Language 0.12 Release
-
Zig 0.12.0 Release Notes
https://github.com/ziglang/zig/issues/224
e.g.:
> > When debugging/prototyping, it's useful to comment out a line without having to refactor, e.g.
-
How to Write a PHP Extension with Zig?
When writing code in a scripting language, sometimes you need that extra bit of performance (or maybe an async feature from Zig).
-
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
NodeJS is by no means a slow runtime, it wouldn’t be so popular if it was. But compared to Bun, it’s slow. Bun was built from the ground up with speed in mind, using both JavascriptCore and Zig. The Bun team spent an enormous amount of time and energy trying to make Bun fast, including lots of profiling, benchmarking, and optimizations.
-
Bun 1.1
ntdll.dll!RtlUserThreadStart()
There are valid reasons to use APIs from NTDLL. Where I disagree with zig#1840 is the idea that it is always better to use NTDLL versions of API. Every other software ecosystem uses the standard Win32 APIs and diverging from that without a good reason seems like a good way to have unexpected behavior. One concrete example is most users and programmers expect Windows to redirect some file system paths when running on WOW64. But this is implemented in Kernel32, not ntdll.
https://github.com/ziglang/zig/issues/11894
- Zig, Rust, and Other Languages
-
Nanos – A Unikernel
Zig also has an IRC channel on libera (#zig) that is moderated by Andrew Kelley.[1]
[1] https://github.com/ziglang/zig/wiki/Community
- Ask HN: What Underrated Open Source Project Deserves More Recognition?
What are some alternatives?
libvorbis - Haskell binding for libvorbis, for decoding Ogg Vorbis audio files
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
go-m3u8 - Parse and generate m3u8 playlists for Apple HTTP Live Streaming (HLS) in Golang (ported from gem https://github.com/sethdeckard/m3u8)
Odin - Odin Programming Language
argos-translate - Open-source offline translation library written in Python
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
vorbis - Reference implementation of the Ogg Vorbis audio format.
rust - Empowering everyone to build reliable and efficient software.
vgmstream - vgmstream - A library for playback of various streamed audio formats used in video games.
go - The Go programming language
libopenaptx - Open Source implementation of Audio Processing Technology codec (aptX)
ssr-proxy-js - A Server-Side Rendering Proxy focused on customization and flexibility!