Re: [PD] creb's ramp~ needs a help file

2017-01-28 Thread Dan Wilcox
I’d say replace C implementations with abstractions if the performance 
difference is negligible. :)

> On Jan 28, 2017, at 5:41 PM, pd-list-requ...@lists.iem.at wrote:
> 
>  I think it could be a good idea and a lot of work to present at least some 
> examples in the help files of how such externals could be modelled within Pd 
> vanilla. Naively I think this could help both newbies and people learning to 
> code externals.


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] creb's ramp~ needs a help file

2017-01-28 Thread Ed Kelly via Pd-list
Yes, I think the documentation is important (shame on me for never finishing 
all my docs). It's just a bit of a shame that we have to document some quite 
redundant functions, but if they make life easier for other patchers then 
that's great. I've made quite a few things in C that could be abstractions for 
example.

Also, there's an annoyance that comes from having to investigate C code from 
abandoned libs, although this is usually not so hard with things like ramp~. I 
think it could be a good idea and a lot of work to present at least some 
examples in the help files of how such externals could be modelled within Pd 
vanilla. Naively I think this could help both newbies and people learning to 
code externals.
xEd
 _-_-_-_-_-_-_-^-_-_-_-_-_-_-_

For Lone Shark releases, Pure Data software and published Research, go to 
http://sharktracks.co.uk  

On Saturday, 28 January 2017, 20:48, Alexandre Torres Porres 
 wrote:
 

 
it's one of those objects that is in Pd but could be easily dealt with in Pd 
without the external (...) but it's basically a line~ with an offset, and a 
fixed rate 

 looks like~ cyclone's count~ but much simpler

it just generates a signal ramp with the right characteristics to patch it into 
tabread4~ and playback samples at their original pitch.

or using it with tabread~ then instead pf tabread4~
looks again like count~ as one of its applications is in conjunction with 
index~ (basically tabread~). 

There are quite a lot of externals like this (and some from me) where people 
coded something in C for convenience, but can be easily done in Pd without 
externals.

I know... Pd Extended is filled with things like that, and to make it more of a 
deal, documentation is sometimes bad, when simply non existing.
I'm willing to help this in the forth coming Purr Data, by reorganising it and 
making it better documented
cheers

   ___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] creb's ramp~ needs a help file

2017-01-28 Thread Alexandre Torres Porres
>
> it's one of those objects that is in Pd but could be easily dealt with in
> Pd without the external (...) but it's basically a line~ with an offset,
> and a fixed rate
>

 looks like~ cyclone's count~ but much simpler

it just generates a signal ramp with the right characteristics to patch it
> into tabread4~ and playback samples at their original pitch.
>

or using it with tabread~ then instead pf tabread4~

looks again like count~ as one of its applications is in conjunction with
index~ (basically tabread~).


There are quite a lot of externals like this (and some from me) where
> people coded something in C for convenience, but can be easily done in Pd
> without externals.
>

I know... Pd Extended is filled with things like that, and to make it more
of a deal, documentation is sometimes bad, when simply non existing.

I'm willing to help this in the forth coming Purr Data, by reorganising it
and making it better documented

cheers
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] creb's ramp~ needs a help file

2017-01-28 Thread Alexandre Torres Porres
Thanks, if I'm not mistaken, Fred is taking care of creb now, so maybe he
could work on this help file and include it in a new deken release

cheers

2017-01-28 12:48 GMT-02:00 Ed Kelly :

> ramp~
>
> send it a number and it will generate a ramp~ - effectively a sample
> number to read arrays with something like a phasor~, but it just goes up
> and up.
>
> I just had a look in the C code. In all honesty it's one of those objects
> that is in Pd but could be easily dealt with in Pd without the external. No
> disrespect to Tom Schouten, but it's basically a line~ with an offset, and
> a fixed rate i.e. it just generates a signal ramp with the right
> characteristics to patch it into tabread4~ and playback samples at their
> original pitch. The only exception is that it always starts from a specific
> value sent to the inlet.
>
> There are quite a lot of externals like this (and some from me) where
> people coded something in C for convenience, but can be easily done in Pd
> without externals.
>
> Here's a semi pddp formatted helpfile.
> It's boring.
> Cheers,
> Ed
>
> _-_-_-_-_-_-_-^-_-_-_-_-_-_-_
>
> For *Lone Shark *releases, *Pure Data *software and published *Research*,
> go to http://sharktracks.co.uk
>
>
> On Thursday, 19 January 2017, 0:38, Alexandre Torres Porres <
> por...@gmail.com> wrote:
>
>
> howdy, there's no help file for creb/ramp~
>
> anybody ever used it?
>
> thanks
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] creb's ramp~ needs a help file

2017-01-28 Thread Ed Kelly via Pd-list
ramp~
send it a number and it will generate a ramp~ - effectively a sample number to 
read arrays with something like a phasor~, but it just goes up and up.
I just had a look in the C code. In all honesty it's one of those objects that 
is in Pd but could be easily dealt with in Pd without the external. No 
disrespect to Tom Schouten, but it's basically a line~ with an offset, and a 
fixed rate i.e. it just generates a signal ramp with the right characteristics 
to patch it into tabread4~ and playback samples at their original pitch. The 
only exception is that it always starts from a specific value sent to the inlet.
There are quite a lot of externals like this (and some from me) where people 
coded something in C for convenience, but can be easily done in Pd without 
externals.

Here's a semi pddp formatted helpfile.It's boring.Cheers,Ed
 _-_-_-_-_-_-_-^-_-_-_-_-_-_-_

For Lone Shark releases, Pure Data software and published Research, go to 
http://sharktracks.co.uk  

On Thursday, 19 January 2017, 0:38, Alexandre Torres Porres 
 wrote:
 

 howdy, there's no help file for creb/ramp~
anybody ever used it?
thanks
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


   #N canvas 212 31 559 582 10;
#X obj 9 523 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0
14 -228856 -66577 0;
#X obj 9 7 cnv 15 554 54 empty \$0-pddp.cnv.header creb/ramp~ 3 12
0 18 -204280 -1 0;
#X obj 8 263 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#X obj 8 323 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 8 12 0 13
-228856 -1 0;
#X obj 8 383 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12
0 13 -228856 -1 0;
#X obj 77 283 cnv 17 3 30 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X msg 157 135 \; pd dsp 1;
#X obj 78 343 cnv 17 3 30 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 107 342 signal;
#N canvas 308 206 494 344 META 0;
#X text 12 140 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 5 KEYWORDS signal;
#X text 12 100 OUTLET_0 signal;
#X text 12 45 DESCRIPTION start a signal ramp to read an array at any
point;
#X text 12 80 INLET_0 control;
#X text 12 120 AUTHOR Tom Schouten;
#X restore 510 524 pd META;
#X text 20 30 description: generates a signal ramp starting from the
float it's presented with.;
#X obj 68 122 ramp~;
#X obj 446 23 import creb;
#X msg 57 93 0;
#X msg 100 92 800;
#X obj 68 144 envrms~;
#X floatatom 68 166 0 0 0 0 - - -;
#X text 107 283 control;
#X text 157 283 - the ramp will start from this value;
#X text 157 342 - a ramp starting from that value;
#X text 105 390 The creb ramp~ object generates a signal to read arrays
using tabread~ or tabread4~. Other array readers are available (such
as the IEM16 library). Sending a float into the inlet re-triggers the
ramp from the value given by the float.;
#X msg 138 93 60;
#X text 105 463 In 32bit Pure Data \, there is a limit of 4 million
samples (about 90 seconds) that Pd can address in a smooth fashion.
;
#X connect 11 0 15 0;
#X connect 13 0 11 0;
#X connect 14 0 11 0;
#X connect 15 0 16 0;
#X connect 21 0 11 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] creb's ramp~ needs a help file

2017-01-18 Thread Alexandre Torres Porres
howdy, there's no help file for creb/ramp~

anybody ever used it?

thanks
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list