Re: [PD] sysexin midiin alsa

2007-07-25 Thread peter boehm
hi mathieu,
thank you very much for your answer.

> On Tue, 24 Jul 2007, peter boehm wrote:
>
>> midout was sending nothing. in the archives i found some help and i have
>> patched s.midi.c and x.midi.c with iohannes patches
>> (https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1356455&group_id=55736
>> ), which works fine and i can send sysex data out.
>
> I applied this patch in branch desiredata.
>
>> patching s_midi_alsa.c with the midiout_alsa.patch results in sending a
>> 00
>> for each byte in the sysex message.
>
> You mean that prior to applying that patch it was sending a 0 in the case
> of PPC only (well, big endian in general), but also that it had a memory
> leak which was quite cross-platform...
>
> I applied that patch in branch desiredata.

i was making a mistake and applied the patch in reverse. so i was thinking
that with the patch it is not working and without not.

>
>> testing midiin i can just receive sysex messages shorter than 20 bytes
>> (240, x1, x2, x3,...x17, x18, 247). is this intentional?
>
> Yes. I extended that limit to 256 in branch desiredata.
>

meanwhile i studied the desiderata s_midi_alsa.c and applied the #define
MAX_EVENT_SIZE 256 variable. my fault was that i did not change the

{
   count = snd_midi_event_decode(midiev,buf,sizeof(buf),midievent);
   alsa_source = midievent->dest.port;
   for(i=0;i However, I don't have any alsa midi device that i can easily test on, so I
> would appreciate if someone would help me set up a fake midi driver for
> testing purposes, if that exists. (I run Linux too)
>

maybe my strength of coding is not sufficient for this task, but i would
like to learn more and help.

all the best
peter


>   _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada



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


Re: [PD] pd running fine, then unexpectedly freezing on ubuntu

2007-07-25 Thread Chris McCormick
On Wed, Jul 25, 2007 at 07:51:12PM -0400, Mathieu Bouchard wrote:
> On Wed, 25 Jul 2007, Hans-Christoph Steiner wrote:
> 
> >Which version?  I just installed Ubuntu Studio, and have played with Pd 
> >only a bit so far.  I definitely haven't seen anything like that.  If the 
> >whole thing is freezing, then it's very unlikely to Pd's fault, since the 
> >OS will prevent programs that kind of access.
> 
> Not true... I got sudden freezes (presumably kernel panics, but could not 
> see any error messages) while just trying out GEM's DV camera support code 
> transplanted into GF. I wasn't in suid root not root login, just plain 
> user. That was in 2006 with some distro dated >= 2004. This is just 
> an anecdote, but this isn't something so unlikely, because it was a usual 
> kernel of a usual distro.

If you've ever heard kernel hackers discussing the deeper darker parts
of the Linux Kernel this would not suprise you! Here be dragons.

(Our only consolation is that it's slightly less likely to destroy
everything you love than those other popular operating systems).

Best,

Chris.

---
http://mccormick.cx

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


Re: [PD] xsample OsX i386

2007-07-25 Thread Hans-Christoph Steiner

Oops, sorry, since it is only included in binary form, it's only included 
in the release candidates.  The nightly builds of the 0.40.3 are only what 
can be built from source.

.hc

On Wed, 25 Jul 2007, Thomas O Fredericks wrote:

> Strange, I could not find it in the nightly build of Pd-Extended for Os X
> i386. I will check again later ( I am trying to install PD on a friend's
> computer). I REALLY dislike the way everything is hidden in OS X.
>
> Tom
>
> On 7/25/07, Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote:
>> 
>> 
>> These are included in Pd-extedned also.
>> 
>> .hc
>> 
>> On Jul 24, 2007, at 4:05 PM, Thomas Grill wrote:
>> 
>> Hi, please try the one at http://g.org/ext/beta
>> greetings, Thomas
>> Am 24.07.2007 um 23:41 schrieb Thomas O Fredericks:
>> 
>> Anyone have a copy of xsample compiled for OsX i386?
>> If not, how does one compile stuff on OsX. I usually work on Linux, but
>> are all the compilation tools, headers, etc already installed on OsX or do 
>> I
>> have to get them somewhere?
>> 
>> Thanks for the help
>> 
>> --
>> thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada
>> ___
>> 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
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.  It's
>> about as sensible to say we declare war on night attacks and expect we're
>> going to win that war.  We're not going to win the war on terrorism.
>>   - retired U.S. Army general, William Odom
>> 
>> 
>> 
>
>
> -- 
> thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada
>

zen
   \
\
 \

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


Re: [PD] PD Convention

2007-07-25 Thread Ede Cameron
  Sorry for the lazy answer the default contact link is "Reistration  
information <[EMAIL PROTECTED]>" or so it says in the pop-up window

On 25-Jul-07, at 11:49 PM, Mathieu Bouchard wrote:

> On Wed, 25 Jul 2007, Ede Cameron wrote:
>> On 25-Jul-07, at 9:31 PM, Mathieu Bouchard wrote:
>>> what address did you try to send to?
>>  I think its the default contact address [EMAIL PROTECTED](default link)
>
> There's no [EMAIL PROTECTED] in the Contact section of the Pd Convention  
> site nor in the Contact section of Artengine.
>
> You have not written to [EMAIL PROTECTED] because this address,  
> which is officially not in use, is anyway redirected to my mailbox  
> so that I can help people find who they want to write to, and I  
> have not received anything. There is no trace of "ecameron" in the  
> log of my mailbox including anything that gets marked as spam.
>
> I'd like to know what exactly went wrong, so that it can be fixed.
>
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


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


Re: [PD] PD Convention

2007-07-25 Thread Mathieu Bouchard

On Wed, 25 Jul 2007, Ede Cameron wrote:

On 25-Jul-07, at 9:31 PM, Mathieu Bouchard wrote:

what address did you try to send to?

 I think its the default contact address [EMAIL PROTECTED](default link)


There's no [EMAIL PROTECTED] in the Contact section of the Pd Convention site nor 
in the Contact section of Artengine.


You have not written to [EMAIL PROTECTED] because this address, which is 
officially not in use, is anyway redirected to my mailbox so that I can 
help people find who they want to write to, and I have not received 
anything. There is no trace of "ecameron" in the log of my mailbox 
including anything that gets marked as spam.


I'd like to know what exactly went wrong, so that it can be fixed.

 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] PD Convention

2007-07-25 Thread Ede Cameron
  I think its the default contact address [EMAIL PROTECTED](default link)


On 25-Jul-07, at 9:31 PM, Mathieu Bouchard wrote:

> On Wed, 25 Jul 2007, Ede Cameron wrote:
>
>>Has anyone tried to contact Artengine about anything concerning  
>> the Pd convention I have emailed twice. But no response. Tried to  
>> call (I'm in Montreal) but no response Noticed that M. Bouchard  
>> reads this list. Any response. I am trying to get a Discount # for  
>> the convention (student) and cannot register for any workshops  
>> until I do. Seems the convention is a month away. Thanks
>
> what address did you try to send to?
>
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


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


Re: [PD] [PD-announce] the end of type restrictions

2007-07-25 Thread simon wise

On 23 Jul 2007, at 7:03 AM, Thomas Grill wrote:

> The question for me is rather why desiredata announcements are posted
> into the PD-list given that the codebase has moved away in a way that
> makes it impossible to transfer most of the features.
> Although I find DD an interesting project, it's essentially off-topic
> for the pd-list.

discussion about these differences, with all the reasoning and debate  
around them, has greatly improved my understanding of Pd, its  
eccentricities and how to use it - which is the main reason I read  
this list. I think these discussions have probably helped shape  
thinking about the future developments in Pd as well, so they are  
very much on-topic in my view


simon



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


Re: [PD] pdstring feature requests...

2007-07-25 Thread Bryan Jurish
moin,

On 2007-07-25 15:29:28, IOhannes m zmoelnig <[EMAIL PROTECTED]> appears to
have written:
> during my recent work with pdstrings, 2 issues came upon me.
> 
> [any2string]: this object usually terminates the output string with a 0
> (after all it is a somewhat arkward representation of a c-string).
> it would be cool if one could change this, and make it configurable.
> 
> currently i have to [list split] the string list before the last element
> (using [list length]) and then [list append] CRLF. this seems a bit of
> an overhead to me.

i agree it would be nice.  nonetheless, i'm hesitant to try and turn
pdstring into an all-singing, all-dancing string handling mechanism for
pd; it is (and always was) just an ugly hack.  its only justification
(to me) is that it *is* possible to use [list whatever] to manipulate
the output atom-lists (at the time of pdstring's writing, i was using
[drip], [glue], [length], and [niagara] ;-)

> [string2any]: analogous to the above described behaviour, [string2any]
> will stop processing whenever it encounters a "0" string element.
> for instance "97 32 98 0 99"  will result in a 2-element list "a b".
> this prevents the user from simply concatenating to strings generated
> with [any2string] (since the result of the latter will include a
> terminating 0 which will make the former stop when processing the
> concatenated list).

concatenation ought to work more comfortably, it's true.  the lack of
nul-handling in [string2any] is easily fixed in principle (strlen() can
be replaced by argc), but the guts are just a call to binbuf_text(),
which performs the same truncation you describe (probably by calling
SETSYMBOL()), and I don't really feel up to writing a whole pd parser
from scratch at the moment.

> what i would like to have is:
> [any2string]: make the string end configurable;
> e.g. [any2string 0] will create \0 terminated strings;
>  [any2string 13 10] will terminate the string with CRLF;
> for compatibility reasons i would let [anystring] (without args) output
> the 0-terminated list (even though if i had the chance i would prefer to
> it to not use any terminating elemets at all per default); one could
> imagine a 2nd inlet to set the terminator (sending an empty list would
> mean "no termination")

makes sense.  I put together a first stab a static-buffered [any2string]
today, which would mean another optional argument, say:

  [any2string BUFSIZE TERMINATORS...]

... but the static buffers are still buggy, and it's getting late...

> [string2any]: what i would really like, is having [string2any] output
> multiple messages if it encounters a "delimiter" (instead of a
> "terminator"), e.g. "0"; this would make "97 32 98 0 99" output "a b"
> and "c".
> [string2any]: analogous to the [any2string] request i would love to be
> able to change the delimiter (again: via arguments and/or 2nd inlet);

not likely to happen without re-inventing binbuf_text(), which is bit of
a monster.

... all of this might be easier to implement if we could ensure that
nothing "creative" was going to be passed through any2string/string2any
(dollars, escapes, etc.), but that's not really "any" anymore...

> 109 097 114 109 111 115 101 116 115
... with prehensile tails,
Bryan

-- 
Bryan Jurish   "There is *always* one more bug."
[EMAIL PROTECTED]  -Lubarsky's Law of Cybernetic Entomology

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


Re: [PD] pd running fine, then unexpectedly freezing on ubuntu

2007-07-25 Thread hard off

well, i fixed my problem by not using jack.  runs fine with the alsa setup.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] PD Convention

2007-07-25 Thread .·:*¨¨*:·.darsha.·:*¨¨*:·.
Hi Ede,

Artengine is one of the collaborating partners of the PD convention.
They are based in Ottawa and their office is closed for holidays.

Instead you can contact me at [EMAIL PROTECTED] and I will give
you your discount code :)

For others looking to get a discount code you can click on the contact
us link on the registration page info and you can send me a message
from there.

glad you enquired!

~D



On 7/25/07, Ede Cameron <[EMAIL PROTECTED]> wrote:
> Has anyone tried to contact Artengine about anything concerning
> the Pd convention
> I have emailed twice. But no response. Tried to call (I'm in
> Montreal) but no response
> Noticed that M. Bouchard reads this list. Any response. I am trying
> to get a Discount #
> for the convention (student) and cannot register for any workshops
> until I do. Seems the
> convention is a month away. Thanks
>
>
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>


-- 
"I once got 399000 at BurgerTime... level 7-2. impossible to do if you
don't have enough pepper"... -m bouchard

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


Re: [PD] pd running fine, then unexpectedly freezing on ubuntu

2007-07-25 Thread Mathieu Bouchard

On Wed, 25 Jul 2007, Hans-Christoph Steiner wrote:

Which version?  I just installed Ubuntu Studio, and have played with Pd only 
a bit so far.  I definitely haven't seen anything like that.  If the whole 
thing is freezing, then it's very unlikely to Pd's fault, since the OS will 
prevent programs that kind of access.


Not true... I got sudden freezes (presumably kernel panics, but could not 
see any error messages) while just trying out GEM's DV camera support code 
transplanted into GF. I wasn't in suid root not root login, just plain 
user. That was in 2006 with some distro dated >= 2004. This is just 
an anecdote, but this isn't something so unlikely, because it was a usual 
kernel of a usual distro.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] PD Convention

2007-07-25 Thread Ede Cameron
Has anyone tried to contact Artengine about anything concerning  
the Pd convention
I have emailed twice. But no response. Tried to call (I'm in  
Montreal) but no response
Noticed that M. Bouchard reads this list. Any response. I am trying  
to get a Discount #
for the convention (student) and cannot register for any workshops  
until I do. Seems the
convention is a month away. Thanks



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


Re: [PD] The depth and breadth of pD Work

2007-07-25 Thread Andy Farnell



To that list I would add one academic and one industrial usage.

Psychology/pschoacoustic experimentation

Rapid DSP prototyping


On Wed, 25 Jul 2007 23:26:10 +0100
"Richard Powell" <[EMAIL PROTECTED]> wrote:

> Hi there,
> 
> I am doing a talk introducing pure Data to some digitally minded Artists and
> would like to show them examples of work with pure Data that are at opposite
> ends of pD's Scope.  With pure Data you can make(to name just  few things):
> 
> interactive installations
> reactive visuals
> 2D visuals
> 3D visuals
> games
> Music and sound
> stuff with networking
> 
> what else?
> 
> I'd really appreciate your suggestions and any links to examples of work
> that you think particularly represents these 'sub genres'.  I don't want to
> be burned at the stake for saying this... but I don't object to work that
> been done in MaxSP as The two systems are very similar allowing pretty
> similar things.
> 
> Thanks in advance
> 
> Richard
> 


-- 
Use the source

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


[PD] The depth and breadth of pD Work

2007-07-25 Thread Richard Powell

Hi there,

I am doing a talk introducing pure Data to some digitally minded Artists and
would like to show them examples of work with pure Data that are at opposite
ends of pD's Scope.  With pure Data you can make(to name just  few things):

interactive installations
reactive visuals
2D visuals
3D visuals
games
Music and sound
stuff with networking

what else?

I'd really appreciate your suggestions and any links to examples of work
that you think particularly represents these 'sub genres'.  I don't want to
be burned at the stake for saying this... but I don't object to work that
been done in MaxSP as The two systems are very similar allowing pretty
similar things.

Thanks in advance

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


Re: [PD] xsample OsX i386

2007-07-25 Thread Thomas O Fredericks

Strange, I could not find it in the nightly build of Pd-Extended for Os X
i386. I will check again later ( I am trying to install PD on a friend's
computer). I REALLY dislike the way everything is hidden in OS X.

Tom

On 7/25/07, Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote:



These are included in Pd-extedned also.

.hc

On Jul 24, 2007, at 4:05 PM, Thomas Grill wrote:

Hi, please try the one at http://g.org/ext/beta
greetings, Thomas
Am 24.07.2007 um 23:41 schrieb Thomas O Fredericks:

Anyone have a copy of xsample compiled for OsX i386?
If not, how does one compile stuff on OsX. I usually work on Linux, but
are all the compilation tools, headers, etc already installed on OsX or do I
have to get them somewhere?

Thanks for the help

--
thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada
___
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







Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.  It's
about as sensible to say we declare war on night attacks and expect we're
going to win that war.  We're not going to win the war on terrorism.
  - retired U.S. Army general, William Odom






--
thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd running fine, then unexpectedly freezing on ubuntu

2007-07-25 Thread Hans-Christoph Steiner


Which version?  I just installed Ubuntu Studio, and have played with  
Pd only a bit so far.  I definitely haven't seen anything like that.   
If the whole thing is freezing, then it's very unlikely to Pd's  
fault, since the OS will prevent programs that kind of access.  Much  
more likely, there is a hardware or driver problem that Pd might be  
triggering.  Perhaps a sound card driver?


The SIMD messages are from some zexy objects, and have been removed.

.hc

On Jun 4, 2007, at 11:21 PM, hard off wrote:

i just installed pd-extended in ubuntu studio, and played around  
with the jack settings so as to avoid A/D/A errors..and it seemed  
to be working ok.



but then all of a sudden, after 10 or 15 minutes, pd will just  
freeze.  this happened about 5 or 6 times today, so it wasn't a one  
off.


what's more, after it freezes, if i force pd to quit, and try to  
open it again, the pd console comes up, but all the menus are blank  
and nothing works, so i have to restart the entire computer to make  
pd work again.


the pd console is giving me SIMD messages, which i never saw before  
on os X...  could that be somehow related to what is happening?



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




 



News is what people want to keep hidden and everything else is  
publicity.  - Bill Moyers



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


Re: [PD] xsample OsX i386

2007-07-25 Thread Hans-Christoph Steiner


These are included in Pd-extedned also.

.hc

On Jul 24, 2007, at 4:05 PM, Thomas Grill wrote:


Hi,
please try the one at http://g.org/ext/beta

greetings, Thomas

Am 24.07.2007 um 23:41 schrieb Thomas O Fredericks:


Anyone have a copy of xsample compiled for OsX i386?
If not, how does one compile stuff on OsX. I usually work on  
Linux, but are all the compilation tools, headers, etc already  
installed on OsX or do I have to get them somewhere?


Thanks for the help

--
thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada
___
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




 



Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.   
It's about as sensible to say we declare war on night attacks and  
expect we're going to win that war.  We're not going to win the war  
on terrorism.- retired U.S. Army general, William Odom



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


Re: [PD] hidio bug?

2007-07-25 Thread Hans-Christoph Steiner
Ah yes, this is an annoyance with many USB HIDs that output relative data.  The data they output is in effect speed, but they don't output zero.  What those devices are actually outputting is the amount of change in pixels since the last measurement of location.  If there is no change, they output nothing.  So you don't get a zero. Personally, I think this is a bad design, and makes them hard to work with if you are doing something other than moving a cursor around on a screen.  (I suppose it makes things a bit more efficient for moving a mouse cursor around on a screen).I dealt with this problem by using a delay to output a 0 when the stream of data has stopped for a 10 ms or so.  Check the attached patch:

mouse.pd
Description: Binary data
.hcOn Jul 24, 2007, at 8:17 PM, Diego Azar wrote:Absolute value. So if the last value was -3 and the mouse stop moving, it stays there. What I meant was that if the number was greater than absolute value of 1, and the mouse stops, it stays there. I put abs(1) because the sign is logical. If I move from right to left it stays in a negative number, what seems correct. If it is in the oposite direccion it stays in a positive number, so the sign thing seems to work fine. What number is it supposed to give if there´s no movement?   one?  When moving fast it always have this problem  Could it be some delay between the on of the mouse´s led and the "data transfer" from the os to pd?  I tried it with two mouses ,one with a led-cam-dsp system and the other with a ball-system, and they had the same behavior.   Sorry if I wasn´t clear enough.     Diego.Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote:  I read your question again, and I don't quite get it.  What's abs(1)?.hcOn Jul 24, 2007, at 4:37 AM, Diego Azar wrote:  Hans, thanks for your reply. I'm working with hidio because it works better, with my configuration, than the hid. thanks again, Diego.Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote:   First off, I must say [hidio] can be quite rough since it's very alpha.  But I am glad to have people testing it, with that in mind. But if you are using [hidio] and not [hid], and you are getting "rel_x" as a message, then that is a bug.  "rel_x" is the old [hid] style messages.  [hidio]'s messages look like [relative x 0 1(.hcOn Jul 22, 2007, at 9:49 PM, Diego Azar wrote:  Hi. I'm using the hidio object with a mouse and it seems there's something I'm not getting. The problem is when routing the list from the rel_x to obtain the x relative axes; the value, sometimes, is greater than abs(1) when the mouse is not moving. Is this behavior correct? Is this a bug? Has it anythig to do with the numbers hidio gets from the /dev/event$ or something within the OS? I'm using a Debian based distro.Thanks, Diego.   Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.   ___  PD-list@iem.at mailing list  UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list  I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits.      - Martin Luther King, Jr.  Pinpoint customers who are looking for what you sell.  Mistrust authority - promote decentralization.  - the hacker ethic   Pinpoint customers who are looking for what you sell. "[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity."        -John Gilmore ___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM pix_buffer

2007-07-25 Thread Derek Holzer
Hi Chris,

thanks again for helping me get this "codec issue" sorted out, and for 
taking it into consideration for the CVS GEM.

chris clepper wrote:

> Can you fit all 48 clips uncompressed into RAM?  A 1 second clip at 
> 640x480 30fps in YCbCr is about 18.5MB (double that for RGBA) which 
> would allow 3 and a half minutes of video to fit in 32bit address space. 

I didn't even think about addressing! I just assumed that if I had all 
my clips in buffers, then they would be more quickly accessible. Thanks 
for pointing that out. Guess I'll need to read a bit more about how 
buffers are accessed. Suggestions? Use the Source?

> Try creating a RAM disk and copy the uncompressed clips into that.  RAM 
> disks might even allow for greater than 32 bit sizes.

For shorter clips, loading direct from the HD is pleasantly faster than 
I expected. But when the clips get bigger, I might look into a RAMdisk. 
I found quite a few tutorials on making a RAM disk on OSX via Google, 
using everything from command line to Freeware.

One more question: if I use the "ram" message to [pix_film], does it 
stay in RAM when I load another one? My guess is no, of course. I 
suppose if I really needed speed I could make 48 [pix_film] instances, 
each with the clip loaded to RAM. But of course, using a RAM disk might 
be more efficient at that point anyways!

best,
d.

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 164:
"Twist the spine"

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


Re: [PD] wishlist gemwin

2007-07-25 Thread chris clepper

http://local.wasp.uwa.edu.au/~pbourke/projection/

This page has quite a bit of data on doing dome planetarium projections -
most of it on the cheap.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] wishlist gemwin

2007-07-25 Thread chris clepper

To the best of my knowledge there is no built-in GL functionality to do just
render any old scene in a spherical projection.  Something like an
environment map is pre-computed as a bitmap before being textured.  You can
render into a framebuffer (FBO), which GEM supports, and then apply
corrective texturing to geometry.  You will need to upload a grid (newWave
might work) and then use a vertex shader to apply the deforms to the
vertices and texcoords.

On 7/25/07, wolfgang schwarzenbrunner <[EMAIL PROTECTED]> wrote:


assuming that maybe no one read that thread as it was sent on weekend :)
(or is that question really that "not of interest"?) i send it again and
hope for some reaction sorry

as gemwin features things like stereoscopic display alternatives i was
wondering if it might be easy to implement something that distorts the
complete gemwin output in a polar coordinate system (for projecting in
domes and planetariums).

it might be not too hard to build something like that using snap2tex a
sphere and some adjustments in the texture coordinates. but somehow i
sense a strong smell that openGL might feature such things "directly"

two examples what i mean by "polar coordinte system" are attached

best
wolgang


___
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


[PD] pdstring feature requests...

2007-07-25 Thread IOhannes m zmoelnig
during my recent work with pdstrings, 2 issues came upon me.

[any2string]: this object usually terminates the output string with a 0
(after all it is a somewhat arkward representation of a c-string).
it would be cool if one could change this, and make it configurable.

currently i have to [list split] the string list before the last element
(using [list length]) and then [list append] CRLF. this seems a bit of
an overhead to me.


[string2any]: analogous to the above described behaviour, [string2any]
will stop processing whenever it encounters a "0" string element.
for instance "97 32 98 0 99"  will result in a 2-element list "a b".
this prevents the user from simply concatenating to strings generated
with [any2string] (since the result of the latter will include a
terminating 0 which will make the former stop when processing the
concatenated list).


what i would like to have is:
[any2string]: make the string end configurable;
e.g. [any2string 0] will create \0 terminated strings;
 [any2string 13 10] will terminate the string with CRLF;
for compatibility reasons i would let [anystring] (without args) output
the 0-terminated list (even though if i had the chance i would prefer to
it to not use any terminating elemets at all per default); one could
imagine a 2nd inlet to set the terminator (sending an empty list would
mean "no termination")

[string2any]: what i would really like, is having [string2any] output
multiple messages if it encounters a "delimiter" (instead of a
"terminator"), e.g. "0"; this would make "97 32 98 0 99" output "a b"
and "c".

[string2any]: analogous to the [any2string] request i would love to be
able to change the delimiter (again: via arguments and/or 2nd inlet);
for instance i am dealing with strings delimited by CRLF (get them from
[tcpserver]), and parsing that into several messages (line-by-line) is a
task i would like to be done within [string2any].

109 097 114 109 111 115 101 116 115

mfga.sdr
IOhannes

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


Re: [PD] Expr does not play well with ints?

2007-07-25 Thread Mathieu Bouchard

On Wed, 25 Jul 2007, Frank Barknecht wrote:

Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:

Huh? [expr $1/$2] works here on Miller's 0.40.

I mean, it doesn't create all the time, see attached.


It won't expand $1/$2 to 0/0 or anything else that [expr] could make sense 
of, because it's a DOLLSYM. If you want 0.0/0.0 you need to use spaces 
because then each becomes a DOLLAR. That is something that I explain in a 
previous mail of this thread.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Expr does not play well with ints?

2007-07-25 Thread Frank Barknecht
Hallo,
Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:

> On Wed, 25 Jul 2007, Frank Barknecht wrote:
> >Frank Barknecht hat gesagt: // Frank Barknecht wrote:
> >>B. Bogart hat gesagt: // B. Bogart wrote:
> >>It does work, unless you're using an old, pre-0.40 version of Pd.
> >Ah, sorry, I should have tested it: [expr $1/$2] doesn't work. :(
> 
> Huh? [expr $1/$2] works here on Miller's 0.40.

I mean, it doesn't create all the time, see attached.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__


expr-div-help.pd
Description: application/puredata


expr-div.pd
Description: application/puredata
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list