Hi Julian,
I've attached an optimised implementation for [cos~] that we've been using for Heavy. It's an approximate taylor series expansion but it should be much faster than just using cosf(). Hopefully webpd supports [abs~] and [wrap~].
Cheers, Joe
On 24 August 2015 at 09:18, Alexandros Drymonitis adrcki@gmail.com wrote:
what about this?
[table_size( | [until] | [f]x[+ 1] | [t f f]__________ | | [/ table_size] | | | [* twoPi] | | | [cos] | | | [tabwrite table name]
well, ASCII patches don't look so good, but I hope you get the picture.
On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres <porres@gmail.com
wrote:
cause I made some tests, [osc~] will give the same result as [cos~]...
2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres porres@gmail.com:
Unfortunately [osc~] doesn't have the tonal quality I'm after
how is that?
2015-08-23 17:35 GMT-03:00 Julian Brooks jbeezez@gmail.com:
Alexandre & Alexandros,
Cheers for pitching in.
It's for a random bleepy patch. Unfortunately [osc~] doesn't have the tonal quality I'm after - good idea though.
On 23 August 2015 at 20:53, Alexandre Torres Porres porres@gmail.com wrote:
i do realize that, but who knows what he needs this for, it may work... :)
2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis adrcki@gmail.com:
On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < porres@gmail.com> wrote:
> you can treat [osc~] as [cos~] > > just give it a frequency of "0" and use the phase inlet as the angle > input (from 0 to 1). > But the phase inlet of [osc~] is a control inlet, and [cos~] takes signals..
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list