Closed rookwood101 closed 3 years ago
Issue: 👋
I updated my conda environment and libsndfile updated from 1.0.28 to 1.0.29. I am using libsndfile via the python library pysoundfile. previously pysoundfile included FLAC in its available formats list
I checked the commit log of this repository and I could not see it having been compiled out, however I am no expert. Although I did find an issue requesting for FLAC support to be removed, which I strongly oppose! (https://github.com/conda-forge/libsndfile-feedstock/issues/2) I also found an issue about unimplemented format errors: https://github.com/bastibe/SoundFile/issues/237
With version 1.0.28:
import soundfile as sf sf._libname -> '/.../envs/<redacted>/lib/libsndfile.so.1' sf.available_formats() -> {'AIFF': 'AIFF (Apple/SGI)', 'AU': 'AU (Sun/NeXT)', 'AVR': 'AVR (Audio Visual Research)', 'CAF': 'CAF (Apple Core Audio File)', 'FLAC': 'FLAC (Free Lossless Audio Codec)', 'HTK': 'HTK (HMM Tool Kit)', 'SVX': 'IFF (Amiga IFF/SVX8/SV16)', 'MAT4': 'MAT4 (GNU Octave 2.0 / Matlab 4.2)', 'MAT5': 'MAT5 (GNU Octave 2.1 / Matlab 5.0)', 'MPC2K': 'MPC (Akai MPC 2k)', 'OGG': 'OGG (OGG Container format)', 'PAF': 'PAF (Ensoniq PARIS)', 'PVF': 'PVF (Portable Voice Format)', 'RAW': 'RAW (header-less)', 'RF64': 'RF64 (RIFF 64)', 'SD2': 'SD2 (Sound Designer II)', 'SDS': 'SDS (Midi Sample Dump Standard)', 'IRCAM': 'SF (Berkeley/IRCAM/CARL)', 'VOC': 'VOC (Creative Labs)', 'W64': 'W64 (SoundFoundry WAVE 64)', 'WAV': 'WAV (Microsoft)', 'NIST': 'WAV (NIST Sphere)', 'WAVEX': 'WAVEX (Microsoft)', 'WVE': 'WVE (Psion Series 3)', 'XI': 'XI (FastTracker 2)'}
With version 1.0.29:
import soundfile as sf sf._libname ->'/.../envs/<redacted>/lib/libsndfile.so.1' sf.available_formats() -> {'AIFF': 'AIFF (Apple/SGI)', 'AU': 'AU (Sun/NeXT)', 'AVR': 'AVR (Audio Visual Research)', 'CAF': 'CAF (Apple Core Audio File)', 'HTK': 'HTK (HMM Tool Kit)', 'SVX': 'IFF (Amiga IFF/SVX8/SV16)', 'MAT4': 'MAT4 (GNU Octave 2.0 / Matlab 4.2)', 'MAT5': 'MAT5 (GNU Octave 2.1 / Matlab 5.0)', 'MPC2K': 'MPC (Akai MPC 2k)', 'PAF': 'PAF (Ensoniq PARIS)', 'PVF': 'PVF (Portable Voice Format)', 'RAW': 'RAW (header-less)', 'RF64': 'RF64 (RIFF 64)', 'SD2': 'SD2 (Sound Designer II)', 'SDS': 'SDS (Midi Sample Dump Standard)', 'IRCAM': 'SF (Berkeley/IRCAM/CARL)', 'VOC': 'VOC (Creative Labs)', 'W64': 'W64 (SoundFoundry WAVE 64)', 'WAV': 'WAV (Microsoft)', 'NIST': 'WAV (NIST Sphere)', 'WAVEX': 'WAVEX (Microsoft)', 'WVE': 'WVE (Psion Series 3)', 'XI': 'XI (FastTracker 2)'}
Environment (conda list):
conda list
Details about conda and system ( conda info ):
conda
conda info
yep, there was an issue with the FLAC package on conda-forge that I have fixed. Rebuilding libsndfile right now #16
fixed, thanks for the bug report!
Issue: 👋
I updated my conda environment and libsndfile updated from 1.0.28 to 1.0.29. I am using libsndfile via the python library pysoundfile. previously pysoundfile included FLAC in its available formats list
I checked the commit log of this repository and I could not see it having been compiled out, however I am no expert. Although I did find an issue requesting for FLAC support to be removed, which I strongly oppose! (https://github.com/conda-forge/libsndfile-feedstock/issues/2) I also found an issue about unimplemented format errors: https://github.com/bastibe/SoundFile/issues/237
With version 1.0.28:
With version 1.0.29:
Environment (
conda list
):Details about
conda
and system (conda info
):