Csound Csound-dev Csound-tekno Search About

[Csnd] MP3 support..

Date2009-02-13 17:43
FromRory Walsh
Subject[Csnd] MP3 support..
I'm always getting asked by students if they can load mp3 files into
function tables or read them with diskin/soundin. I know the answer is
no but I'm wondering why. I know there are licensing issues but how
does other software get around this? Audacity uses LAME for it mp3
support. I know there is no support for it from libsndfile. I'm just
curious.

Rory.

Date2009-02-13 18:06
FromBrian Redfern
Subject[Csnd] Re: MP3 support..
This could be done with ogg vorbis instead of mp3 because ogg is an
open source compression format.

On Fri, Feb 13, 2009 at 9:43 AM, Rory Walsh  wrote:
> I'm always getting asked by students if they can load mp3 files into
> function tables or read them with diskin/soundin. I know the answer is
> no but I'm wondering why. I know there are licensing issues but how
> does other software get around this? Audacity uses LAME for it mp3
> support. I know there is no support for it from libsndfile. I'm just
> curious.
>
> Rory.
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2009-02-13 18:06
FromBrian Redfern
Subject[Csnd] Re: MP3 support..
It would have to be coded, but it would be possible for a coder to add
ogg support to csound. The problem with mp3 is that its patent
encumbered.

On Fri, Feb 13, 2009 at 10:06 AM, Brian Redfern  wrote:
> This could be done with ogg vorbis instead of mp3 because ogg is an
> open source compression format.
>
> On Fri, Feb 13, 2009 at 9:43 AM, Rory Walsh  wrote:
>> I'm always getting asked by students if they can load mp3 files into
>> function tables or read them with diskin/soundin. I know the answer is
>> no but I'm wondering why. I know there are licensing issues but how
>> does other software get around this? Audacity uses LAME for it mp3
>> support. I know there is no support for it from libsndfile. I'm just
>> curious.
>>
>> Rory.
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>

Date2009-02-13 18:24
FromRory Walsh
Subject[Csnd] Re: Re: MP3 support..
Isn't there already ogg vorbis support? The latest version of
libsndfile has it, thanks mainly to John ffitch, so I'm assuming it
made it's way into Csound. Unfortunately for most of my students their
ipod and personal music players don't play ogg vorbis. Personally I've
no need for mp3 support. I was just curious to know how other open
source software have support for it when there seems to be licensing
issues.

Rory.


2009/2/13 Brian Redfern :
> It would have to be coded, but it would be possible for a coder to add
> ogg support to csound. The problem with mp3 is that its patent
> encumbered.
>
> On Fri, Feb 13, 2009 at 10:06 AM, Brian Redfern  wrote:
>> This could be done with ogg vorbis instead of mp3 because ogg is an
>> open source compression format.
>>
>> On Fri, Feb 13, 2009 at 9:43 AM, Rory Walsh  wrote:
>>> I'm always getting asked by students if they can load mp3 files into
>>> function tables or read them with diskin/soundin. I know the answer is
>>> no but I'm wondering why. I know there are licensing issues but how
>>> does other software get around this? Audacity uses LAME for it mp3
>>> support. I know there is no support for it from libsndfile. I'm just
>>> curious.
>>>
>>> Rory.
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2009-02-13 19:03
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: MP3 support..
A hacky way would be using the system opcode to convert the mp3 (using
a command line converter) to wav and then creating the f-table with
ftgen.

Cheers,
Andrés

On Fri, Feb 13, 2009 at 1:24 PM, Rory Walsh  wrote:
> Isn't there already ogg vorbis support? The latest version of
> libsndfile has it, thanks mainly to John ffitch, so I'm assuming it
> made it's way into Csound. Unfortunately for most of my students their
> ipod and personal music players don't play ogg vorbis. Personally I've
> no need for mp3 support. I was just curious to know how other open
> source software have support for it when there seems to be licensing
> issues.
>
> Rory.
>
>
> 2009/2/13 Brian Redfern :
>> It would have to be coded, but it would be possible for a coder to add
>> ogg support to csound. The problem with mp3 is that its patent
>> encumbered.
>>
>> On Fri, Feb 13, 2009 at 10:06 AM, Brian Redfern  wrote:
>>> This could be done with ogg vorbis instead of mp3 because ogg is an
>>> open source compression format.
>>>
>>> On Fri, Feb 13, 2009 at 9:43 AM, Rory Walsh  wrote:
>>>> I'm always getting asked by students if they can load mp3 files into
>>>> function tables or read them with diskin/soundin. I know the answer is
>>>> no but I'm wondering why. I know there are licensing issues but how
>>>> does other software get around this? Audacity uses LAME for it mp3
>>>> support. I know there is no support for it from libsndfile. I'm just
>>>> curious.
>>>>
>>>> Rory.
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>
>>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés


Date2009-02-13 19:04
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: MP3 support..
> It would have to be coded, but it would be possible for a coder to add
> ogg support to csound. The problem with mp3 is that its patent
> encumbered.
>

ogg is supported in libsndfile 1.0.18 and later.  Thus will read ogg
without problems and can write ogg with teh correct incantation.

==John ff


Date2009-02-13 19:16
FromDavid
Subject[Csnd] Re: Re: Re: MP3 support..
Audacity doesn't directly include support for MP3 files, but on their
download page (audacity.sourceforge.net), there's a link to another
site where you can download the dll for the "LAME MP3 encoder". You
have to install it separately and then "tell" Audacity where to find
the library by going into Preferences and entering the name of the
directory where it was installed, but once you've done that, you can
export files in MP3 format. I guess that's their way of absolving
themselves of all legal responsibility. I'm not a lawyer, though; I
don't know if it would hold up in court.

David.

On Fri, Feb 13, 2009 at 1:24 PM, Rory Walsh  wrote:
> Isn't there already ogg vorbis support? The latest version of
> libsndfile has it, thanks mainly to John ffitch, so I'm assuming it
> made it's way into Csound. Unfortunately for most of my students their
> ipod and personal music players don't play ogg vorbis. Personally I've
> no need for mp3 support. I was just curious to know how other open
> source software have support for it when there seems to be licensing
> issues.
>
> Rory.
>
>
> 2009/2/13 Brian Redfern :
>> It would have to be coded, but it would be possible for a coder to add
>> ogg support to csound. The problem with mp3 is that its patent
>> encumbered.
>>
>> On Fri, Feb 13, 2009 at 10:06 AM, Brian Redfern  wrote:
>>> This could be done with ogg vorbis instead of mp3 because ogg is an
>>> open source compression format.
>>>
>>> On Fri, Feb 13, 2009 at 9:43 AM, Rory Walsh  wrote:
>>>> I'm always getting asked by students if they can load mp3 files into
>>>> function tables or read them with diskin/soundin. I know the answer is
>>>> no but I'm wondering why. I know there are licensing issues but how
>>>> does other software get around this? Audacity uses LAME for it mp3
>>>> support. I know there is no support for it from libsndfile. I'm just
>>>> curious.
>>>>
>>>> Rory.
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>
>>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2009-02-13 19:22
FromBrian Redfern
Subject[Csnd] Re: Re: Re: Re: MP3 support..
You could write a python/csound program that could take the wav output
from csound and pass it through lame from the command line to convert
into mp3.

Once you're using python along with csound you can use python to call
other programs.

On Fri, Feb 13, 2009 at 11:16 AM, David  wrote:
> Audacity doesn't directly include support for MP3 files, but on their
> download page (audacity.sourceforge.net), there's a link to another
> site where you can download the dll for the "LAME MP3 encoder". You
> have to install it separately and then "tell" Audacity where to find
> the library by going into Preferences and entering the name of the
> directory where it was installed, but once you've done that, you can
> export files in MP3 format. I guess that's their way of absolving
> themselves of all legal responsibility. I'm not a lawyer, though; I
> don't know if it would hold up in court.
>
> David.
>
> On Fri, Feb 13, 2009 at 1:24 PM, Rory Walsh  wrote:
>> Isn't there already ogg vorbis support? The latest version of
>> libsndfile has it, thanks mainly to John ffitch, so I'm assuming it
>> made it's way into Csound. Unfortunately for most of my students their
>> ipod and personal music players don't play ogg vorbis. Personally I've
>> no need for mp3 support. I was just curious to know how other open
>> source software have support for it when there seems to be licensing
>> issues.
>>
>> Rory.
>>
>>
>> 2009/2/13 Brian Redfern :
>>> It would have to be coded, but it would be possible for a coder to add
>>> ogg support to csound. The problem with mp3 is that its patent
>>> encumbered.
>>>
>>> On Fri, Feb 13, 2009 at 10:06 AM, Brian Redfern  wrote:
>>>> This could be done with ogg vorbis instead of mp3 because ogg is an
>>>> open source compression format.
>>>>
>>>> On Fri, Feb 13, 2009 at 9:43 AM, Rory Walsh  wrote:
>>>>> I'm always getting asked by students if they can load mp3 files into
>>>>> function tables or read them with diskin/soundin. I know the answer is
>>>>> no but I'm wondering why. I know there are licensing issues but how
>>>>> does other software get around this? Audacity uses LAME for it mp3
>>>>> support. I know there is no support for it from libsndfile. I'm just
>>>>> curious.
>>>>>
>>>>> Rory.
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>>
>>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2009-02-13 22:57
FromDave Seidel
Subject[Csnd] Re: Re: Re: MP3 support..
Rory, you might also want to let your students know about RockBox 
(http://www.rockbox.org), which is open source firmware for MP3 players, 
and it's great (and free).  I use it on my Sansa e260 and can listen to 
pretty much every format available, include OGG, FLAC, APE, and lots of 
others.

- Dave

Rory Walsh wrote:
> Isn't there already ogg vorbis support? The latest version of
> libsndfile has it, thanks mainly to John ffitch, so I'm assuming it
> made it's way into Csound. Unfortunately for most of my students their
> ipod and personal music players don't play ogg vorbis. Personally I've
> no need for mp3 support. I was just curious to know how other open
> source software have support for it when there seems to be licensing
> issues.
> 
> Rory.



Date2009-02-14 00:08
FromRory Walsh
Subject[Csnd] Re: Re: Re: Re: MP3 support..
That's looks great Dave, thanks for the link. As we're working with
function tables to load files rather than soundin/diskin it would
probably be more trouble than it's worth to provide a seemless way of
loading mp3 data into soundfile. Saying that an mp3soundin might be a
nice addition.

Rory.


2009/2/13 Dave Seidel :
> Rory, you might also want to let your students know about RockBox
> (http://www.rockbox.org), which is open source firmware for MP3 players, and
> it's great (and free).  I use it on my Sansa e260 and can listen to pretty
> much every format available, include OGG, FLAC, APE, and lots of others.
>
> - Dave
>
> Rory Walsh wrote:
>>
>> Isn't there already ogg vorbis support? The latest version of
>> libsndfile has it, thanks mainly to John ffitch, so I'm assuming it
>> made it's way into Csound. Unfortunately for most of my students their
>> ipod and personal music players don't play ogg vorbis. Personally I've
>> no need for mp3 support. I was just curious to know how other open
>> source software have support for it when there seems to be licensing
>> issues.
>>
>> Rory.
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>

Date2009-02-14 01:07
FromBrian Redfern
Subject[Csnd] Re: Re: Re: Re: Re: MP3 support..
On the side this makes me want to play with ogg and csound, I didn't
realize I could use ogg with it.

Really its too bad that Apple won't support ogg, I wonder if anyone
has tried a petition campaign on Apple.

I don't see why Apple can't support an open source codex when they
base their kernel off of bsd?

On Fri, Feb 13, 2009 at 4:08 PM, Rory Walsh  wrote:
> That's looks great Dave, thanks for the link. As we're working with
> function tables to load files rather than soundin/diskin it would
> probably be more trouble than it's worth to provide a seemless way of
> loading mp3 data into soundfile. Saying that an mp3soundin might be a
> nice addition.
>
> Rory.
>
>
> 2009/2/13 Dave Seidel :
>> Rory, you might also want to let your students know about RockBox
>> (http://www.rockbox.org), which is open source firmware for MP3 players, and
>> it's great (and free).  I use it on my Sansa e260 and can listen to pretty
>> much every format available, include OGG, FLAC, APE, and lots of others.
>>
>> - Dave
>>
>> Rory Walsh wrote:
>>>
>>> Isn't there already ogg vorbis support? The latest version of
>>> libsndfile has it, thanks mainly to John ffitch, so I'm assuming it
>>> made it's way into Csound. Unfortunately for most of my students their
>>> ipod and personal music players don't play ogg vorbis. Personally I've
>>> no need for mp3 support. I was just curious to know how other open
>>> source software have support for it when there seems to be licensing
>>> issues.
>>>
>>> Rory.
>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2009-02-14 01:09
FromBrian Redfern
Subject[Csnd] Re: Re: Re: Re: Re: MP3 support..
Not to take it even more off, but here's a petition already online to
sign to try to pressure Apple to support ogg:
http://www.petitiononline.com/appl1435/petition.html

On Fri, Feb 13, 2009 at 5:07 PM, Brian Redfern  wrote:
> On the side this makes me want to play with ogg and csound, I didn't
> realize I could use ogg with it.
>
> Really its too bad that Apple won't support ogg, I wonder if anyone
> has tried a petition campaign on Apple.
>
> I don't see why Apple can't support an open source codex when they
> base their kernel off of bsd?
>
> On Fri, Feb 13, 2009 at 4:08 PM, Rory Walsh  wrote:
>> That's looks great Dave, thanks for the link. As we're working with
>> function tables to load files rather than soundin/diskin it would
>> probably be more trouble than it's worth to provide a seemless way of
>> loading mp3 data into soundfile. Saying that an mp3soundin might be a
>> nice addition.
>>
>> Rory.
>>
>>
>> 2009/2/13 Dave Seidel :
>>> Rory, you might also want to let your students know about RockBox
>>> (http://www.rockbox.org), which is open source firmware for MP3 players, and
>>> it's great (and free).  I use it on my Sansa e260 and can listen to pretty
>>> much every format available, include OGG, FLAC, APE, and lots of others.
>>>
>>> - Dave
>>>
>>> Rory Walsh wrote:
>>>>
>>>> Isn't there already ogg vorbis support? The latest version of
>>>> libsndfile has it, thanks mainly to John ffitch, so I'm assuming it
>>>> made it's way into Csound. Unfortunately for most of my students their
>>>> ipod and personal music players don't play ogg vorbis. Personally I've
>>>> no need for mp3 support. I was just curious to know how other open
>>>> source software have support for it when there seems to be licensing
>>>> issues.
>>>>
>>>> Rory.
>>>
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>