Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] bformdec / bformenc angles & manual

Date2008-02-19 15:18
From"Art Hunkins"
SubjectRe: [Cs-dev] bformdec / bformenc angles & manual
I very much would like clarification of this issue; code and manual should 
be technically correct and in agreement.

And, Victor, if anything has changed since you last advised me on these 
opcodes, I'd appreciate your further comments (if and when appropriate). As 
you may recall, I revised three of my compositions to be in line with your 
recommendations.

I certainly recall that the manual description did not at all correspond to 
what I needed to do to make these opcodes "work." At the same time, I am not 
averse to redoing my .csd's if code bugs need fixing.

Art Hunkins

----- Original Message ----- 
From: "Victor Lazzarini" 
To: "Developer discussions" 
Sent: Tuesday, February 19, 2008 9:50 AM
Subject: [Cs-dev] bformdec / bformenc angles & manual


> As far as I can see, the expected format for angles in
> bformenc  is counterclockwise, starting from the right (0),
> as the X direction is cos(A)cos(E)  and Y is sin(A)cos(E).
>
> If  we say hard right, then cos(0) = 1 and sin(0) = 1 looks
> the right coefficients to me, for the X and Y directions. Then
> front cos(90) = 0 and sin(90) = 1 also do.
>
> The manual says angles are *clockwise*, but as far as I can see
> the code uses the conventions above. I expect the manual to
> be wrong. Can anyone confirm/correct this?
>
> Now, as far as bformdec is concerned, I see a similar thing. The
> coefficients for say, 8-channel ring are for angles (described
> correctly in the manual) increasing counterclockwise from the
> right. But as the manual does not say anything, we are left wondering.
> So can this be confirmed and the manual updated?
>
> Also, have these opcodes been fixed? I have fixed them locally,
> but did not commit, as they are not my code. Should I do so?
>
> Thanks
>
> Victor
>
>
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-02-19 15:29
FromVictor Lazzarini
SubjectRe: [Cs-dev] bformdec / bformenc angles & manual
as far as I can see in the code, these lines are correct, but I am asking
really if anyone doesn't think so. Then the manual should be updated.

The bug in bformdec is that it's not working at all, but I think I got a fix
and we'll make sure 5.08 has it.

Victor

At 15:18 19/02/2008, you wrote:
>I very much would like clarification of this issue; code and manual should
>be technically correct and in agreement.
>
>And, Victor, if anything has changed since you last advised me on these
>opcodes, I'd appreciate your further comments (if and when appropriate). As
>you may recall, I revised three of my compositions to be in line with your
>recommendations.
>
>I certainly recall that the manual description did not at all correspond to
>what I needed to do to make these opcodes "work." At the same time, I am not
>averse to redoing my .csd's if code bugs need fixing.
>
>Art Hunkins
>
>----- Original Message -----
>From: "Victor Lazzarini" 
>To: "Developer discussions" 
>Sent: Tuesday, February 19, 2008 9:50 AM
>Subject: [Cs-dev] bformdec / bformenc angles & manual
>
>
> > As far as I can see, the expected format for angles in
> > bformenc  is counterclockwise, starting from the right (0),
> > as the X direction is cos(A)cos(E)  and Y is sin(A)cos(E).
> >
> > If  we say hard right, then cos(0) = 1 and sin(0) = 1 looks
> > the right coefficients to me, for the X and Y directions. Then
> > front cos(90) = 0 and sin(90) = 1 also do.
> >
> > The manual says angles are *clockwise*, but as far as I can see
> > the code uses the conventions above. I expect the manual to
> > be wrong. Can anyone confirm/correct this?
> >
> > Now, as far as bformdec is concerned, I see a similar thing. The
> > coefficients for say, 8-channel ring are for angles (described
> > correctly in the manual) increasing counterclockwise from the
> > right. But as the manual does not say anything, we are left wondering.
> > So can this be confirmed and the manual updated?
> >
> > Also, have these opcodes been fixed? I have fixed them locally,
> > but did not commit, as they are not my code. Should I do so?
> >
> > Thanks
> >
> > Victor
> >
> >
> >
> > Victor Lazzarini
> > Music Technology Laboratory
> > Music Department
> > National University of Ireland, Maynooth
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2008.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-02-19 15:55
From"Steven Yi"
SubjectRe: [Cs-dev] bformdec / bformenc angles & manual
AttachmentsNone