Re: [PD] pow~, etc. in Pd-extended 0.42.5

2009-11-12 Thread João Pais
I don't know how annoying it would be, as I don't use it that often  
anyway (I usually stick something like that in [expr~]) but what if a  
little warning message showed up in the Pd window when a patch loads  
with [pow~], at least in the next release or two? I think that would  
just help people catch it quicker.


although this might imply cooperation from the developers (I guess), I  
find it a good solution.


about the library loading thing: is it possible to put vanilla loading  
before all other libraries as default? that should ensure  
vanilla-compatibility before anything else.
another developement could involve a more user-friendly startup window:  
instead of the current one, maybe a dynamic list which scans the folders  
of extra and adds checkboxes to them? the checked fields will be loaded by  
next time. also with select all and unselect all options. but maybe  
this involves too much effort?


João


.mmb

Hans-Christoph Steiner wrote:


If that is true, there could be a lot of patches out there that use  
[pow~] as cyclone's pow~ and would need to be changed.  Therefore we'd  
need to make some kind of way to alert people which one they are using  
and the differences between them.  The SVN is pretty clean, there is  
only one patch in there that uses [pow~]: (nusmuk/distortion.pd)


The vanilla pow~ does make more sense, IMHO.  I think the biggest  
concern is minimizing breakage and helping people avoid annoying bugs.


.hc

On Nov 11, 2009, at 8:40 PM, hard off wrote:

i think you have to look at which method would benefit the greatest  
amount of people.  so, i think you'll find that far more people will  
benefit from proper vanilla compatibility straight out of the box,  
than will benefit from the cyclone library.







  
If nature has made any one thing less susceptible than all others of  
exclusive property, it is the action of the thinking power called an  
idea, which an individual may exclusively possess as long as he keeps  
it to himself; but the moment it is divulged, it forces itself into the  
possession of everyone, and the receiver cannot dispossess himself of  
it.- Thomas Jefferson




___
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



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

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


[PD] Safe video feedback in Gem?

2009-11-12 Thread Dudley Brooks
I want to feed an output image (modified) back as input to itself, to 
create fractals.  Could someone point me to an example of doing so?  So 
far, googling has only produced articles on *avoiding* feedback, and in 
audio at that.  Thanks.


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


Re: [PD] pow~, etc. in Pd-extended 0.42.5

2009-11-12 Thread Frank Barknecht
Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:

 Pd-vanilla added pow~, abs~, exp~, and log~.  Pd-extended had those from 
 cyclone by default since 0.39.3.  IIRC, pow~ is the only one that has 
 issues since it it incompatible with the cyclone one.  So I am wondering 
 how best to handle this in the next Pd-extended release.

 I have started making a 'vanilla' libdir that is all of the pd-internals 
 from 0.42.5.  This gives us the option to keep the cyclone pow~ as the 
 default and then access the new pow~ via vanilla/pow~ and the standard 
 declare/import styles.  So all you who use pow~ with Pd-extended, what do 
 you think the best plan is?

I didn't use pow~ with Pd-extended, but I've used Cyclone before (though not
its pow~, I prefered the expr~ pow then.)

Anyway there was a big discussion about which pow~ is the right pow~ in regard
to inlet order on pd-dev. Consensus was that the right pow~ should have its
inlets as it is in vanilla now. Andy Farnell's book on sound design uses this
version of pow~ all over the place. As it is an internal in vanilla now, I
would suggest to make this definitive version the default in Pd extended as
well and not deliberatly create an incompatibility between the same versions of
Pd extended and Pd vanilla. 

Ciao
-- 
Frank

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


Re: [PD] Finding $0 and dealing with it in messages

2009-11-12 Thread cyrille henry



Alexandre Porres a écrit :

Oh wow, no wonder I didn't know :)

Ok, great, I will just wait for the official release :)

pd 0.42 is in the air for about 1 year,
pd 0.42-5 was officially release 6 month ago.
http://crca.ucsd.edu/~msp/software.html

Cyrille



Anyway, It still bothers me not being able to deal with $0 on 
messages, what you guys think? is there a good reason for it to be this 
way? Or is it something that could be easily updated on a further version?


Thanks
Alex


On Wed, Nov 11, 2009 at 9:32 PM, Max abonneme...@revolwear.com 
mailto:abonneme...@revolwear.com wrote:


Am 12.11.2009 um 00:19 schrieb Alexandre Porres:

Hmmm, it does look simpler than I thought :)

Now, where can I find this pretty Whole Word Toggle?

in the devel version
http://autobuild.puredata.org/auto-build/latest/




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


Re: [PD] Safe video feedback in Gem?

2009-11-12 Thread cyrille henry

hello,

have you look at gem examples?

Gem/examples/07.texture/07.feedback.pd

Cyrille

Dudley Brooks a écrit :
I want to feed an output image (modified) back as input to itself, to 
create fractals.  Could someone point me to an example of doing so?  So 
far, googling has only produced articles on *avoiding* feedback, and in 
audio at that.  Thanks.


___
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] Gem- Text2d - Trouble

2009-11-12 Thread matohawk

Thanks for your answer.

but I can't use a MAC for my patch.
I test this patch on power-pc, G5 and Mac book pro and that's always the 
same incredible cpu with text2d. I know that's text3d is more light than 
text2d but I don't like the video result.


So I use a pc now and with all my pc (windows or linux) it's ok with this.
So MAC driver gfx-card are a problem with antialias and text2d or not?


Cheers
Thomas




IOhannes m zmoelnig a écrit :

matohawk wrote:

Ok but why PC is better than MAC



depends on your driver and gfx-card.

fgamsr
IOhannes






___
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] Finding $0 and dealing with it in messages

2009-11-12 Thread Alexandre Porres
Hey, sure, I meant the Pd-Extended version...  :)

On Thu, Nov 12, 2009 at 7:49 AM, cyrille henry c...@chnry.net wrote:



 Alexandre Porres a écrit :

  Oh wow, no wonder I didn't know :)

 Ok, great, I will just wait for the official release :)

 pd 0.42 is in the air for about 1 year,
 pd 0.42-5 was officially release 6 month ago.
 http://crca.ucsd.edu/~msp/software.html

 Cyrille


 Anyway, It still bothers me not being able to deal with $0 on messages,
 what you guys think? is there a good reason for it to be this way? Or is it
 something that could be easily updated on a further version?

 Thanks
 Alex


 On Wed, Nov 11, 2009 at 9:32 PM, Max abonneme...@revolwear.com mailto:
 abonneme...@revolwear.com wrote:

Am 12.11.2009 um 00:19 schrieb Alexandre Porres:

Hmmm, it does look simpler than I thought :)

Now, where can I find this pretty Whole Word Toggle?

in the devel version
http://autobuild.puredata.org/auto-build/latest/



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


Re: [PD] Filling an audio array. Question..

2009-11-12 Thread Georg Werner

Hi,

sorry i forgot the attachment ...
g.
#N canvas 143 316 1280 944 10;
#N canvas 0 22 450 300 (subpatch) 0;
#X array array2 1024 float 2;
#X coords 0 1 1024 0 200 140 1;
#X restore 126 382 graph;
#X obj 158 297 tabwrite~ array2;
#X obj 132 118 unpack;
#X msg 262 80 bang;
#X obj 132 196 line~;
#X obj 132 228 *~;
#X obj 132 257 *~;
#X obj 437 348 osc~;
#X floatatom 434 308 5 0 0 0 - - -;
#X obj 494 422 *~;
#X obj 551 318 phasor~;
#X obj 551 339 *~ 1024;
#X floatatom 546 287 5 0 0 0 - - -;
#X obj 551 360 tabread~ array2;
#X msg 132 39 0 \, 1 4;
#X obj 494 448 dac~;
#X obj 132 -2 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 132 17 t b b b;
#X obj 151 65 delay 10;
#X msg 151 85 0 20;
#X obj 746 152 f;
#X obj 784 152 + 1;
#X obj 746 122 until;
#X msg 746 100 1024;
#X obj 746 74 trigger bang bang;
#X msg 845 100 0;
#X obj 746 48 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 842 572 tabwrite array2;
#X obj 746 264 sel 1;
#X obj 807 264 sel 1;
#X obj 746 178 trigger float float float float;
#X obj 746 348 -;
#X msg 746 390 1 \$1;
#X obj 746 412 -;
#X obj 842 505 *;
#X obj 842 549 *;
#X obj 842 526 t f f;
#X obj 842 482 t f f;
#X obj 807 300 f;
#X obj 746 300 f;
#X obj 807 368 -;
#X msg 907 422 1;
#X obj 868 264 t f f b;
#X text 746 465 start;
#X text 807 465 end;
#X text 878 100 reset;
#X text 820 151 counter 0-1023;
#X text 888 465 between;
#X obj 746 238  120;
#X msg 746 327 120 \$1;
#X obj 746 369 / 120;
#X msg 807 347 800 \$1;
#X obj 807 389 / 800;
#X obj 807 238  380;
#X obj 807 326 - 380;
#X connect 2 0 4 0;
#X connect 2 1 4 1;
#X connect 3 0 1 0;
#X connect 4 0 5 0;
#X connect 4 0 5 1;
#X connect 5 0 6 0;
#X connect 5 0 6 1;
#X connect 6 0 1 0;
#X connect 7 0 9 0;
#X connect 8 0 7 0;
#X connect 9 0 15 0;
#X connect 9 0 15 1;
#X connect 10 0 11 0;
#X connect 11 0 13 0;
#X connect 12 0 10 0;
#X connect 13 0 9 1;
#X connect 14 0 2 0;
#X connect 16 0 17 0;
#X connect 17 0 14 0;
#X connect 17 1 18 0;
#X connect 17 2 3 0;
#X connect 18 0 19 0;
#X connect 19 0 2 0;
#X connect 20 0 21 0;
#X connect 20 0 30 0;
#X connect 21 0 20 1;
#X connect 22 0 20 0;
#X connect 23 0 22 0;
#X connect 24 0 23 0;
#X connect 24 1 25 0;
#X connect 25 0 20 1;
#X connect 26 0 24 0;
#X connect 28 0 39 0;
#X connect 29 0 38 0;
#X connect 30 0 48 0;
#X connect 30 1 53 0;
#X connect 30 2 42 0;
#X connect 30 3 27 1;
#X connect 31 0 50 0;
#X connect 32 0 33 0;
#X connect 33 0 37 0;
#X connect 34 0 36 0;
#X connect 35 0 27 0;
#X connect 36 0 35 0;
#X connect 36 1 35 1;
#X connect 37 0 34 0;
#X connect 37 1 34 1;
#X connect 38 0 54 0;
#X connect 39 0 49 0;
#X connect 40 0 52 0;
#X connect 41 0 37 0;
#X connect 42 0 39 1;
#X connect 42 1 38 1;
#X connect 42 2 41 0;
#X connect 48 0 28 0;
#X connect 49 0 31 0;
#X connect 50 0 32 0;
#X connect 51 0 40 0;
#X connect 52 0 37 0;
#X connect 53 0 29 0;
#X connect 54 0 51 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Research delay

2009-11-12 Thread Gintaras Lau.
Hello João Pais,

exactly I'm looking for help to get on a track to understand the
situation for such approach in the world of sound technologies. I
noticed programmers use these tricks in they patches to get some
predictable or in-range randomization. I'm not quit sure about
formulation of question, because I was using commercial sound
sequencing software, VST's and etc. The opportunities of pd strongly
impressed me so I fought to use it in research I'm writing.

It's simple to use values of env~ and apply to control limiters,
delays and etc. What I expect to figure out is technological aspects
and theoretical approach. That's besides programming a patch, but I
couldn't hold my self to try. I saw people discussing various topics
(off programming) on list and did it my way. Nobody understood me on
pd~forum as well, so now I'm sure a revision and clarification is
necessary for the direction of my work


Thank you very much.
G




2009/11/9 João Pais jmmmp...@googlemail.com:
 Hi,

 the idea sounds simple to do. What kind of feedback from the list are you
 asking exactly?

 I guess that besides programming the patch, on a real world situation you
 must be careful with the feedback of the speakers, so that the feedback
 doesn't end up triggering the feedback itself. Maybe a clamp microphone
 attached to the instrument (which kind of saxophone?) would be the better
 choice. Although if the hall is big enough, a normal mic should also work.

 João Pais


 Hello,

 I'm making a diploma work and need help from community like this to
 assure that my work is related to science or is a part of it, even if
 it (what I did) just a small improvement on the other hand.
 There is no information about it in my native language, so sometimes I
 get confused about what I'm looking for, because many things are
 interesting to me and the field is getting wider and more confusing.

 I have tried many delay effect patches and found one made by Maelstorm
 on pd-forum. I upgraded it to stereo, mounted into structure I needed
 and something I call an improvement. This delay processor does
 something what I think might be considered as humanized behavior. It
 takes audio of the musician (Saxophone) and creates an echo effect
 (tap function included), but output of the echo signal is controlled
 by the previous amount of volume (vu) of the input. You can set a
 feedback at the maximum amount, but if there is no input signal at
 that time from the instrument, than echo goes down (gradually or fast)
 as well. It sounds pleasant because there is another parameter that
 appeared during the construction process, an interpolation time or
 sensitivity how fast it follow the input ([line]) . So the amount of
 echo volume can't exceed the the amount of dry signal, what I take as
 an aesthetic value in a live performance (tested).

 Any pd user know how simple it is to make it using this software, but
 I couldn't find anybody did or mentioned about delay controlled by the
 signal witch has a human or instrument property (amplitude applied as
 control). I work with DAW's like Cubase and know that there is no
 delay like that.

 I want to ask if the community has an opinion about my idea, taking
 all possible aspects that comes to his mind. I think there is no
 better place as this to give such questions and use it's answers as
 vector to continue research. In the community I am now there are no
 students or lecturers that use pd and any other interesting things
 that it offer. So at least truth has to come out of my research.

 Thank you.

 ___
 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
 Studio +49 30 69509190
 jmmmp...@googlemail.com | skype: jmmmpjmmmp


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


[PD] reseting overflow count on cyclone counter object?

2009-11-12 Thread altern

hi

is it possible to reset the overflow count (and not only the general 
count) on the cyclone library counter object?


thanks

enrike

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


Re: [PD] Research delay

2009-11-12 Thread Derek Holzer

Hi Gintaras,

if working with the basics of digital audio is something new for you, I 
would strongly suggest checking out one of the following books on the 
subject, to understand exactly how computers deal with sound:


http://www.amazon.com/Computer-Music-Tutorial-Curtis-Roads/dp/0262680823/ref=sr_1_1?ie=UTF8s=booksqid=1258026852sr=8-1

http://www.amazon.com/Computer-Music-Synthesis-Composition-Performance/dp/0028646827/ref=pd_sim_b_5

The first is a bit more mathematically oriented, and the second a bit 
easier as a starting point (however a bit more out of date!). These 
should give you some basic vocabulary to help you formulate questions 
which other Pd users might be able to answer ;-)


best,
Derek

Gintaras Lau. wrote:

Hello João Pais,

exactly I'm looking for help to get on a track to understand the
situation for such approach in the world of sound technologies. I
noticed programmers use these tricks in they patches to get some
predictable or in-range randomization. I'm not quit sure about
formulation of question, because I was using commercial sound
sequencing software, VST's and etc. The opportunities of pd strongly
impressed me so I fought to use it in research I'm writing.

It's simple to use values of env~ and apply to control limiters,
delays and etc. What I expect to figure out is technological aspects
and theoretical approach. That's besides programming a patch, but I
couldn't hold my self to try. I saw people discussing various topics
(off programming) on list and did it my way. Nobody understood me on
pd~forum as well, so now I'm sure a revision and clarification is
necessary for the direction of my work


Thank you very much.
G




2009/11/9 João Pais jmmmp...@googlemail.com:

Hi,

the idea sounds simple to do. What kind of feedback from the list are you
asking exactly?

I guess that besides programming the patch, on a real world situation you
must be careful with the feedback of the speakers, so that the feedback
doesn't end up triggering the feedback itself. Maybe a clamp microphone
attached to the instrument (which kind of saxophone?) would be the better
choice. Although if the hall is big enough, a normal mic should also work.

João Pais



Hello,

I'm making a diploma work and need help from community like this to
assure that my work is related to science or is a part of it, even if
it (what I did) just a small improvement on the other hand.
There is no information about it in my native language, so sometimes I
get confused about what I'm looking for, because many things are
interesting to me and the field is getting wider and more confusing.

I have tried many delay effect patches and found one made by Maelstorm
on pd-forum. I upgraded it to stereo, mounted into structure I needed
and something I call an improvement. This delay processor does
something what I think might be considered as humanized behavior. It
takes audio of the musician (Saxophone) and creates an echo effect
(tap function included), but output of the echo signal is controlled
by the previous amount of volume (vu) of the input. You can set a
feedback at the maximum amount, but if there is no input signal at
that time from the instrument, than echo goes down (gradually or fast)
as well. It sounds pleasant because there is another parameter that
appeared during the construction process, an interpolation time or
sensitivity how fast it follow the input ([line]) . So the amount of
echo volume can't exceed the the amount of dry signal, what I take as
an aesthetic value in a live performance (tested).

Any pd user know how simple it is to make it using this software, but
I couldn't find anybody did or mentioned about delay controlled by the
signal witch has a human or instrument property (amplitude applied as
control). I work with DAW's like Cubase and know that there is no
delay like that.

I want to ask if the community has an opinion about my idea, taking
all possible aspects that comes to his mind. I think there is no
better place as this to give such questions and use it's answers as
vector to continue research. In the community I am now there are no
students or lecturers that use pd and any other interesting things
that it offer. So at least truth has to come out of my research.

Thank you.

___
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
Studio +49 30 69509190
jmmmp...@googlemail.com | skype: jmmmpjmmmp



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



--
::: derek holzer ::: http://blog.myspace.com/macumbista ::: 
http://www.vimeo.com/macumbista :::

---Oblique Strategy # 138:
Retrace your steps

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and 

Re: [PD] Finding $0 and dealing with it in messages

2009-11-12 Thread glerm soares
2009/11/12 Alexandre Porres por...@gmail.com

 Hey, sure, I meant the Pd-Extended version...  :)


http://autobuild.puredata.info/auto-build/latest/

the latest is always here.

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


[PD] fullscreen strange behavior

2009-11-12 Thread Jose Luis Santorcuato
Dear friends, in the old version of pd i can crete a fullscreen gem, or i
can modify the dimensions of the screen, in os x and ubuntu, i send
fullscreen $1 message to gemwin, but the screen dont work always, what is
the better way to connect the fullscreen message?
I read about a bug... really?


Best regards from CHile

JOsé

-- 
http://www.chilemigra.cl
http://arselectronicachile.blogspot.com
http://www.myspace.com/santorcuato
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] ftm4pd

2009-11-12 Thread Michael Iber

Hallo Johannes,
wie ist denn der Entwicklungsstand von ftm4pd?
Gibt es da inzwischen etwas in alpha oder beta-Zustand?#
Wie ist der Entwicklungszeitplan?
Vielen Danknund Gruß,
Michael Iber

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


Re: [PD] fullscreen strange behavior

2009-11-12 Thread cyrille henry

i did never used the fullsreen message, but only dimen X Y, offset X2 0, border 
0, cursor 0.
it always work perfectly.

Cyrille

Jose Luis Santorcuato a écrit :
Dear friends, in the old version of pd i can crete a fullscreen gem, or 
i can modify the dimensions of the screen, in os x and ubuntu, i send 
fullscreen $1 message to gemwin, but the screen dont work always, what 
is the better way to connect the fullscreen message?

I read about a bug... really?


Best regards from CHile

JOsé

--
http://www.chilemigra.cl
http://arselectronicachile.blogspot.com
http://www.myspace.com/santorcuato





___
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] Finding $0 and dealing with it in messages

2009-11-12 Thread Matt Barber
If you're interested, there was a huge thread about this in February,
starting about here:

http://lists.puredata.info/pipermail/pd-list/2009-02/067889.html

It continues, too -- it will look like the thread dies out, but if
you look later in that month there will be many more posts with the
same subject.

Matt


 yep, sure, it works, but, anyway, I just think it would be easier for some
 operations if we could use $0 in messages, that's all...

 Thanks

 Cheers

 Alex

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


[PD] Getting the best out of the rewrite (was: Re: pow~, etc. in Pd-extended 0.42.5)

2009-11-12 Thread Ivica Ico Bukvic
FWIW, I recently listened to a really entertaining presentation of a
computer systems security expert and one thing he pointed out that IMHO is
currently really bogging Pd development is legacy support.

If PD is currently undergoing a complete rewrite of the GUI this may be a
good opportunity to also revisit external naming scheme. I understand that
there has been a lot of work done by Hans and others to make pd-extended
easier to use, yet many problems remain. What if we simply all agree to do
fundamental changes to how externals work with the understanding that we are
effectively breaking backwards compatibility (which is not that big of a
deal, simply use your favorite editor and search/replace offending objects
and you are done) and make the whole thing a lot simpler?

For instance, each external object could be simply retitled to cyclone_pow~
or iemlib_pow~ or whatever. We've been effectively doing this with DISIS
objects and have had no problems whatsoever with trivial issues such as what
folder they need to go into and where is their help file supposed to go
(e.g. pd-extended still fails to load proper help files and has a myriad of
other problems).

Of course, this is not as easy as it sounds:

What objects are considered a part of the vanilla pd-extended? I would
simply say iem, gem, and pd are vanilla are it and everything else is
renamed.

What about the trouble of remembering what object does what? Well, if 0.43
will have a nice right-click menu with all objects listed in there and if we
do good cross-referencing documentation, this should not be as difficult
and/or confusing (certainly no more than typing cyclone/pow~ or whatever).

etc. Basically, I think this would in the long run be a lot easier as we
would simply end-up having only one folder for all help files and only one
folder for all externals. No sub-folders, no complex paths, lost/mixed-up
help files, no unusual workarounds within Pd.

Just my 1-cents worth...

Ico


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


Re: [PD] fullscreen strange behavior

2009-11-12 Thread chris clepper
On Thu, Nov 12, 2009 at 7:43 AM, cyrille henry c...@chnry.net wrote:

 i did never used the fullsreen message, but only dimen X Y, offset X2 0,
 border 0, cursor 0.
 it always work perfectly.


The fullscreen message attempts to find those values for you and make the
window.  It is the exact same code  for creating the window, and inputting
the info manually is the better method.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] PD with Ubuntu Karmic - no sound

2009-11-12 Thread Aditya Mandayam
hi,

i have pd installed on ubunty 9.10 - karmic koala.

i have absolutely no sound when i fire up pd. i've tried fooling
around with the Mediasettings for OSS, ALSA, jack, default MIDI.

No sound. What gives?

Thank you,

Y

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


Re: [PD] fullscreen strange behavior

2009-11-12 Thread Jose Luis Santorcuato
Thank a lot  so... dimen?...that is the solution?...

Best regards from Chile

José



2009/11/12 chris clepper cgclep...@gmail.com



  On Thu, Nov 12, 2009 at 7:43 AM, cyrille henry c...@chnry.net wrote:

 i did never used the fullsreen message, but only dimen X Y, offset X2 0,
 border 0, cursor 0.
 it always work perfectly.


 The fullscreen message attempts to find those values for you and make the
 window.  It is the exact same code  for creating the window, and inputting
 the info manually is the better method.




-- 
http://www.chilemigra.cl
http://arselectronicachile.blogspot.com
http://www.myspace.com/santorcuato
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Getting the best out of the rewrite (was: Re: pow~, etc. in Pd-extended 0.42.5)

2009-11-12 Thread Hans-Christoph Steiner


I think its good to get to a point where we don't have to worry much  
about backwards compatibility.  IMHO, the easiest way to do that is  
embed library and other settings in each patch rather than having  
libraries loaded by default.   The pow~ issue highlights that.


You can also already use naming schemes like cyclone/prepend, iemlib/ 
prepend, etc.


.hc

On Nov 12, 2009, at 9:55 AM, Ivica Ico Bukvic wrote:


FWIW, I recently listened to a really entertaining presentation of a
computer systems security expert and one thing he pointed out that  
IMHO is

currently really bogging Pd development is legacy support.

If PD is currently undergoing a complete rewrite of the GUI this may  
be a
good opportunity to also revisit external naming scheme. I  
understand that
there has been a lot of work done by Hans and others to make pd- 
extended
easier to use, yet many problems remain. What if we simply all agree  
to do
fundamental changes to how externals work with the understanding  
that we are
effectively breaking backwards compatibility (which is not that big  
of a
deal, simply use your favorite editor and search/replace offending  
objects

and you are done) and make the whole thing a lot simpler?

For instance, each external object could be simply retitled to  
cyclone_pow~
or iemlib_pow~ or whatever. We've been effectively doing this with  
DISIS
objects and have had no problems whatsoever with trivial issues such  
as what
folder they need to go into and where is their help file supposed to  
go
(e.g. pd-extended still fails to load proper help files and has a  
myriad of

other problems).

Of course, this is not as easy as it sounds:

What objects are considered a part of the vanilla pd-extended? I would
simply say iem, gem, and pd are vanilla are it and everything else is
renamed.

What about the trouble of remembering what object does what? Well,  
if 0.43
will have a nice right-click menu with all objects listed in there  
and if we
do good cross-referencing documentation, this should not be as  
difficult
and/or confusing (certainly no more than typing cyclone/pow~ or  
whatever).


etc. Basically, I think this would in the long run be a lot easier  
as we
would simply end-up having only one folder for all help files and  
only one
folder for all externals. No sub-folders, no complex paths, lost/ 
mixed-up

help files, no unusual workarounds within Pd.

Just my 1-cents worth...

Ico


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








'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


Re: [PD] compiling externals on snow leopard

2009-11-12 Thread Hans-Christoph Steiner


portaudio provides CoreAudio support already.  It is AudioUnit support  
that is in the works, which I suppose is part of CoreAudio.  What are  
the errors with portaudio in pd-gui-rewrite?  It would be good to get  
those fixed there, since you said that portaudio on its own can build  
fine for 64-bit (or am I mistaken?)


.hc

On Nov 11, 2009, at 8:21 PM, Rich E wrote:

Got it compiled and it looks nice.  The portaudio failed, same as Pd- 
Vanilla, but I guess you aren't worried about that because you are  
working on getting coreaudio support (which would be nice).  Jack  
works, everything is sounds nice and stable.


The only thing I noticed is that expr cannot be found.  I have only  
tried a few of the example patches so far.


cheers,
Rich

On Thu, Nov 12, 2009 at 1:57 AM, Rich E reakina...@gmail.com wrote:
Oops, my fault.  I had some residual CFLAGS from trying to get Gem  
to compile... onward :)


On Thu, Nov 12, 2009 at 1:23 AM, Rich E reakina...@gmail.com wrote:
On running a regular ./configure in the gui rewrite branch, I get  
the error:


checking for C compiler default output file name...
configure: error: in `/Users/richardeakin/Downloads/src/pd-gui- 
rewrite-0.43':

configure: error: C compiler cannot create executables
See `config.log' for more details.

I attached the config.log, any ideas?

Rich


On Thu, Nov 12, 2009 at 12:29 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


The build system in vanilla/extended is pretty ugly, especially for  
Mac OS X.  The build system in the pd-gui-rewrite/0.43 branch has  
been rewritten from scratch to be a full autotools build system.   
That should fix the -isysroot and --disable-portaudio problem you  
mention.  Try it out, and we can fix any issues there.


svn co 
https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-gui-rewrite/0.43/
cd 0.43
./autogen.sh  ./configure --enable-jack --disable-portaudio  make

.hc

On Nov 11, 2009, at 6:08 PM, Rich E wrote:

Oops, I accidentally just sent my last post to Hans.  Please read  
this and the post below...


I have been slowly figuring out the last problem, where gcc can't  
find my headers in /usr/include.  It is because the configure line:


if test x$fat == xyes;
then
MORECFLAGS=-isysroot /Developer/SDKs/MacOSX10.4u.sdk \
-arch i386 -arch ppc -Wno-error

First, I don't know why this is necessary, but I'm sure somebody  
does.  I also don't know why OS X 10.6 is being detected as fat  
anything.


I can install the MacOSX10.4u.sdk from the Xcode disk, but then gcc  
can't find a good stdarg.h, as the one include within that sdk has  
a #include_next stdarg.h directive.  Then, with this -sysroot flag,  
gcc doesn't search any other directory and none of the 20 other  
stdarg.h files on my computer are found.  I remove this flag and  
the header files are found elsewhere just fine.


I compiled Portaudio from svn as universal binary with 64bit.  But,  
this library doesn't work with Pd's portaudio source files and the  
new sources don't work with Pd's sources.  So, I can't get past  
building the portaudio objects.  I tried just using jack with ./ 
configure --enable-jack --disable-portaudio, but the build script  
still tries to build portaudio and fails.


This is all with pd vanilla from Miller's website.  I'm also trying  
to build the Pd extended sources, but I suppose I should start a  
new thread for the problem I hit there..


On Tue, Nov 10, 2009 at 3:29 AM, Rich E reakina...@gmail.com wrote:
Macports made me a universal binary portaudio, thankfully because I  
could not get it to compile as 64 bit from the source (I posted why  
on the portaudio mailing list).


I'm having other annoying problems with my build system, probably  
something very stupid that I am not aware of.  Neither Pd nor Pd- 
extended can find header files in /usr/include.  This isn't so hard  
to include as a CFLAGS flag, but then it still can't find stdarg.h,  
which just makes me think my build system is broken.


I'm working through the various errors to getting Pd-extended  
building on Snow Leopard as 64 bit, but I have to say I'm probably  
not the best candidate as this is the first mac that I've had in  
years.  Truthfully, I was looking forward to a time when things  
'just worked' :)  Not there yet.


Rich


On Tue, Nov 10, 2009 at 3:03 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


It seems that portaudio should build as 64-bit, perhaps its worth  
trying to upgrade the portaudio files that are included in Pd- 
extended.  I recently updated the pd-extended/0.42.5 branch to the  
most recent stable portaudio.


http://www.portaudio.com/trac/wiki/TutorialDir/Compile/MacintoshCoreAudio

.hc

On Nov 9, 2009, at 11:57 AM, Hans-Christoph Steiner wrote:



I'm working getting an Apple AudioUnit sound API support into pd- 
core right now.  This will support the iPhone, but should also  
work on Mac OS X.  With this, it should be possible to get working  
audio on 

Re: [PD] Finding $0 and dealing with it in messages

2009-11-12 Thread Alexandre Porres
hmm, great, thanks, that is what I wondered, if anyone had bothered to bring
this up.

Anyway, from the thread:

you are violating the 3rd rule of $-expansion: there is no $0 in
message-boxes.


I can deal around with it... but I just wonder if this third rule could be
easily revised/changed. I don't see much of a problem, and it would make
some stuff easier. So, here is my plead in favor of this case, I support the
cause...

But if you say that it would be a pain in the ass, or argue that such rule
must be mantained for some logic reason, I am cool.

I've read something about:

it would make $0 be even more complicated to understand


But I totally disagree, I have been teaching a lot basic Pd around, and
people always get confused and think they can just throw $0 in messages.
So I have to state and reinforce that there is an exception that it doesn't
work on messages. Without an exception at all, it should be easier to get
it, as I understand.

And despite all that, as I see, $0 on messages is just not good for
anything. So, completely useless... it is just like putting a Zero...

Sorry for insisting anyway...

Thanks a lot


On Thu, Nov 12, 2009 at 11:25 AM, Matt Barber brbrof...@gmail.com wrote:

 If you're interested, there was a huge thread about this in February,
 starting about here:

 http://lists.puredata.info/pipermail/pd-list/2009-02/067889.html

 It continues, too -- it will look like the thread dies out, but if
 you look later in that month there will be many more posts with the
 same subject.

 Matt


  yep, sure, it works, but, anyway, I just think it would be easier for
 some
  operations if we could use $0 in messages, that's all...
 
  Thanks
 
  Cheers
 
  Alex

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


Re: [PD] Safe video feedback in Gem?

2009-11-12 Thread Dudley Brooks

cyrille henry wrote:

hello,

have you look at gem examples?

Gem/examples/07.texture/07.feedback.pd


Thanks.  Now I just have to figure out how it works!

-- Dudley



Cyrille

Dudley Brooks a écrit :
I want to feed an output image (modified) back as input to itself, to 
create fractals.  Could someone point me to an example of doing so?  
So far, googling has only produced articles on *avoiding* feedback, 
and in audio at that.  Thanks.


___
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] copying one array to another very fast

2009-11-12 Thread glerm soares
2009/11/11 Hans-Christoph Steiner h...@at.or.at


 I want to copy the contents of one array to another as fast as possible.
  Basically, I'll load a sound file into an array, and fill a big buffer by
 concating that soundfile to the big buffer until its full.

 Any ideas?

 .hc


Just a curiosity:
Should [tab_copy] at iem_tab lib work for this?

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


[PD] arduino problem with analog sensors

2009-11-12 Thread altern

hi

not a PD question I guess...  i dont know much of electrical stuff. i am 
connecting two analog sensors to the arduino. One is a pressure sensor 
and the second a potentiometer, they are both from an old icube.


i noticed that when i raise the potentiometer (analog pin 5) the 
pressure sensor (analog pin 2) reports values ranging 0 to ~0.16 
increasing together as the potenciometer goes up. It is like some kind 
of residual noise comming from pin 5 that goes into pin 0.


the power cables of both sensors go together to 5v inlet of the arduino 
and the ground cables go to ground pin, each of the data cable goes to 
its separate analog pin.


I am using arduino from Pure Data extended using latest Firmata, so i am 
just filtering out any value smaller than 0.16 coming from analog pin 0.


is there anything I am doing wrong? or is this normal?

thanks

enrike

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


Re: [PD] PD with Ubuntu Karmic - no sound

2009-11-12 Thread John Harrison
could be pulseaudio is the problem?

from the command line try

pasuspender pd

On Thu, Nov 12, 2009 at 9:28 AM, Aditya Mandayam adity...@gmail.com wrote:

 hi,

 i have pd installed on ubunty 9.10 - karmic koala.

 i have absolutely no sound when i fire up pd. i've tried fooling
 around with the Mediasettings for OSS, ALSA, jack, default MIDI.

 No sound. What gives?

 Thank you,

 Y

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




-- 
John
http://alumni.media.mit.edu/~harrison/
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Getting the best out of the rewrite (was: Re: pow~, etc. in Pd-extended 0.42.5)

2009-11-12 Thread Ivica Ico Bukvic
 I think its good to get to a point where we don't have to worry much
 about backwards compatibility.  IMHO, the easiest way to do that is
 embed library and other settings in each patch rather than having
 libraries loaded by default.   The pow~ issue highlights that.
 
 You can also already use naming schemes like cyclone/prepend, iemlib/
 prepend, etc.
 
 .hc

That however does not solve problems like help files not being found (at
least no here) and/or not knowing which one is being loaded by default (e.g.
scale object is by default from Gem lib, so when you load the maxlib version
and right-click on its help, you still get Gem lib one).

Ico


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


Re: [PD] arduino problem with analog sensors

2009-11-12 Thread B. Bogart
Try grounding all the unused analog ins(especially a few between the two 
ins that are cross-talking), ideally shielding the wires would help too. 
Indeed magnetic fields in those wires do move through space!


.b.

altern wrote:

hi

not a PD question I guess...  i dont know much of electrical stuff. i am 
connecting two analog sensors to the arduino. One is a pressure sensor 
and the second a potentiometer, they are both from an old icube.


i noticed that when i raise the potentiometer (analog pin 5) the 
pressure sensor (analog pin 2) reports values ranging 0 to ~0.16 
increasing together as the potenciometer goes up. It is like some kind 
of residual noise comming from pin 5 that goes into pin 0.


the power cables of both sensors go together to 5v inlet of the arduino 
and the ground cables go to ground pin, each of the data cable goes to 
its separate analog pin.


I am using arduino from Pure Data extended using latest Firmata, so i am 
just filtering out any value smaller than 0.16 coming from analog pin 0.


is there anything I am doing wrong? or is this normal?

thanks

enrike

___
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] copying one array to another very fast

2009-11-12 Thread Charles Henry
On Wed, Nov 11, 2009 at 7:46 PM, Miller Puckette
mpuck...@imusic1.ucsd.edu wrote:
 Gee, I forgot to document this one, sorry.

 a turned-off switch~ can be used to single-step the DSP in a window by
 sinding it a bang message.  So you can switch~ 2048 in a window, connect
 a tabplay~ to a tabwrite~ inside it, start them, then send the switch~
 N/2048 bangs to copy N samples from one table to another.

 don't tell anyone that was my idea :)

 M

I used to use a [bang~]-toggle-[switch~] construction to try to have
one execution and then switch off.  Thanks for the tip!  I guess I
won't need that one anymore.

Chuck

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


Re: [PD] arduino problem with analog sensors

2009-11-12 Thread Andy Farnell


At a guess, the two transducers are not adequately decoupled with
respect to the power supply and I'm guessing the potentiometer is
a fairly low resistance and the pressure sensor has a high resistance
so that their respective current flow changes are very different.

Solutions could be to either

1) Change the power supply to something that can source a higher
flow - is it a USB powered thing?

2) Put a big (33,000uF or 68,000uF) capacitors across each sensors
supply close to it.
 


On Thu, 12 Nov 2009 18:02:05 +0100
altern alte...@gmail.com wrote:

 hi
 
 not a PD question I guess...  i dont know much of electrical stuff. i am 
 connecting two analog sensors to the arduino. One is a pressure sensor 
 and the second a potentiometer, they are both from an old icube.
 
 i noticed that when i raise the potentiometer (analog pin 5) the 
 pressure sensor (analog pin 2) reports values ranging 0 to ~0.16 
 increasing together as the potenciometer goes up. It is like some kind 
 of residual noise comming from pin 5 that goes into pin 0.
 
 the power cables of both sensors go together to 5v inlet of the arduino 
 and the ground cables go to ground pin, each of the data cable goes to 
 its separate analog pin.
 
 I am using arduino from Pure Data extended using latest Firmata, so i am 
 just filtering out any value smaller than 0.16 coming from analog pin 0.
 
 is there anything I am doing wrong? or is this normal?
 
 thanks
 
 enrike
 
 ___
 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 with Ubuntu Karmic - no sound

2009-11-12 Thread Aditya Mandayam
ok, using ALSA i have sound now, but i still get the following DIO
errors within PD:

'tried but could not sync A/D/A'

?

On Thu, Nov 12, 2009 at 6:09 PM, John Harrison
johnharrison...@gmail.com wrote:
 could be pulseaudio is the problem?

 from the command line try

 pasuspender pd

 On Thu, Nov 12, 2009 at 9:28 AM, Aditya Mandayam adity...@gmail.com wrote:

 hi,

 i have pd installed on ubunty 9.10 - karmic koala.

 i have absolutely no sound when i fire up pd. i've tried fooling
 around with the Mediasettings for OSS, ALSA, jack, default MIDI.

 No sound. What gives?

 Thank you,

 Y

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



 --
 John
 http://alumni.media.mit.edu/~harrison/


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


Re: [PD] Getting the best out of the rewrite (was: Re: pow~, etc. in Pd-extended 0.42.5)

2009-11-12 Thread András Murányi
On Thu, Nov 12, 2009 at 4:57 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 I think its good to get to a point where we don't have to worry much about
 backwards compatibility.  IMHO, the easiest way to do that is embed library
 and other settings in each patch rather than having libraries loaded by
 default.


Sounds good to me.
If we want to have backwards-compatibility AND to change things in a
tabula-rasa way, we could establish a new file type (perhaps just a new
filename extension eg.: .pd2) and then .pd files would be parsed with the
old logic and .pd2 files with the brand new logic. Dunno if it actually
makes sense, it just came to my mind now.

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


Re: [PD] arduino problem with analog sensors

2009-11-12 Thread martin.peach

The microcontroller in the Arduino has a single sampling capacitor that can be 
connected to any one of the analog pins.
It will charge up to the voltage on the pin if enough charged particles are 
available on the pin (or a path less than about 10kohm exists to a source of 
current).
The cap is not discharged by the analog-to-digital conversion process or 
between samples except through leakage.
If no charge is available on the pin the capacitor will continue to slowly 
drain its charge from the previous sample.
It's normal and harmless unless you are in a high-voltage environment like a 
thunderstorm or a nylon carpet, where much more than 5V could accumulate on an 
open pin. Then it's best to ground unused inputs.

Martin


 Date: Thu, 12 Nov 2009 18:02:05 +0100
 From: alte...@gmail.com
 To: pd-list@iem.at
 Subject: [PD] arduino problem with analog sensors
 
 hi
 
 not a PD question I guess...  i dont know much of electrical stuff. i am 
 connecting two analog sensors to the arduino. One is a pressure sensor 
 and the second a potentiometer, they are both from an old icube.
 
 i noticed that when i raise the potentiometer (analog pin 5) the 
 pressure sensor (analog pin 2) reports values ranging 0 to ~0.16 
 increasing together as the potenciometer goes up. It is like some kind 
 of residual noise comming from pin 5 that goes into pin 0.
 
 the power cables of both sensors go together to 5v inlet of the arduino 
 and the ground cables go to ground pin, each of the data cable goes to 
 its separate analog pin.
 
 I am using arduino from Pure Data extended using latest Firmata, so i am 
 just filtering out any value smaller than 0.16 coming from analog pin 0.
 
 is there anything I am doing wrong? or is this normal?
 
 thanks
 
 enrike
 
 ___
 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] jack_transport~ little patch:rewind

2009-11-12 Thread Lorenzo
I have added a rewind functionality to the jack_transport~ object by 
Jacob Lee to ease use with Ardour. I can't seem to find a contact to let 
the author know...
It was a very simple cut and past and edit looking at the transport.h 
from jack source. Not sure if this is of any interest.


Anyway maybe the author is on this list?

Attached is the diff.

Kind regards,
Lorenzo.
105a106,114
 // This adds a simple way to rewind unsing jack_transport_locate
 static void jack_transport_rewindwer(jack_transport_tilde_t * x)
 {
 	if (!x-x_jack_client)
 		return;
 
 	jack_transport_locate(x-x_jack_client,0);
 }
 
193c202
 	gensym(start), 0, 0);
---
 	gensym(start), 0, 0);   
197a207,209
 	(t_method)jack_transport_rewindwer,
 	gensym(rewind), 0, 0);	
 	class_addmethod(jack_transport_tilde_class,
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] midi novice

2009-11-12 Thread Green
hallo
never used midi before and i'm trying to figure out how to control a mab-303
synth from pd.
i'm stuck cause the synth manual says the slide function is
controled/triggered by sending a controller #64 or controller #65
message to the machine. any of you know what that is, and how to do it from
pd? i'm sure this is very obvious but the manual is very cryptic.
peace
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] midi novice

2009-11-12 Thread Justin Glenn Smith
Green wrote:
 hallo
 never used midi before and i'm trying to figure out how to control a mab-303
 synth from pd.
 i'm stuck cause the synth manual says the slide function is
 controled/triggered by sending a controller #64 or controller #65
 message to the machine. any of you know what that is, and how to do it from
 pd? i'm sure this is very obvious but the manual is very cryptic.

[hslider]
  |
[ctlout 64]

it will take numbers between 0 and 127, only integer changes are meaningful

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


Re: [PD] arduino problem with analog sensors

2009-11-12 Thread Jose Luis Santorcuato
Hi, maybe the potentiometer need a resistor,... if the potentiometer is a 10
kohms maybe yo need a resistor, i prefer work with 50 kohms potentiometers.

Using a protoboard, you must connect a general ground and  general voltage,
the wire to analog is the middle wire, check the pwm or outputs are closed.

Best regards

José
2009/11/12 martin.pe...@sympatico.ca

  The microcontroller in the Arduino has a single sampling capacitor that
 can be connected to any one of the analog pins.
 It will charge up to the voltage on the pin if enough charged particles are
 available on the pin (or a path less than about 10kohm exists to a source of
 current).
 The cap is not discharged by the analog-to-digital conversion process or
 between samples except through leakage.
 If no charge is available on the pin the capacitor will continue to slowly
 drain its charge from the previous sample.
 It's normal and harmless unless you are in a high-voltage environment like
 a thunderstorm or a nylon carpet, where much more than 5V could accumulate
 on an open pin. Then it's best to ground unused inputs.

 Martin


  Date: Thu, 12 Nov 2009 18:02:05 +0100
  From: alte...@gmail.com
  To: pd-list@iem.at
  Subject: [PD] arduino problem with analog sensors

 
  hi
 
  not a PD question I guess... i dont know much of electrical stuff. i am
  connecting two analog sensors to the arduino. One is a pressure sensor
  and the second a potentiometer, they are both from an old icube.
 
  i noticed that when i raise the potentiometer (analog pin 5) the
  pressure sensor (analog pin 2) reports values ranging 0 to ~0.16
  increasing together as the potenciometer goes up. It is like some kind
  of residual noise comming from pin 5 that goes into pin 0.
 
  the power cables of both sensors go together to 5v inlet of the arduino
  and the ground cables go to ground pin, each of the data cable goes to
  its separate analog pin.
 
  I am using arduino from Pure Data extended using latest Firmata, so i am
  just filtering out any value smaller than 0.16 coming from analog pin 0.
 
  is there anything I am doing wrong? or is this normal?
 
  thanks
 
  enrike
 
  ___
  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




-- 
http://www.chilemigra.cl
http://arselectronicachile.blogspot.com
http://www.myspace.com/santorcuato
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] midi novice

2009-11-12 Thread András Murányi
On Thu, Nov 12, 2009 at 8:33 PM, Justin Glenn Smith noisesm...@gmail.comwrote:

 Green wrote:
  hallo
  never used midi before and i'm trying to figure out how to control a
 mab-303
  synth from pd.
  i'm stuck cause the synth manual says the slide function is
  controled/triggered by sending a controller #64 or controller #65
  message to the machine. any of you know what that is,


check this
http://www.harmony-central.com/Drums/EDW/Articles/MIDI-Introduction.html

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


Re: [PD] fullscreen strange behavior

2009-11-12 Thread Jose Luis Santorcuato
Well thanks again, but the solution is press first to create gem window
dimen...hehehe, thanks friends a user problem...hehehehe


Best regards

José

2009/11/12 Jose Luis Santorcuato santorcuat...@gmail.com

 Thank a lot  so... dimen?...that is the solution?...

 Best regards from Chile

 José



 2009/11/12 chris clepper cgclep...@gmail.com



  On Thu, Nov 12, 2009 at 7:43 AM, cyrille henry c...@chnry.net wrote:

 i did never used the fullsreen message, but only dimen X Y, offset X2 0,
 border 0, cursor 0.
 it always work perfectly.


 The fullscreen message attempts to find those values for you and make the
 window.  It is the exact same code  for creating the window, and inputting
 the info manually is the better method.




 --
 http://www.chilemigra.cl
 http://arselectronicachile.blogspot.com
 http://www.myspace.com/santorcuato





-- 
http://www.chilemigra.cl
http://arselectronicachile.blogspot.com
http://www.myspace.com/santorcuato
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] midi novice

2009-11-12 Thread brandt
just take ctlout from pd and use 65 or 64 and the r5ght channel. take a
look on the helpfile.ctlout-right click-help.

peace
der.brandt


 hallo
 never used midi before and i'm trying to figure out how to control a
 mab-303
 synth from pd.
 i'm stuck cause the synth manual says the slide function is
 controled/triggered by sending a controller #64 or controller #65
 message to the machine. any of you know what that is, and how to do it
 from
 pd? i'm sure this is very obvious but the manual is very cryptic.
 peace
 ___
 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] jack_transport~ little patch:rewind

2009-11-12 Thread Alex
Hey Lorenzo,
I submitted a patch in May [check the archives if you're interested]
which lets you the locate functionality of jack_transport from pd,
this lets you seek anywhere, |locate 0( seems to do what your rewind
does.  I didn't have any response from the author about it.
Anyways, no reason the two cannot co-exist, just figured I'd let you
know in case you want to seek to other locations within your
score/song.

-Alex

On Thu, Nov 12, 2009 at 10:03 AM, Lorenzo lsut...@libero.it wrote:
 I have added a rewind functionality to the jack_transport~ object by Jacob
 Lee to ease use with Ardour. I can't seem to find a contact to let the
 author know...
 It was a very simple cut and past and edit looking at the transport.h from
 jack source. Not sure if this is of any interest.

 Anyway maybe the author is on this list?

 Attached is the diff.

 Kind regards,
 Lorenzo.

 ___
 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] arduino problem with analog sensors

2009-11-12 Thread altern

thanks to everyone for the answers!


Jose Luis Santorcuato(e)k dio:

Hi, maybe the potentiometer need a resistor,... if the potentiometer is a 10
kohms maybe yo need a resistor, i prefer work with 50 kohms potentiometers.

Using a protoboard, you must connect a general ground and  general voltage,
the wire to analog is the middle wire, check the pwm or outputs are closed.

Best regards

José
2009/11/12 martin.pe...@sympatico.ca


 The microcontroller in the Arduino has a single sampling capacitor that
can be connected to any one of the analog pins.
It will charge up to the voltage on the pin if enough charged particles are
available on the pin (or a path less than about 10kohm exists to a source of
current).
The cap is not discharged by the analog-to-digital conversion process or
between samples except through leakage.
If no charge is available on the pin the capacitor will continue to slowly
drain its charge from the previous sample.
It's normal and harmless unless you are in a high-voltage environment like
a thunderstorm or a nylon carpet, where much more than 5V could accumulate
on an open pin. Then it's best to ground unused inputs.

Martin



Date: Thu, 12 Nov 2009 18:02:05 +0100
From: alte...@gmail.com
To: pd-list@iem.at
Subject: [PD] arduino problem with analog sensors
hi

not a PD question I guess... i dont know much of electrical stuff. i am
connecting two analog sensors to the arduino. One is a pressure sensor
and the second a potentiometer, they are both from an old icube.

i noticed that when i raise the potentiometer (analog pin 5) the
pressure sensor (analog pin 2) reports values ranging 0 to ~0.16
increasing together as the potenciometer goes up. It is like some kind
of residual noise comming from pin 5 that goes into pin 0.

the power cables of both sensors go together to 5v inlet of the arduino
and the ground cables go to ground pin, each of the data cable goes to
its separate analog pin.

I am using arduino from Pure Data extended using latest Firmata, so i am
just filtering out any value smaller than 0.16 coming from analog pin 0.

is there anything I am doing wrong? or is this normal?

thanks

enrike

___
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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Finding $0 and dealing with it in messages

2009-11-12 Thread Frank Barknecht
Hallo,
Alexandre Porres hat gesagt: // Alexandre Porres wrote:

 But I totally disagree, I have been teaching a lot basic Pd around, and
 people always get confused and think they can just throw $0 in messages.

That may be because your students assume, that $1 in a message box is the same
as $1 in an object box when in fact it's something different.

Ciao
-- 
Frank

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


Re: [PD] copying one array to another very fast

2009-11-12 Thread Frank Barknecht
Hallo,
Charles Henry hat gesagt: // Charles Henry wrote:

 On Wed, Nov 11, 2009 at 7:46 PM, Miller Puckette
 mpuck...@imusic1.ucsd.edu wrote:
  Gee, I forgot to document this one, sorry.
 
  a turned-off switch~ can be used to single-step the DSP in a window by
  sinding it a bang message.  So you can switch~ 2048 in a window, connect
  a tabplay~ to a tabwrite~ inside it, start them, then send the switch~
  N/2048 bangs to copy N samples from one table to another.
 
 I used to use a [bang~]-toggle-[switch~] construction to try to have
 one execution and then switch off.  Thanks for the tip!  I guess I
 won't need that one anymore.

I've been using this a lot recently as well, but I don't think, Miller's
undocumented suggestion can replace this in all cases. One advantage of the
bang~-switch~ approach is - I believe - that it gets rid of many function
calls: You just let the CPU compute a set of, say 64 samples with basically one
function call per object. But if you send 64 bangs instead, I think, the object
get activated 64 time so you have 64 function calls which should be slower.

Is my reasoning correct?

Ciao
-- 
Frank

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


Re: [PD] copying one array to another very fast

2009-11-12 Thread Frank Barknecht
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

 I've been using this a lot recently as well, but I don't think, Miller's
 undocumented suggestion can replace this in all cases. One advantage of the
 bang~-switch~ approach is - I believe - that it gets rid of many function

I meant to write [bang~]-[0(-[switch~] here. 

Ciao
-- 
Frank

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


Re: [PD] Finding $0 and dealing with it in messages

2009-11-12 Thread Mathieu Bouchard

On Fri, 13 Nov 2009, Frank Barknecht wrote:

Alexandre Porres hat gesagt: // Alexandre Porres wrote:

But I totally disagree, I have been teaching a lot basic Pd around, and
people always get confused and think they can just throw $0 in messages.

That may be because your students assume, that $1 in a message box is the same
as $1 in an object box when in fact it's something different.


That may be because you assume that objectboxes' $0 must have something to 
do with $1,$2,$3,... when in fact it's something different.


  $3 stands for ce_argv[2]
  $2 stands for ce_argv[1]
  $1 stands for ce_argv[0]
  $0 stands for ce_dollarzero

it's a special case no matter what.

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


Re: [PD] Finding $0 and dealing with it in messages

2009-11-12 Thread Phil Stone

Mathieu Bouchard wrote:

On Fri, 13 Nov 2009, Frank Barknecht wrote:

Alexandre Porres hat gesagt: // Alexandre Porres wrote:

But I totally disagree, I have been teaching a lot basic Pd around, and
people always get confused and think they can just throw $0 in 
messages.
That may be because your students assume, that $1 in a message box is 
the same

as $1 in an object box when in fact it's something different.


That may be because you assume that objectboxes' $0 must have 
something to do with $1,$2,$3,... when in fact it's something different.


  $3 stands for ce_argv[2]
  $2 stands for ce_argv[1]
  $1 stands for ce_argv[0]
  $0 stands for ce_dollarzero

it's a special case no matter what.


Right.  Which neatly brings the question back around to why can't $0 be 
used in message boxes?  I've said this before (to no avail): it is well 
understood that $0 has no meaning in *messages* -- however, this is not 
a good reason why $0 can't be used in *message boxes.*


Since 1024-foo (where 1024 represents the canvas-identifier), *does* 
have meaning in messages, why must we jump through (admittedly minor, 
but still quite annoying) hoops just to get that canvas-identifier into 
a message?


It probably belongs in the some things will never change in Pd 
category; therefore we must resign ourselves to this discussion 
re-appearing on a regular basis.



Phil Stone
http://www.pkstonemusic.com/pubmusic.html





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


Re: [PD] copying one array to another very fast

2009-11-12 Thread Stephen Lucas
Just putting in my 2cents, but I've been using the bonus feature of being
able to write an array's contents to a text file with a message and then
read it back out to a different array with another message.

This is probably ok for my usage, since I have a project where I need
to store *lots* of arrays in text files anway, but it's certainly a really
easy solution in terms of code.

-Stephen

On Thu, Nov 12, 2009 at 5:37 PM, Frank Barknecht f...@footils.org wrote:

 Hallo,
 Frank Barknecht hat gesagt: // Frank Barknecht wrote:

  I've been using this a lot recently as well, but I don't think, Miller's
  undocumented suggestion can replace this in all cases. One advantage of
 the
  bang~-switch~ approach is - I believe - that it gets rid of many
 function

 I meant to write [bang~]-[0(-[switch~] here.

 Ciao
 --
 Frank

 ___
 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] copying one array to another very fast

2009-11-12 Thread Stephen Lucas
I should have also added that I'm only using this functionality for
relatively small arrays (500 values), and haven't tried using it for arrays
which may be holding longish audio samples.

-Stephen

On Thu, Nov 12, 2009 at 11:56 PM, Stephen Lucas s9lu...@gmail.com wrote:

 Just putting in my 2cents, but I've been using the bonus feature of being
 able to write an array's contents to a text file with a message and then
 read it back out to a different array with another message.

 This is probably ok for my usage, since I have a project where I need
 to store *lots* of arrays in text files anway, but it's certainly a really
 easy solution in terms of code.

 -Stephen

   On Thu, Nov 12, 2009 at 5:37 PM, Frank Barknecht f...@footils.orgwrote:

 Hallo,
 Frank Barknecht hat gesagt: // Frank Barknecht wrote:

  I've been using this a lot recently as well, but I don't think, Miller's
  undocumented suggestion can replace this in all cases. One advantage of
 the
  bang~-switch~ approach is - I believe - that it gets rid of many
 function

 I meant to write [bang~]-[0(-[switch~] here.

 Ciao
 --
 Frank

 ___
 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] jack_transport~ little patch:rewind

2009-11-12 Thread Lorenzo

Hi Alex,

I submitted a patch in May [check the archives if you're interested]
which lets you the locate functionality of jack_transport from pd,
this lets you seek anywhere, |locate 0( seems to do what your rewind
does.  I didn't have any response from the author about it.
That sounds great! I wish I had searched better (or maybe asked here 
first). I think |locate 0( is better and more general, and yes ability 
to seek is also very useful.
Btw will this get at least into the Extended version for Linux? I'm sure 
it's really useful form many users.


Bests,
Lorenzo

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