[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] soundfile size advice



yeah - the \b_read command is failing, which means that the sf_open function in scsynth is returning NULL (that is where this error prints from). Thing is, other libsndfile based programs CAN open it, so that is where part of the mystery is...

Josh

On May 9, 2009, at 9:42 PM, Karsten Gebbert wrote:

Sciss said :
i am using W64 with eisenkraut, no problem, so scsynth can certainly
open them. maybe is a problem of the client side SoundFile class?

How big are your files in general? Do they exceed 4G? I tried this
format and different sizes both small and above 4G and only the smaller
files worked.
I never use the SoundFile class so I can't tell really, but I am sure
this is also a problem with scsynth as the files won't load even when
use osc messaging style.





ciao, -sciss-

Am 08.05.2009 um 06:03 schrieb Karsten Gebbert:

Hi Erik,

Erik de Castro Lopo said :
Karsten Gebbert wrote:

me and a friend have been wondering what file format to use when
reading/writing large multichannel soundfiles ( >= 4G the limit of
what
"WAV" can handle). I saw that libsndfile does read/write "W64" which
theoretically does what I want, but when trying to cue a 8G/16
channel
file it just tells me it can't open it.

What does the sndfile-info program say about this file?

~$ sndfile-info 24ch.w64

Version : libsndfile-1.0.18

========================================
File : 24ch.w64
Length : 8294400112
riff : 8294400112
wave
fmt : 48
 Format        : 0x1 => WAVE_FORMAT_PCM
 Channels      : 24
 Sample Rate   : 48000
 Block Align   : 48
 Bit Width     : 16
 Bytes/sec     : 2304000
data : 8294400024

----------------------------------------
Sample Rate : 48000
Frames      : 172800000
Channels    : 24
Format      : 0x000B0002
Sections    : 1
Seekable    : TRUE
Duration    : 01:00:00.000
Signal Max  : 0 (-inf dB)

I hope this helps. Its strange to me how SC can't read this since its made with audacity (which afaik uses libsndfile too). Could it be that
audactity is messing it up so that SC can't read it? I doubt that
thats
the reason though as other programs can read and play this file
(i.e. ecasound).

Karsten	

--
-- http://krgn.goto10.org


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/


--
-- http://krgn.goto10.org

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/