Csound Csound-dev Csound-tekno Search About

[Csnd] commandline flag (bug?)

Date2014-01-17 11:41
Frompeiman khosravi
Subject[Csnd] commandline flag (bug?)
Hello, 

I think there is a bug in reading the flags in CsOptions, at least on the os x.

This renders a 16 bit file:

-o "test.wav" -W -3

Whereas this renders the expected 24 bit file:

-W -3 -o "test.wav" 

I noticed it as one of my students turned up with 16 bit files, it had us both confused.

Thanks,
Peiman




Date2014-01-17 12:15
FromRory Walsh
SubjectRe: [Csnd] commandline flag (bug?)
The cheek of them to present you with 16bit sound files!

On 17 January 2014 11:41, peiman khosravi  wrote:
> Hello,
>
> I think there is a bug in reading the flags in CsOptions, at least on the os
> x.
>
> This renders a 16 bit file:
>
> -o "test.wav" -W -3
>
> Whereas this renders the expected 24 bit file:
>
> -W -3 -o "test.wav"
>
> I noticed it as one of my students turned up with 16 bit files, it had us
> both confused.
>
> Thanks,
> Peiman
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News

Date2014-01-17 12:39
Frompeiman khosravi
SubjectRe: [Csnd] commandline flag (bug?)
Bit depth is no joking matter Rory!



On 17 January 2014 12:15, Rory Walsh <rorywalsh@ear.ie> wrote:
The cheek of them to present you with 16bit sound files!

On 17 January 2014 11:41, peiman khosravi <peimankhosravi@gmail.com> wrote:
> Hello,
>
> I think there is a bug in reading the flags in CsOptions, at least on the os
> x.
>
> This renders a 16 bit file:
>
> -o "test.wav" -W -3
>
> Whereas this renders the expected 24 bit file:
>
> -W -3 -o "test.wav"
>
> I noticed it as one of my students turned up with 16 bit files, it had us
> both confused.
>
> Thanks,
> Peiman
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"