[PD] GEM Shear / angle relationship - sinusoidal error

Ed Kelly morph_2016 at yahoo.co.uk
Tue Sep 7 18:56:21 CEST 2010


Oh crap, I was quite baffled by something I should have already known, but my 
trigonometry is quite rusty. It's been a long time since I went to school...

[abs] before [pow] is necessary because [pow] only works with positive numbers. 
However, you're right, I don't need that. Just tangent = opposite / adjacent

> 3. what you need there is just opposite/adjacent, no square, no tan.
>   the opposite/adjacent is already the tangent of an angle, and you don't
>   need make that angle explicit at all.

You're right of course. Silly me - I knew that, but my trig is rusty!

 
> 5. why do you need to shear two rectangles, instead of shearing a single,
>   longer one ?

Because if you have an 8th note connected to a 16th note then you need one and a 
half sheared rectangles, but in order to look right they must be parallel. This 
way I can create a single [beam] object that creates single, double, etc beams 
joined together in beamed groups. Otherwise I can only have four 16th notes, two 
8th notes, eight 32nd notes etc. See enclosed example.

X
ed

Metastudio 3 for Pure Data - Free download at:
http://sharktracks.co.uk/puredata



----- Original Message ----
From: Mathieu Bouchard <matju at artengine.ca>
To: Jack <jack at rybn.org>
Cc: Ed Kelly <morph_2016 at yahoo.co.uk>; PD List <pd-list at iem.at>; cyrille henry 
<ch at chnry.net>
Sent: Sun, 5 September, 2010 18:43:37
Subject: Re: [PD] GEM Shear / angle relationship - sinusoidal error

On Sun, 5 Sep 2010, Jack wrote:

>> 1. [abs] just before [pow 2] is completely useless.
> Wrong, that depend : float -2 -> pow 2 doesn't give 4 but 0. So [abs]
> can be useful to get 4.

right. [pow] really sucks... however, [expr pow($f1,2)] does it correctly... and 
so does [t a a] [*].

_______________________________________________________________________
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testme.tar.gz
Type: application/gzip
Size: 270129 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100907/e371270a/attachment-0001.bin>


More information about the Pd-list mailing list