Re: [Csnd] problems with .ogg and Mac
Date | 2012-01-24 18:14 |
From | "Art Hunkins" |
Subject | Re: [Csnd] problems with .ogg and Mac |
<no flame>
FWIW, I'm happy to hear that someone is having
problems with Mac, and is not having problems with Windows.
</no flame>
Art Hunkins
|
Date | 2012-01-24 18:17 |
From | Victor |
Subject | Re: [Csnd] problems with .ogg and Mac |
The libsndfile binary currently bundled with csound does not support ogg files.
|
Date | 2012-01-24 18:21 |
From | Michele Nasti |
Subject | Re: [Csnd] problems with .ogg and Mac |
Is there any way to change this behavior? (stupid question) Can I change the libsndfile manually, if there exist one that can deal with ogg files? what kind of compressed audio file type is supported from all the 3 major OSes ?
Thank you all. Michele Nasti
2012/1/24 Victor <Victor.Lazzarini@nuim.ie>
|
Date | 2012-01-24 18:54 |
From | Victor |
Subject | Re: [Csnd] problems with .ogg and Mac |
It is not a behaviour. Libsndfile has external dependencies to deal with ogg files and these are not present in the current binary release of csound. If you build and install libsndfile, replacing the bundled one in /usr/local/lib, you can have your own customly configured one.
|
Date | 2012-01-24 20:14 |
From | Michele Nasti |
Subject | Re: [Csnd] problems with .ogg and Mac |
As I read from the Mega-Nerd.com website (mantainers of libsndfile): "
Fortunately, Ogg Vorbis exists as an alternative to MP3.
Support for Ogg Vorbis was added to libsndfile (mostly due to the efforts of
John ffitch of the Csound project) in version 1.0.18" Since John Ffitch is very active on the mailing list, this makes me wonder why you choose to not distribute this "external dependencies" with the Mac release, if I'm not asking too much. Michele Nasti 2012/1/24 Victor <Victor.Lazzarini@nuim.ie>
|
Date | 2012-01-24 20:44 |
From | Victor |
Subject | Re: [Csnd] problems with .ogg and Mac |
I did not choose anything, just did not add the external dependency, as it complicated the build which is already complicated. Erik reminded me I could use static links, which I will investigate for the next release. You have two choices: build it yourself or use other formats like mp3, which is supported for reading by specific opcodes and GEN. Or use another libsndfile-supported format.
|
Date | 2012-01-24 20:48 |
From | Michele Nasti |
Subject | Re: [Csnd] problems with .ogg and Mac |
Mp3 has never worked flawlessy on my computers, so I think I will switch to FLAC. However, I wish that Ogg will be supported soon, it would be great for my project and for portability issues. Thank you!
2012/1/24 Victor <Victor.Lazzarini@nuim.ie>
|
Date | 2012-01-24 20:54 |
From | Victor |
Subject | Re: [Csnd] problems with .ogg and Mac |
Flac is not yet supported in the osx release, like ogg.
|
Date | 2012-01-24 21:13 |
From | Michele Nasti |
Subject | Re: [Csnd] problems with .ogg and Mac |
So I have to try Mp3 ??? It doesn't work well with ftgen ... I mean, I have never succeded in doing
It is very strange that the only universal codec used in all csound distributions is MP3, that is a patented codec, and others (ogg, flac...) are not working...
2012/1/24 Victor <Victor.Lazzarini@nuim.ie>
|
Date | 2012-01-24 22:03 |
From | Erik de Castro Lopo |
Subject | Re: [Csnd] problems with .ogg and Mac |
Michele Nasti wrote: > So I have to try Mp3 ??? It doesn't work well with ftgen ... I mean, I have > never succeded in doing > > giSoundFile ftgen 0 0 0 49 "/Users/michelenasti/Dropbox/ > netbeans/MusicaParlata2/mpp2project/GattoVolpe10.ogg" 0 0 2 > > > It is very strange that the only universal codec used in all csound > distributions is MP3, that is a patented codec, and others (ogg, flac...) > are not working... Unfortunately, complaining about it isn't going to fix it and its only going to annoy the people who said they will look into fixing it when then can. In the meantime, Victor has suggested you compile libsndfile yourself (doing all libsndfile's dependencies first) and install it in /usr/local/lib. Erik |
Date | 2012-01-24 22:39 |
From | Michele Nasti |
Subject | Re: [Csnd] problems with .ogg and Mac |
Hi Erik, I was not complaining, you should read my sentence with a "what a surprise!" tone... because I never use Apple computers and I just thought it was just going to work. Honestly, I'm not a C expert, so it is very difficoult for me trying to compile it or test it. That's why if I get a sponsor for my program I'll help CSound to become greater.
Michele
2012/1/24 Erik de Castro Lopo <mle+la@mega-nerd.com>
|