BSD Ports

audio/libsamplerate 0.2.2nb6 NetBSD

Sample rate converter library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
6e59681be8
License
2-clause-bsd
Categories
audio
Package size
966.4 KiB, 3017.3 KiB installed

Description

Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio. One example of where such a thing would be useful is converting audio from the CD sample rate of 44.1kHz to the 48kHz sample rate used by DAT players.

SRC is capable of arbitrary and time varying conversions; from downsampling by a factor of 12 to upsampling by the same factor. Arbitrary in this case means that the ratio of input and output sample rates can be an irrational number. The conversion ratio can also vary with time for speeding up and slowing down effects.

SRC provides a small set of converters to allow quality to be traded off against computation cost. The current best converter provides a signal-to-noise ratio of 97dB with -3dB passband extending from DC to 96% of the theoretical best bandwidth for a given pair of input and output sample rates.

In the other systems

SystemPortVersion
NetBSDaudio/libsamplerate0.2.2nb6
FreeBSDaudio/libsamplerate0.2.2_1
OpenBSDaudio/libsamplerate0.2.2p0
DragonFlyaudio/libsamplerate0.2.2_1
MidnightBSDaudio/libsamplerate0.2.2

Install

Binary package:

pkgin install libsamplerate

From pkgsrc:

cd /usr/pkgsrc/audio/libsamplerate && make install clean

Dependencies

Run dependencies 2

Commit history 1

DateCommitCreditsLog message
6e59681be8 wiz *: recursive bump for libmpg123 dependency in lame