| CARVIEW |
Select Language
HTTP/2 200
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: PHPSESSID=6t5gn7qjtjdcd6qj4hvd4rklm0; path=/
content-type: text/html; charset=UTF-8
date: Sun, 28 Dec 2025 00:15:54 GMT
server: Apache
pkgsrc.se | The NetBSD package collection
archivers
audio
alac
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
mail
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
print
regress
security
shells
sysutils
textproc
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./audio/alac, Basic decoder for Apple Lossless Audio Codec files (ALAC)
[
Branch: CURRENT, Version: 0.2.0, Package name: alac-0.2.0, Maintainer: js
Located here is a basic decoder for Apple Lossless Audio Codec files
(ALAC). ALAC is a proprietary lossless audio compression scheme. Apple
never released any documents on the format.
What I provide here is a C implementation of a decoder, written from
reverse engineering the file format. It turns out that most of the
algorithms in the codec are fairly well known. ALAC uses an adaptive FIR
prediction algorithm and stores the error values using a modified rice
or golumb algorithm. Further details are in alac.c.
Although an encoder is not provided, by using the decoder as a sort of
specification it should be fairly trivial to write an encoder. By
exploiting other lossless audio encoders, such as FLAC, the task will be
much easier. Although one wouldn't be able to copy the compression
algorithms verbatim, as adaptive compression is used in ALAC and not in
FLAC. There are, however, a bunch of academic papers on the issue.
The program located here will not be able to handle all ALAC files, it
can only handle mono or stereo files. ALAC allows up to 8 channels. It
should be trivial to finish the implementation once I find files that I
can test it with. The ALAC decoder supports both 16 and 24 bit sample
sizes.
Required to build:
[pkgtools/cwrappers]
Navigation:
-
Browse pkgsrc
(this page)
archivers
audio
alacbenchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
regress
security
shells
sysutils
textproc
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./audio/alac, Basic decoder for Apple Lossless Audio Codec files (ALAC)
[
CVSweb ] [
Homepage ] [
RSS ] [
Required by ] [
Add to tracker ]
Branch: CURRENT, Version: 0.2.0, Package name: alac-0.2.0, Maintainer: js
Located here is a basic decoder for Apple Lossless Audio Codec files
(ALAC). ALAC is a proprietary lossless audio compression scheme. Apple
never released any documents on the format.
What I provide here is a C implementation of a decoder, written from
reverse engineering the file format. It turns out that most of the
algorithms in the codec are fairly well known. ALAC uses an adaptive FIR
prediction algorithm and stores the error values using a modified rice
or golumb algorithm. Further details are in alac.c.
Although an encoder is not provided, by using the decoder as a sort of
specification it should be fairly trivial to write an encoder. By
exploiting other lossless audio encoders, such as FLAC, the task will be
much easier. Although one wouldn't be able to copy the compression
algorithms verbatim, as adaptive compression is used in ALAC and not in
FLAC. There are, however, a bunch of academic papers on the issue.
The program located here will not be able to handle all ALAC files, it
can only handle mono or stereo files. ALAC allows up to 8 channels. It
should be trivial to finish the implementation once I find files that I
can test it with. The ALAC decoder supports both 16 and 24 bit sample
sizes.
Required to build:
[pkgtools/cwrappers]
Master sites:
Filesize: 18.573 KBVersion history: (Expand)
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
- (2025-07-15) Package has been reborn
- (2025-07-15) Package deleted from pkgsrc
- (2020-04-25) Updated to version: alac-0.2.0
- (2020-04-15) Package added to pkgsrc.se, version alac_decoder-0.2.0 (created)
CVS history: (Expand)
| 2023-08-30 23:46:34 by Jonathan Schleifer | Files touched by this commit (19) |
Log message: Always use the same e-mail address for packages I maintain |
| 2021-10-26 11:59:39 by Nia Alarie | Files touched by this commit (455) |
Log message: audio: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes. The following distfiles couldn't be fetched (possibly they are fetched conditionally): ./audio/freeswitch-sounds-ru/distinfo \ freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz ./audio/freeswitch-sounds-ru/distinfo \ freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz ./audio/freeswitch-music/distinfo \ freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz ./audio/freeswitch-music/distinfo \ freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz ./audio/freeswitch-sounds-fr/distinfo \ freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz ./audio/freeswitch-sounds-fr/distinfo \ freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz ./audio/freeswitch-sounds-en/distinfo \ freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.22.tar.gz ./audio/freeswitch-sounds-en/distinfo \ freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.22.tar.gz |
| 2021-10-07 15:10:03 by Nia Alarie | Files touched by this commit (459) |
Log message: audio: Remove SHA1 hashes for distfiles |
| 2020-04-25 14:54:00 by Jonathan Schleifer | Files touched by this commit (1) |
Log message: audio/alac: Cosmetic improvement |
| 2020-04-25 13:20:19 by Jonathan Schleifer | Files touched by this commit (1) |
Log message: audio/alac: Fix wrong PKGNAME |
| 2020-04-15 00:33:14 by Jonathan Schleifer | Files touched by this commit (4) |
Log message: Import audio/alac from wip A basic decoder for Apple Lossless Audio Codec files. |
