Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: filelen for mp3 files

Date2010-06-29 19:41
From"Art Hunkins"
Subject[Csnd] Re: Re: filelen for mp3 files
Would it also be possible for filelen to handle other compressed file types? 
(I'm particularly interested in .wma files.)

Of course, this would apply to diskin's enhancement (or something similar) 
to handle a variety of compressed file types as well. Is this feasible, or 
is the request a "can of worms"?

I'd simply like to avoid file type conversions prior to use in Csound - 
particularly the need to convert from a compressed file to .wav - which so 
much expands input file size. (I wonder too whether converting from .wma to 
.wav may also *downgrade* quality?)

Art Hunkins

----- Original Message ----- 
From: "john ffitch" 
To: 
Cc: 
Sent: Tuesday, June 29, 2010 2:17 PM
Subject: [Csnd] Re: filelen for mp3 files


>>>>>> "joachim" == joachim heintz  writes:
>
> joachim> hi -
> joachim> can the filelen opcode be extended to recognize also the length 
> of mp3
> joachim> files? (at the moment it gives too short values.)
> joachim> this would be very useful in connection with the new mp3in 
> opcode.
>
> Not sure how to implement this.  With compressed formats one nearly
> has to decompress the whole thing to decide how long it is.  I will
> look again but I am not hopeful
>
> ==John ffitch
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
> 



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-06-29 19:55
FromJacob Joaquin
Subject[Csnd] Re: Re: Re: filelen for mp3 files
On Tue, Jun 29, 2010 at 11:41 AM, Art Hunkins  wrote:
> Would it also be possible for filelen to handle other compressed file types?

FLAC would be great since it's lossless. Nearly ideal for distributing
Csound pieces that use samples, imho.
http://flac.sourceforge.net/

Best,
Jake

Date2010-06-29 20:06
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: filelen for mp3 files
If it gets supported by libsndfile, we will support it. I think we  
should not as rule be diverting efforts into support a myriad of  
formats. MP3 is a special case, because it cannot be added to  
libsndfile.

Victor
On 29 Jun 2010, at 19:55, Jacob Joaquin wrote:

> On Tue, Jun 29, 2010 at 11:41 AM, Art Hunkins   
> wrote:
>> Would it also be possible for filelen to handle other compressed  
>> file types?
>
> FLAC would be great since it's lossless. Nearly ideal for distributing
> Csound pieces that use samples, imho.
> http://flac.sourceforge.net/
>
> Best,
> Jake
> -- 
> The Csound Blog - http://csound.noisepages.com/
> Slipmat - http://slipmat.noisepages.com/
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"