Fot -o file it needs to be set via OPARMS (which I have written) For fout and any others it could be an optional argument. Will lok at that next. At present I have not done it for utilities like srconv where it seems odd. Can add over time. ==John ff Quoting Victor Lazzarini : > 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 > 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