How To Install libresample on Fedora 34

libresample is A real-time library for audio sampling rate conversion A real-time library for audio sampling rate conversion

Introduction

In this tutorial we learn how to install libresample on Fedora 34.

What is libresample

A real-time library for audio sampling rate conversion providing several useful features relative to resample-1.7 on which it is based * It should build “out of the box” on more platforms, including Linux, Solaris, and Mac OS X (using the included configure script). There is also a Visual C++ project file for building under Windows. * Input and output signals are in memory (as opposed to sound files). * Computations are in floating-point (instead of fixed-point). * Filter table increased by a factor of 32, yielding more accurate results, even without linear interpolation (which also makes it faster). * Data can be processed in small chunks, enabling time-varying resampling ratios (ideal for time-warping applications and supporting an external clock input'' in software). * Easily applied to any number of simultaneous data channels libresample 0.1.3 36.fc34 x86_64 33 k libresample-0.1.3-36.fc34.src.rpm fedora A real-time library for audio sampling rate conversion https LGPLv2+ A real-time library for audio sampling rate conversion providing several useful features relative to resample-1.7 on which it is based * It should build "out of the box" on more platforms, including Linux, Solaris, and Mac OS X (using the included configure script). There is also a Visual C++ project file for building under Windows. * Input and output signals are in memory (as opposed to sound files). * Computations are in floating-point (instead of fixed-point). * Filter table increased by a factor of 32, yielding more accurate results, even without linear interpolation (which also makes it faster). * Data can be processed in small chunks, enabling time-varying resampling ratios (ideal for time-warping applications and supporting an external clock input’’ in software). * Easily applied to any number of simultaneous data channels

We can use yum or dnf to install libresample on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libresample.

Install libresample on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libresample using dnf by running the following command:

sudo dnf -y install libresample

Install libresample on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libresample using yum by running the following command:

sudo yum -y install libresample

How To Uninstall libresample on Fedora 34

To uninstall only the libresample package we can use the following command:

sudo dnf remove libresample

libresample Package Contents on Fedora 34

/usr/bin/resample-sndfile
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/9d35f2c4d512954a8188dda56dccbbded4451c
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/bcdcb1e66e8fd4611503f77c4e0ab0beedd113
/usr/lib64/libresample.so.0
/usr/share/doc/libresample
/usr/share/doc/libresample/LICENSE.txt
/usr/share/doc/libresample/README.txt
/usr/bin/resample-sndfile
/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/c54a8e8e1772c3e0a4710ecfb250cdac46636d
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/d50e6c228a51b9258e81aa52168964ad48d53a
/usr/lib/libresample.so.0
/usr/share/doc/libresample
/usr/share/doc/libresample/LICENSE.txt
/usr/share/doc/libresample/README.txt

References

Summary

In this tutorial we learn how to install libresample on Fedora 34 using yum and dnf.