Re: [PD] fractional delay for PD

2009-02-28 Thread Charles Henry
On Sat, Feb 28, 2009 at 8:25 PM, David Doukhan  wrote:

> I don't even know what method have been used in vd~ ...
> The only thing I've read in the corresponding help patch, is that the
> interpolation method used by that component does an interpolation over
> 4 values.
> Does anyone know the name of the method used by that component? It
> would allow me get better clues on its theoretical efficiency, and to
> know if spending some time to program/test some alternative method
> would be usefull...


vd~ appears to use the same 4-point interpolation method as tabread4~,
which is just a cubic polynomial fit through 4 points.  Other methods
of finding interpolation polynomials for improved response were
discussed a few months ago in the thread on different tabread4's.  Let
me know if you need anything.

Chuck

http://lists.puredata.info/pipermail/pd-list/2008-06/062878.html
http://lists.puredata.info/pipermail/pd-list/2008-06/063256.html
http://lists.puredata.info/pipermail/pd-list/2008-06/063303.html

I did a lot of analysis on the functions, involved.
big math lecture is here:
http://lists.puredata.info/pipermail/pd-list/2008-07/063601.html
tables and transforms:
http://lists.puredata.info/pipermail/pd-list/2008-07/063489.html

Algorithm is here in d_delay.c:

  262   while (n--)
  263 {
  264 t_sample delsamps = x->x_sr * *in++ - zerodel, frac;
  265 int idelsamps;
  266 t_sample a, b, c, d, cminusb;
  267 if (delsamps < 1.1f) delsamps = 1.1f;
  268 if (delsamps > limit) delsamps = limit;
  269 delsamps += fn;
  270 fn = fn - 1.0f;
  271 idelsamps = delsamps;
  272 frac = delsamps - (t_sample)idelsamps;
  273 bp = wp - idelsamps;
  274 if (bp < vp + 4) bp += nsamps;
  275 d = bp[-3];
  276 c = bp[-2];
  277 b = bp[-1];
  278 a = bp[0];
  279 cminusb = c-b;
  280 *out++ = b + frac * (
  281 cminusb - 0.167f * (1.-frac) * (
  282 (d - a - 3.0f * cminusb) * frac + (d + 2.0f*a - 3.0f*b)
  283 )
  284 );
  285 }

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


Re: [PD] [PD-dev] pd-ext documentation [was something else]

2009-02-28 Thread Hans-Christoph Steiner

On Feb 28, 2009, at 2:22 AM, Frank Barknecht wrote:

> Hallo,
> Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
>
>> Sounds like a useful thing.  How about sticking this info into a
>> subpatch in the help patch?  They could easily be parsed with  
>> textfile
>> and route.  Then there is only one file per object to maintain.
>
> The [pd META] approach, yes. But there is no vanilla way to get a
> directory listing.

I think Miller uses grep, does that count as vanilla? ;)  On Mac OS X,  
the spotlight searching stuff would bring up the patches based on  
keyword.  It would be great to have the GNOME searching stuff work on  
Pd help patches too, it might already.  I guess the Windows file  
system indexing would work the same way.

.hc

>
>
> Ciao
> -- 
> Frank BarknechtDo You RjDj.me?  _  
> __footils.org__
>
> ___
> Pd-dev mailing list
> pd-...@iem.at
> http://lists.puredata.info/listinfo/pd-dev





Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.  Now that he can realize them, he must either  
change them, or perish.-William Carlos Williams



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


Re: [PD] Google Summer of Code 2009!

2009-02-28 Thread Hans-Christoph Steiner

I think your idea sounds good, I think you should just start the page,  
and then we can fill it in as each of us finds the time.

.hc

On Feb 28, 2009, at 8:41 AM, Georg Holzmann wrote:

> Hallo Hans !
>
> Do you have or other have any comments on my last mail ?
> I don't want to start a new wiki page if there is no agreement about  
> the procedure ...
>
> LG
> Georg
>
> Hans-Christoph Steiner schrieb:
>> On Feb 25, 2009, at 3:52 PM, Enrique Erne wrote:
>>> wow these project are really nice.
>>>
>>> i hope deeply PdLib would make it with or without soc. imo that is  
>>> s missing in pd-extended. i'd love to help but i don't even  
>>> know how to help to get the help-files in running in pd-ext.
>>> http://puredata.info/dev/summer-of-code/PdLib/
>>>
>>> LibPd would be also a huge addition.
>>> http://puredata.info/dev/summer-of-code/LibPd/
>>>
>>> only negative point i have is the name: PdLib and LibPd is kind of  
>>> confusing.
>>>
>>> but as already stated, all projects are great and would be  
>>> wonderful.
>> If you want to starting on standard libs for Pd, I say just do it.   
>> Pick a topic and start making a library.  For example, I really  
>> should finish 'tkwidgets', which is a library that aims to directly  
>> expose the standard Tk widgets for use in Pd.  I did manage to  
>> finish 'apple' which is a library of Apple-specific functions like  
>> accelerometer, light level sensors, brightness controls, etc.  The  
>> Thinkpad has lots of example code for all this stuff to, so it  
>> would be great to have a 'thinkpad' library.
>> .hc
>>  
>> kill 
>>  your television





Looking at things from a more basic level, you can come up with a more  
direct solution... It may sound small in theory, but it in practice,  
it can change entire economies. - Amy Smith



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


[PD] fractional delay for PD

2009-02-28 Thread David Doukhan
Hi all,

I'm trying to use a variable fractional delay in one of my patch.
I've tried to use vd~ , but was not really convinced by the results I
obtained. It seems I need a better method.

Does anyone knows other PD external that could implement fractional
delay with variable delay length?

By the way: I'm tring to have a look at the litterature related to
that subject...
I don't even know what method have been used in vd~ ...
The only thing I've read in the corresponding help patch, is that the
interpolation method used by that component does an interpolation over
4 values.
Does anyone know the name of the method used by that component? It
would allow me get better clues on its theoretical efficiency, and to
know if spending some time to program/test some alternative method
would be usefull...

Any help would be appreciated.
Thanks!

-- 
David Doukhan

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


Re: [PD] Transcoding Stream in VLC => pd => pdp_icedthe~

2009-02-28 Thread mark edward grimm

yeah good deal...

i am giving it a shot without much luck. i would have to 'dump raw input' on 
vlc (i think) otherwise i just get a big huge file. though this method does not 
seem to work well...here on osx now but will try on linux when i have access to 
my system on monday.

just tried the VLC => pdp_icedthe~ thing again. have it working and connecting 
then i get:

"pdp_icedthe~ : headers too long."

from a previous thread i take it this is an osx thing? or? another issue 
maybe?

Thanks!
mark


  


--- On Sat, 2/28/09, ydego...@gmail.com  wrote:

> From: ydego...@gmail.com 
> Subject: Re: [PD] Transcoding Stream in VLC => pd => pdp_icedthe~
> To: mgr...@syr.edu
> Cc: "pd_list" 
> Date: Saturday, February 28, 2009, 10:39 AM
> ola,
> 
> i think you should look into a solution like this,
> using pdp_rawin :
> http://mcs.hackitectura.net/tiki-index.php?page=mplayer+and+pdp_raw
> 
> xiaoo,
> sevy
> 
> 
> mark edward grimm wrote:
> > OK. I was looking into transcodeing a live asx stream
> so i could use it in PD with pdp_icedthe~
> >
> > my VLC m3u file looks like this:
> >
> > #EXTM3U
> > #EXTINF:0,live12.asx
> >
> #EXTVLCOPT:sout=#transcode{vcodec=theo,vb=800,scale=1}:duplicate{dst=std{access=http,mux=ogg,dst=localhost:8080}}
> >
> mms://ph.wm.live05.pscdn.net/00302597_live12?MSWMExt=.asf
> >
> > can anyone tell if i am doing something wrong? it all
> runs fine in VLC and seems like its transcoding yet I get :
> >
> > pdp_icedthe~ : connecting to
> url=http://localhost:8080/
> > pdp_icedthe~ : connecting to host=>localhost<
> port=>8080< mountpoint=><
> > error: pdp_icedthe~: connection failed!
> >
> > pdp_icedthe~ : connection thread 0 launched
> >
> >
> > i probably dont need the "localhost" part...
> but either way it does not work. apache is installed and
> running. is there something maybe with port i should do?
> >
> > i guess i just cant tell where I am, or if, i am
> missing something...
> >
> > im on ubuntu 8.10 now... but will be on osx 10.5 this
> weekend. right now it does not work on either. 
> >
> > maybe someone has done this already?
> >
> > Thanks
> > mark
> >
> > 
> > mark edward grimm | m.f.a | ed.m
> > syracuse u. | vpa foundations | timearts
> > adjunct | new media consultant
> > megrimm.net | socialmedia.org/GROUP & LLC
> > mgr...@syr.edu | 315.378.2136
> > 
> >
> >   
> >
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> >
> >

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


Re: [PD] call for help: help patch fixing

2009-02-28 Thread bigswift

Hans this may be off topic, but speaking of help patches. What is up with the 
Gem/Examples/Basic/Model.pd file?

It crashes ALOT.

Anyone else have this experience?

pp


 Hans-Christoph Steiner  wrote: 
> 
> Hey all,
> 
> A while back, I wrote some scripts that can automatically load every  
> help patch and load every objectclass.  I would like to set these up  
> to run every night, but I don't think I'll be able to keep up with the  
> output from this, i.e. fixing the help patches that crash and at the  
> same manage getting this Pd-extended 0.41 release finished.  So I want  
> to see if there is anyone willing to handle this whole process.
> 
> I think it will make Pd much more reliable if we can track down the  
> little errors in help patches that can cause crashes.  As far as I am  
> concerned it can be managed how ever anyone wants to do it.  I have  
> these basic scripts ready to go, but they could easily be replaced  
> with something else, if anyone else wants to do that.
> 
> I think this could then be expanded into a broader testing framework.
> 
> .hc
> 
> 
> 
> 
> 
> 
> 'You people have such restrictive dress for women,’ she said, hobbling  
> away in three inch heels and panty hose to finish out another pink- 
> collar temp pool day.  - “Hijab Scene #2", by Mohja Kahf
> 
> 
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

--
Patrick Pagano
Sound and Light Technologist
School of Theatre and Dance
University of Florida



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


Re: [PD] PureData patches/hacks

2009-02-28 Thread Kyle Klipowicz
Yes, hid provides very comprehensive documentation and debugging tools that
you can use for this.
Open the hid help patch (you can find this easily by creating an [hid]
object in a blank canvas and then right clicking (ctrl+click on mac) and
selecting help. This patch will be very useful to probe the data sent from
various devices.

Next, click on the message box labeled [print( and look at the output in the
Pd console. You will see a device list that numbers each device starting at
0 and also gives a brief description of the device.

After you find your device of choice, click on the radio button
corresponding to it's number, or if you prefer send a message [open n( where
n is the device number that was printed in the console.

Now that your device is loaded by hid, try giving it some input and
observing the various number boxes and toggles to get a feel for the range
and style of output that your device offers.

I hope this helps! Happy hacking.

~Kyle


On Sat, Feb 28, 2009 at 12:45 AM, Hans-Christoph Steiner wrote:

>
> You might be able to get that info using [hid].
>
> .hc
>
> On Feb 27, 2009, at 1:01 AM, Andrew Martin wrote:
>
> Hey there. Not sure where or who to direct this to, but I recently watched
> a video tutorial on youtube on how to modify your laptop's trackpad into a
> MIDI-control device much like a Korg Kaossilator:
> http://www.youtube.com/watch?v=uWE2ptQtYk0. Apparently the creator of this
> video created a patch to create this device, but the according to him it
> only works with Synaptics track pads. I'm running a newer aluminum macbook
> with a MultiTouch track pad, and was wondering if anyone has figured out a
> way to get absolute positioning information, and possibly multi-touch info
> as well, into Pd to Midi notes in appropriate scales. Any kind of help would
> be appreciated, as I'm trying to get my music rig set up to be super-fly.
>
> Andrew Martin
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
>
>
> 
>
> You can't steal a gift. Bird gave the world his music, and if you can hear
> it, you can have it. - Dizzy Gillespie
>
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
-

    -
  - --
http://perhapsidid.wordpress.com
http://myspace.com/kyleklipowicz
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] PureData patches/hacks

2009-02-28 Thread Kyle Klipowicz
Oh and one more thing. You need to turn on the polling by clicking the green
toggle box. Otherwise hid will not poll your device of choice.
~Kyle

On Sat, Feb 28, 2009 at 1:52 PM, Kyle Klipowicz  wrote:

> Yes, hid provides very comprehensive documentation and debugging tools that
> you can use for this.
> Open the hid help patch (you can find this easily by creating an [hid]
> object in a blank canvas and then right clicking (ctrl+click on mac) and
> selecting help. This patch will be very useful to probe the data sent from
> various devices.
>
> Next, click on the message box labeled [print( and look at the output in
> the Pd console. You will see a device list that numbers each device starting
> at 0 and also gives a brief description of the device.
>
> After you find your device of choice, click on the radio button
> corresponding to it's number, or if you prefer send a message [open n( where
> n is the device number that was printed in the console.
>
> Now that your device is loaded by hid, try giving it some input and
> observing the various number boxes and toggles to get a feel for the range
> and style of output that your device offers.
>
> I hope this helps! Happy hacking.
>
> ~Kyle
>
>
> On Sat, Feb 28, 2009 at 12:45 AM, Hans-Christoph Steiner wrote:
>
>>
>> You might be able to get that info using [hid].
>>
>> .hc
>>
>> On Feb 27, 2009, at 1:01 AM, Andrew Martin wrote:
>>
>> Hey there. Not sure where or who to direct this to, but I recently watched
>> a video tutorial on youtube on how to modify your laptop's trackpad into a
>> MIDI-control device much like a Korg Kaossilator:
>> http://www.youtube.com/watch?v=uWE2ptQtYk0. Apparently the creator of
>> this video created a patch to create this device, but the according to him
>> it only works with Synaptics track pads. I'm running a newer aluminum
>> macbook with a MultiTouch track pad, and was wondering if anyone has figured
>> out a way to get absolute positioning information, and possibly multi-touch
>> info as well, into Pd to Midi notes in appropriate scales. Any kind of help
>> would be appreciated, as I'm trying to get my music rig set up to be
>> super-fly.
>>
>> Andrew Martin
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>
>>
>>
>> 
>>
>> You can't steal a gift. Bird gave the world his music, and if you can hear
>> it, you can have it. - Dizzy Gillespie
>>
>>
>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>
> --
> -
> 
> -
>   - --
> http://perhapsidid.wordpress.com
> http://myspace.com/kyleklipowicz
>



-- 
-

    -
  - --
http://perhapsidid.wordpress.com
http://myspace.com/kyleklipowicz
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] call for help: help patch fixing

2009-02-28 Thread Kyle Klipowicz
Hans~

I am interested in finding ways to help. What would be required?
I imagine something like:

1. getting an automatic email after the nightly tests.
2. Logging into the svn or whatever your versioning system is (would have to
be trained on this part).
3. Downloading the said help patches.
4. Testing said help patches on local machine.
5. If fix is found, upload new file to svn and add relevant comments to
versioning system (training again) .

If you could come up with a very straightforward, idiot-proof checklist of
actions, I could likely offer an hour or two a week on this task. My only
machine right now is running OS X 10.5.6, so that's the scope of my
usefulness to the project.

~Kyle

On Fri, Feb 27, 2009 at 12:19 PM, Hans-Christoph Steiner wrote:

>
> Hey all,
>
> A while back, I wrote some scripts that can automatically load every
> help patch and load every objectclass.  I would like to set these up
> to run every night, but I don't think I'll be able to keep up with the
> output from this, i.e. fixing the help patches that crash and at the
> same manage getting this Pd-extended 0.41 release finished.  So I want
> to see if there is anyone willing to handle this whole process.
>
> I think it will make Pd much more reliable if we can track down the
> little errors in help patches that can cause crashes.  As far as I am
> concerned it can be managed how ever anyone wants to do it.  I have
> these basic scripts ready to go, but they could easily be replaced
> with something else, if anyone else wants to do that.
>
> I think this could then be expanded into a broader testing framework.
>
> .hc
>
>
>
>
>
> 
>
> 'You people have such restrictive dress for women,’ she said, hobbling
> away in three inch heels and panty hose to finish out another pink-
> collar temp pool day.  - “Hijab Scene #2", by Mohja Kahf
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
-

    -
  - --
http://perhapsidid.wordpress.com
http://myspace.com/kyleklipowicz
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [arduino] object & analog inputs

2009-02-28 Thread info
> thanks matju
>
>
>> So when you output an y, you also need to set a pair of [moses] so that
>> it
>> can find numbers outside of the interval y-c < x < y+c, or equivalently,
>> abs(x-y) < c, where c is the minimum amount of change that you want to
>> hear
>> about.
>>
>
> I did it in with:
>
> #N canvas 0 0 450 300 10;
> #X obj 38 -73 delta;
> #X obj 37 -50 abs;
> #X obj 141 -72 sel 1;
> #X obj 94 -96 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
> -1;
> #X obj 40 -100 change;
> #X obj 94 -63 f;
> #X obj 98 -30 outlet;
> #X obj 40 -127 inlet;
> #X obj 179 -126 inlet;
> #X obj 141 -94 >= \$1;
> #X connect 0 0 1 0;
> #X connect 1 0 9 0;
> #X connect 2 0 3 0;
> #X connect 3 0 5 0;
> #X connect 4 0 0 0;
> #X connect 4 0 5 1;
> #X connect 5 0 6 0;
> #X connect 7 0 4 0;
> #X connect 8 0 9 1;
> #X connect 9 0 2 0;
>
>
> is that what you meant?
>
>
> salut
oops, that should be [t f f] ofcourse :)
see this attachment, ignore previous
#N canvas 323 179 450 263 10;
#X obj 40 -43 delta;
#X obj 40 -20 abs;
#X obj 40 33 sel 1;
#X obj 40 -100 change;
#X obj 40 65 f;
#X obj 40 88 outlet;
#X obj 40 -127 inlet;
#X obj 140 -127 inlet;
#X obj 40 11 >= \$1;
#X text 83 -75 first store the value \, then evaluate if it qualifies
to be sent out (enough difference to previous);
#X obj 40 -72 t f f;
#X connect 0 0 1 0;
#X connect 1 0 8 0;
#X connect 2 0 4 0;
#X connect 3 0 10 0;
#X connect 4 0 5 0;
#X connect 6 0 3 0;
#X connect 7 0 8 1;
#X connect 8 0 2 0;
#X connect 10 0 0 0;
#X connect 10 1 4 1;___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [arduino] object & analog inputs

2009-02-28 Thread info
> thanks matju
>
>
>> So when you output an y, you also need to set a pair of [moses] so that
>> it
>> can find numbers outside of the interval y-c < x < y+c, or equivalently,
>> abs(x-y) < c, where c is the minimum amount of change that you want to
>> hear
>> about.
>>
>
> I did it in with:
>
> #N canvas 0 0 450 300 10;
> #X obj 38 -73 delta;
> #X obj 37 -50 abs;
> #X obj 141 -72 sel 1;
> #X obj 94 -96 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
> -1;
> #X obj 40 -100 change;
> #X obj 94 -63 f;
> #X obj 98 -30 outlet;
> #X obj 40 -127 inlet;
> #X obj 179 -126 inlet;
> #X obj 141 -94 >= \$1;
> #X connect 0 0 1 0;
> #X connect 1 0 9 0;
> #X connect 2 0 3 0;
> #X connect 3 0 5 0;
> #X connect 4 0 0 0;
> #X connect 4 0 5 1;
> #X connect 5 0 6 0;
> #X connect 7 0 4 0;
> #X connect 8 0 9 1;
> #X connect 9 0 2 0;
>
>
> is that what you meant?
>
>
> salut
>
> glerm

Hi glerm,

I'd put a [t b b] after your [change]

gr,
Tim

#N canvas 323 179 450 263 10;
#X obj 40 -43 delta;
#X obj 40 -20 abs;
#X obj 40 33 sel 1;
#X obj 40 -100 change;
#X obj 40 65 f;
#X obj 40 88 outlet;
#X obj 40 -127 inlet;
#X obj 140 -127 inlet;
#X obj 40 11 >= \$1;
#X obj 40 -72 t b b;
#X text 82 -75 first store the value \, then evaluate if it qualifies
to be sent out (enough difference to previous);
#X connect 0 0 1 0;
#X connect 1 0 8 0;
#X connect 2 0 4 0;
#X connect 3 0 9 0;
#X connect 4 0 5 0;
#X connect 6 0 3 0;
#X connect 7 0 8 1;
#X connect 8 0 2 0;
#X connect 9 0 0 0;
#X connect 9 1 4 1;___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [arduino] object & analog inputs

2009-02-28 Thread glerm soares
thanks matju


> So when you output an y, you also need to set a pair of [moses] so that it
> can find numbers outside of the interval y-c < x < y+c, or equivalently,
> abs(x-y) < c, where c is the minimum amount of change that you want to hear
> about.
>

I did it in with:

#N canvas 0 0 450 300 10;
#X obj 38 -73 delta;
#X obj 37 -50 abs;
#X obj 141 -72 sel 1;
#X obj 94 -96 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 40 -100 change;
#X obj 94 -63 f;
#X obj 98 -30 outlet;
#X obj 40 -127 inlet;
#X obj 179 -126 inlet;
#X obj 141 -94 >= \$1;
#X connect 0 0 1 0;
#X connect 1 0 9 0;
#X connect 2 0 3 0;
#X connect 3 0 5 0;
#X connect 4 0 0 0;
#X connect 4 0 5 1;
#X connect 5 0 6 0;
#X connect 7 0 4 0;
#X connect 8 0 9 1;
#X connect 9 0 2 0;


is that what you meant?


salut

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


Re: [PD] Transcoding Stream in VLC => pd => pdp_icedthe~

2009-02-28 Thread ydego...@gmail.com
ola,

i think you should look into a solution like this,
using pdp_rawin :
http://mcs.hackitectura.net/tiki-index.php?page=mplayer+and+pdp_raw

xiaoo,
sevy


mark edward grimm wrote:
> OK. I was looking into transcodeing a live asx stream so i could use it in PD 
> with pdp_icedthe~
>
> my VLC m3u file looks like this:
>
> #EXTM3U
> #EXTINF:0,live12.asx
> #EXTVLCOPT:sout=#transcode{vcodec=theo,vb=800,scale=1}:duplicate{dst=std{access=http,mux=ogg,dst=localhost:8080}}
> mms://ph.wm.live05.pscdn.net/00302597_live12?MSWMExt=.asf
>
> can anyone tell if i am doing something wrong? it all runs fine in VLC and 
> seems like its transcoding yet I get :
>
> pdp_icedthe~ : connecting to url=http://localhost:8080/
> pdp_icedthe~ : connecting to host=>localhost< port=>8080< mountpoint=><
> error: pdp_icedthe~: connection failed!
>
> pdp_icedthe~ : connection thread 0 launched
>
>
> i probably dont need the "localhost" part... but either way it does not work. 
> apache is installed and running. is there something maybe with port i should 
> do?
>
> i guess i just cant tell where I am, or if, i am missing something...
>
> im on ubuntu 8.10 now... but will be on osx 10.5 this weekend. right now it 
> does not work on either. 
>
> maybe someone has done this already?
>
> Thanks
> mark
>
> 
> mark edward grimm | m.f.a | ed.m
> syracuse u. | vpa foundations | timearts
> adjunct | new media consultant
> megrimm.net | socialmedia.org/GROUP & LLC
> mgr...@syr.edu | 315.378.2136
> 
>
>   
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>
>   


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


Re: [PD] pd-ext documentation [was something else]

2009-02-28 Thread João Pais
that's nice (I didn't tried it), but I think that it would be more useful  
something that scans the /extra folder, and makes a "offline" list. the  
result could be something like the old 0.INTRO.txt file. or look as well  
at http://puredata.info/dev/PdLibraries, in the end (Documentation) there  
are some of the efforts made so far.

about the object descriptions, so far the best choice (imo) was the  
sugestion to make sure that each developer add a .txt file with the object  
description, and then grep it to add to the main list.

> João Pais wrote:
  I already made my one available several times on the list -  
 whenever  the question "how many objects are in pd-ext" comes -, but  
 probably it  wasn't that popular.
 2682 objects? when I check the properties of the extra folder   
 (windows), I get 2666 files - bear in mind that there are several   
 repeatitions (many objects are repeated in flatspace), and other  
 files  aren just secondary material, and some objects don't work. did  
 you sort  out repetitions or something?
  how did you extract this list?
>>> I did this manually, a lot of copy and paste.
>>> and yes, there might be some duplicates and some unusual objects like   
>>> all the gemgl objects are in the list...
>>  ah ah, and I thought I was the only crazy guy going through object  
>> per  object and extract the information (see excel file). ok, maybe we  
>> should  discuss a more serious way of automatising this.
>
> you can patch pd to print out all classes registered with class_new and  
> class_addcreator, something like the below, then process it with a  
> script to divide it into libraries, but you still need to add the  
> human-readable descriptions by hand..
>
> --- pd-0.41-4/src/s_loader.c.orig   2008-05-13 10:09:24.0  
> +0100
> +++ pd-0.41-4/src/s_loader.c2008-05-13 10:41:55.0 +0100
> @@ -235,8 +235,10 @@
>   int dspstate = canvas_suspend_dsp();
>   int ok = 0;
>   loader_queue_t *q;
> +if (sys_verbose) post("loader: BEGIN(%s)", classname);
>   for(q = &loaders; q; q = q->next)
>   if (ok = q->loader(canvas, classname)) break;
> +if (sys_verbose) post("loader: END(%s)", classname);
>   canvas_resume_dsp(dspstate);
>   return ok;
>   }
> --- pd-0.41-4/src/m_class.c.orig2008-05-13 10:35:13.0  
> +0100
> +++ pd-0.41-4/src/m_class.c 2008-05-13 10:38:56.0 +0100
> @@ -219,6 +219,7 @@
>   #if 0
>   post("class: %s", c->c_name->s_name);
>   #endif
> +if (sys_verbose) post("class_new(%s)", c->c_name->s_name);
>   return (c);
>   }
>
> @@ -249,6 +250,7 @@
>   *vp = va_arg(ap, t_atomtype);
>   }
>   va_end(ap);
> +if (sys_verbose) post("class_addcreator(%s)", s->s_name);
>   class_addmethod(pd_objectmaker, (t_method)newmethod, s,
>   vec[0], vec[1], vec[2], vec[3], vec[4], vec[5]);
>   }
>



-- 
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
jmmmp...@googlemail.com | skype: jmmmpjmmmp

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


Re: [PD] Google Summer of Code 2009!

2009-02-28 Thread Georg Holzmann
Hallo Hans !

Do you have or other have any comments on my last mail ?
I don't want to start a new wiki page if there is no agreement about the 
procedure ...

LG
Georg

Hans-Christoph Steiner schrieb:
> 
> On Feb 25, 2009, at 3:52 PM, Enrique Erne wrote:
> 
>> wow these project are really nice.
>>
>> i hope deeply PdLib would make it with or without soc. imo that is 
>> s missing in pd-extended. i'd love to help but i don't even know 
>> how to help to get the help-files in running in pd-ext.
>> http://puredata.info/dev/summer-of-code/PdLib/
>>
>> LibPd would be also a huge addition.
>> http://puredata.info/dev/summer-of-code/LibPd/
>>
>> only negative point i have is the name: PdLib and LibPd is kind of 
>> confusing.
>>
>> but as already stated, all projects are great and would be wonderful.
> 
> 
> If you want to starting on standard libs for Pd, I say just do it.  Pick 
> a topic and start making a library.  For example, I really should finish 
> 'tkwidgets', which is a library that aims to directly expose the 
> standard Tk widgets for use in Pd.  I did manage to finish 'apple' which 
> is a library of Apple-specific functions like accelerometer, light level 
> sensors, brightness controls, etc.  The Thinkpad has lots of example 
> code for all this stuff to, so it would be great to have a 'thinkpad' 
> library.
> 
> .hc
> 
> 
>  
> 
> 
> kill your television
> 
> 


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


Re: [PD] call for help: help patch fixing

2009-02-28 Thread João Pais
I can put some time to it, but there are some limits to what I can do:

- I have xp + ubuntu(studio)
- I can't program, so I can't do much more than use the material I'm given
- ... ?

> A while back, I wrote some scripts that can automatically load every
> help patch and load every objectclass.  I would like to set these up
> to run every night, but I don't think I'll be able to keep up with the
> output from this, i.e. fixing the help patches that crash and at the
> same manage getting this Pd-extended 0.41 release finished.  So I want
> to see if there is anyone willing to handle this whole process.
>
> I think it will make Pd much more reliable if we can track down the
> little errors in help patches that can cause crashes.  As far as I am
> concerned it can be managed how ever anyone wants to do it.  I have
> these basic scripts ready to go, but they could easily be replaced
> with something else, if anyone else wants to do that.
>
> I think this could then be expanded into a broader testing framework.
>
> .hc
>
>
>
>
> 
>
> 'You people have such restrictive dress for women,’ she said, hobbling
> away in three inch heels and panty hose to finish out another pink-
> collar temp pool day.  - “Hijab Scene #2", by Mohja Kahf
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->  
> http://lists.puredata.info/listinfo/pd-list



-- 
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
jmmmp...@googlemail.com | skype: jmmmpjmmmp

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