Csound Csound-dev Csound-tekno Search About

[Cs-dev] Request for ogg quality flag

Date2014-03-03 05:15
Fromhcenteno
Subject[Cs-dev] Request for ogg quality flag
Hello,

I was wondering how difficult would it be to add a flag to Csound so the
compression quality level for ogg output can be set. From what I found, it
looks like SFC_SET_VBR_ENCODING_QUALITY in a sf_command (libsndfile) should
be used to set it.

I'm willing to look into doing it myself if someone could give me a pointer
as to where is the best place to add this sf_command. Would it be under
csoundFileOpenWithType() in envvar.c or in sfopenout() in libsnd.c?

Or maybe there is already a way of setting the ogg compression level that
I'm not aware of.

Best,

Hector




--
View this message in context: http://csound.1045644.n5.nabble.com/Request-for-ogg-quality-flag-tp5732917.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-03 11:35
FromDave Phillips
SubjectRe: [Cs-dev] Request for ogg quality flag
On 03/03/2014 12:15 AM, hcenteno wrote:
> Hello,
>
> I was wondering how difficult would it be to add a flag to Csound so the
> compression quality level for ogg output can be set.

Add my vote for this feature, it would be helpful.

Best,

dp


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-03 11:44
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Request for ogg quality flag
AttachmentsNone  

Date2014-03-03 11:49
FromDave Phillips
SubjectRe: [Cs-dev] Request for ogg quality flag
On 03/03/2014 06:44 AM, jpff@cs.bath.ac.uk wrote:
> May be a good idea but how to specify?  Output files occur via -o and
> fout and both will need access to the flag.  One could add a top-level
> command-line flag to control quality for all ogg files (and possibly
> othes if relevant).  Is that sufficient?
>
> =John ff

That would work for my purposes, John. I usually use a particular 
setting for all OGG files.

Best,

dp



> Quoting hcenteno :
>
>> Hello,
>>
>> I was wondering how difficult would it be to add a flag to Csound so the
>> compression quality level for ogg output can be set. From what I found, it
>> looks like SFC_SET_VBR_ENCODING_QUALITY in a sf_command (libsndfile) should
>> be used to set it.
>>
>> I'm willing to look into doing it myself if someone could give me a pointer
>> as to where is the best place to add this sf_command. Would it be under
>> csoundFileOpenWithType() in envvar.c or in sfopenout() in libsnd.c?
>>
>> Or maybe there is already a way of setting the ogg compression level that
>> I'm not aware of.
>>
>> Best,
>>
>> Hector
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/Request-for-ogg-quality-flag-tp5732917.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Subversion Kills Productivity. Get off Subversion & Make the Move to
>> Perforce.
>> With Perforce, you get hassle-free workflows. Merge that actually works.
>> Faster operations. Version large binaries.  Built-in WAN optimization and the
>> freedom to use Git, Perforce or both. Make the move to Perforce.
>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-03 11:51
FromRory Walsh
SubjectRe: [Cs-dev] Request for ogg quality flag
Could the list of formats given to fout be updated?

On 3 March 2014 11:49, Dave Phillips  wrote:
>
> On 03/03/2014 06:44 AM, jpff@cs.bath.ac.uk wrote:
>> May be a good idea but how to specify?  Output files occur via -o and
>> fout and both will need access to the flag.  One could add a top-level
>> command-line flag to control quality for all ogg files (and possibly
>> othes if relevant).  Is that sufficient?
>>
>> =John ff
>
> That would work for my purposes, John. I usually use a particular
> setting for all OGG files.
>
> Best,
>
> dp
>
>
>
>> Quoting hcenteno :
>>
>>> Hello,
>>>
>>> I was wondering how difficult would it be to add a flag to Csound so the
>>> compression quality level for ogg output can be set. From what I found, it
>>> looks like SFC_SET_VBR_ENCODING_QUALITY in a sf_command (libsndfile) should
>>> be used to set it.
>>>
>>> I'm willing to look into doing it myself if someone could give me a pointer
>>> as to where is the best place to add this sf_command. Would it be under
>>> csoundFileOpenWithType() in envvar.c or in sfopenout() in libsnd.c?
>>>
>>> Or maybe there is already a way of setting the ogg compression level that
>>> I'm not aware of.
>>>
>>> Best,
>>>
>>> Hector
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://csound.1045644.n5.nabble.com/Request-for-ogg-quality-flag-tp5732917.html
>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>
>>> ------------------------------------------------------------------------------
>>> Subversion Kills Productivity. Get off Subversion & Make the Move to
>>> Perforce.
>>> With Perforce, you get hassle-free workflows. Merge that actually works.
>>> Faster operations. Version large binaries.  Built-in WAN optimization and the
>>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
>> With Perforce, you get hassle-free workflows. Merge that actually works.
>> Faster operations. Version large binaries.  Built-in WAN optimization and the
>> freedom to use Git, Perforce or both. Make the move to Perforce.
>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-03 12:02
FromVictor Lazzarini
SubjectRe: [Cs-dev] Request for ogg quality flag
 Can the libsndfile control be set on a file-by-file basis? That would allow us to have both a general flag and an opcode to set it for fout.

Victor
On 3 Mar 2014, at 11:44, jpff@cs.bath.ac.uk wrote:

> May be a good idea but how to specify?  Output files occur via -o and  
> fout and both will need access to the flag.  One could add a top-level  
> command-line flag to control quality for all ogg files (and possibly  
> othes if relevant).  Is that sufficient?
> 
> =John ff
> 
> Quoting hcenteno :
> 
>> Hello,
>> 
>> I was wondering how difficult would it be to add a flag to Csound so the
>> compression quality level for ogg output can be set. From what I found, it
>> looks like SFC_SET_VBR_ENCODING_QUALITY in a sf_command (libsndfile) should
>> be used to set it.
>> 
>> I'm willing to look into doing it myself if someone could give me a pointer
>> as to where is the best place to add this sf_command. Would it be under
>> csoundFileOpenWithType() in envvar.c or in sfopenout() in libsnd.c?
>> 
>> Or maybe there is already a way of setting the ogg compression level that
>> I'm not aware of.
>> 
>> Best,
>> 
>> Hector
>> 
>> 
>> 
>> 
>> --
>> View this message in context:  
>> http://csound.1045644.n5.nabble.com/Request-for-ogg-quality-flag-tp5732917.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>> 
>> ------------------------------------------------------------------------------
>> Subversion Kills Productivity. Get off Subversion & Make the Move to  
>> Perforce.
>> With Perforce, you get hassle-free workflows. Merge that actually works.
>> Faster operations. Version large binaries.  Built-in WAN optimization and the
>> freedom to use Git, Perforce or both. Make the move to Perforce.
>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works. 
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-03 14:11
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Request for ogg quality flag
AttachmentsNone  

Date2014-03-03 14:26
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Request for ogg quality flag
AttachmentsNone  

Date2014-03-03 16:36
Fromhcenteno
SubjectRe: [Cs-dev] Request for ogg quality flag
wow! that was fast! thank you John. A general command line flag would also
work for my purposes. Looking forward to trying it!

Best,

Hector




--
View this message in context: http://csound.1045644.n5.nabble.com/Request-for-ogg-quality-flag-tp5732917p5732938.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-03 16:45
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Request for ogg quality flag
AttachmentsNone  

Date2014-03-04 00:28
Fromhcenteno
SubjectRe: [Cs-dev] Request for ogg quality flag
Thank you very much John. Tested in Android and it works too.

Cheers,

Hector




--
View this message in context: http://csound.1045644.n5.nabble.com/Request-for-ogg-quality-flag-tp5732917p5732950.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net