search for: sndfile

Displaying 20 results from an estimated 43 matches for "sndfile".

Did you mean: sendfile
2013 Dec 04
1
endian problems with AIFF and WAV
I have a test program that loads an AIFF or WAV file with libsndfile and plays then using libao. After running around in circles for a while, I found and fixed the problem, but I'm still confused as to why the solution works. Would someone please explain this to me so I don't trip over this again later in my project? I used sf_open_fd() to get a SNDFI...
2011 Nov 24
1
Wrong WAV AudioFormat
Hi, I am using vorbis-tools 1.4.0 on Fedora 14 to convert Ogg Vorbis files to MS WAV format. It seems that ogg123 is encoding the wrong AudioFormat value. For Uncompressed PCM, the AudioFormat should be 1 but for some reason, it is being encoded in the WAV file as -1. This used to work on some prior version of either Fedora or vorbis-tools. I thought I'd ask in the email list in case
2008 Feb 06
4
wav to flac corruption
...e of the WAV file's hex. This tells me little, but maybe > > someone out there knows more about this than me. > > > > http://img139.imageshack.us/my.php?image=screenshot251awavghexnd1.png > > I don't see anything wrong there. > > Have you tried running it past sndfile-info which is part of > libsndfile: > > http://www.mega-nerd.com/libsndfile/ > > Does the flac encoder you're using do small files correctly? It may > be a miscompiled FLAC encoder. > > Erik > -- > ----------------------------------------------------------------...
2010 Jan 05
3
FLAC C API / Visual Studio 2008 FILE* Issue
...ried that also on a virtual Windows XP > and > > it crashes there also. > > There is a whole bunch of weird stuff in windows, this is just another > instance. > > If what you want to do is read/write FLAC files with windows UCS-16 > filenames, > one option is to use libsndfile: > > http://www.mega-nerd.com/libsndfile/ > > which with version 1.0.21 has added this function: > > /* The function sf_wchar_open() is Windows Only! > ** Open a file passing in a Windows Unicode filename. Otherwise, this is > ** the same as sf_open(). > **...
2008 Oct 13
4
Support for CAF in flac command-line?
...ings > that are so long that they cannot be uncompressed from FLAC to WAV or > AIFF because they would exceed 4 GB - the maximum file size for those > formats. CAF does not have the same 4 GB limitations. Erik de Castro Lopo <mle+la at mega-nerd.com> wrote: ... > Whats more, the sndfile-convert program can also convert > from FLAC to the following file formats that support 63 bit > file offsets: > > Au, Caf, rf64, w64 I am glad somebody mentioned RF64. Supporting RF64 instead of CAF would solve Brian's problem equally well, and would be the natural extension to...
2010 Jan 05
2
FLAC C API / Visual Studio 2008 FILE* Issue
Hello, I am currently learning the FLAC C API and had the code working with FLAC__stream_decoder_init_file. However, since I'd need the Unicode filename support, I tried _wfopen_s in combination with FLAC__stream_decoder_init_FILE, however I get a runtime crash as sonn as I call FLAC__stream_decoder_process_until_end_of_stream. The same code (partially taken from the examples) is working
2010 Feb 13
3
Contents of Flac-dev Digest, Vol 65, Issue 5
Thanks for helping Erik, I have uploaded a small file example for you to check. I am curious about what is exactly producing this mismatch filesize! I know it's ridiculous and probably too paranoid, but knowledge is always welcome. -rw-r--r-- 1 djzn djzn 341418 2010-02-11 20:34 bandstand-linux.flac -rw-r--r-- 1 djzn djzn 556308 2010-02-11 20:34 bandstand.wav -rw-r--r-- 1 djzn djzn 341429
2007 Jul 19
2
Information
I have Windows XP on my computer. I am trying to access the audio on a file that my client has sent me. The message says: Codec is missig. Speex Voice A109 is not installed on your computer. When I try to install it from the internet, it tells me it cannot be installed. Can you give me any help on installing Speex Voice A109 so I can access the audio? Ann Felkins 308-235-4416 e-mail:
2010 Jan 05
0
FLAC C API / Visual Studio 2008 FILE* Issue
...de? > I work in Windows 7 64bit, but I tried that also on a virtual Windows XP and > it crashes there also. There is a whole bunch of weird stuff in windows, this is just another instance. If what you want to do is read/write FLAC files with windows UCS-16 filenames, one option is to use libsndfile: http://www.mega-nerd.com/libsndfile/ which with version 1.0.21 has added this function: /* The function sf_wchar_open() is Windows Only! ** Open a file passing in a Windows Unicode filename. Otherwise, this is ** the same as sf_open(). ** ** In order for this to work, yo...
2010 Feb 13
0
Decoded files identical, encoded files different (linux vs win encoder)
...is always welcome. > > > -rw-r--r-- 1 djzn djzn 341418 2010-02-11 20:34 bandstand-linux.flac > -rw-r--r-- 1 djzn djzn 556308 2010-02-11 20:34 bandstand.wav > -rw-r--r-- 1 djzn djzn 341429 2010-02-11 20:34 bandstand-win32.flac Wow, this is weird. I have a program thats part of libsndfile called sndfile-cmp. Run as: sndfile-cmp bandstand-linux.flac bandstand-win32.flac it shows nothing which means that the decoded audio of the two files is identical. However, I also have a hexdiff program which shows the two files to contain the identical byte data all the way up to offset 0...
2013 Dec 05
1
playback of opus files using portaudio
...gned long frameCount, const PaStreamCallbackTimeInfo* paInfo, PaStreamCallbackFlags paCallbacks, void *userData ) { OurData *data=(OurData*) userData; opus_int16* out=(opus_int16 *)output; int thisSize=frameCount; int smpls_decoded; while (thisSize>0) { smpls_decoded=op_read(data->sndFile,out,thisSize,NULL); out+=data->channels*smpls_decoded; thisSize-=data->channels*smpls_decoded; } return paContinue; } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20131205/236007a9/attachment.htm
2010 Jan 05
0
FLAC C API / Visual Studio 2008 FILE* Issue
...XP >> and >> > it crashes there also. >> >> There is a whole bunch of weird stuff in windows, this is just another >> instance. >> >> If what you want to do is read/write FLAC files with windows UCS-16 >> filenames, >> one option is to use libsndfile: >> >> http://www.mega-nerd.com/libsndfile/ >> >> which with version 1.0.21 has added this function: >> >> /* The function sf_wchar_open() is Windows Only! >> ** Open a file passing in a Windows Unicode filename. Otherwise, this >> is >&gt...
2011 Mar 06
2
Support for CAF in flac command-line?
...nix >> and Windows - everywhere that flac is now available. >> >> Although the format is rather unknown, there are some very specific >> advantages to adding CAF support. > > I am a little suprised that you don't know that CAF is already > supported > by libsndfile, on every platform where libsndfile works (which > includes > just about every unix and windows platforms i know of). I realize that I'm a couple of years late in saying so, but you're right. I finally took the time to download libsndfile and compile it (for Leopard), and sndf...
2006 Apr 22
2
libao - libsndfile plugin
Hello, I have written a libsndfile (http://www.mega-nerd.com/libsndfile/) file output plugin for libao. For the moment I haven't done any changes to the core of libao. However some changes could make this more useful. Before I embark on anything like this I'd like to have your opinion on a few things. --- First, what d...
2011 Nov 21
1
A-law and mu-law
Hi, sndfile-convert already converts from all these formats to FLAC, but the flac tool itself has more flac-specific options. Is it possible to use sndfile-convert to provide the input data? In any case Erik is maintaining both libsndfile and libflac, and it's unlikely he'd want to duplicate the code....
2008 Nov 03
0
No subject
...crashes there also. >> >> There is a whole bunch of weird stuff in windows, this is just = another >> instance. >> >> If what you want to do is read/write FLAC files with windows = UCS-16 >> filenames, >> one option is to use libsndfile: >> >> http://www.mega-nerd.com/libsndfile/ >> >> which with version 1.0.21 has added this function: >> >> /* The function sf_wchar_open() is Windows Only! >> ** Open a file passing in a Windows Unicode filename. = Other...
2017 May 26
2
warning that legacy WAVE file has format type 1 but bits-per-sample is 24
Hello, I've tried encoding a FLAC file from a WAVE file saved with 24-bits-per-sample, using the flac executable. I get this warning: WARNING: legacy WAVE file has format type 1 but bits-per-sample=24 The code is currently here on line 373: src/flac/encode.c where the comment says let these slide with a warning since they're unambiguous I do not really understand the warning
2011 Mar 10
4
Wav to Ogg Vorbis conversion
Dear experts, I am trying to use an example I found here: http://svn.xiph.org/trunk/vorbis/examples/encoder_example.c Could you please tell me what float** buffer is needed for (I don't see it used anywhere). Also, could you please tell me what this code is doing: for(i=0;i<bytes/4;i++){ buffer[0][i]=((readbuffer[i*4+1]<<8)|
2007 May 29
3
Adding support for .w64 (wave64) format
I use Sony (previously Sonic Foundry) Sound Forge, which allows me to save audio files in .w64 (Wave 64) format to get around the 2GB .wav file limitation. W64 was invented by Sonic Foundry, and is an open format as far as I know. The only programs I know about using the .w64 format at the moment are Sound Forge and Steinberg Nuendo, although there may be others out there. With increasing
2008 Feb 06
2
wav to flac corruption
And more info... Screen capture of the WAV file's hex. This tells me little, but maybe someone out there knows more about this than me. http://img139.imageshack.us/my.php?image=screenshot251awavghexnd1.png Thanks again, Matthew On Feb 6, 2008 12:18 PM, Matthew Davis <zasdarq@gmail.com> wrote: > Came across another error that might help! Using flac -t I get: > > 251_A.wav: