Re: [PD] [select 12 12] triggers only one bang

2019-01-17 Thread Claude Heiland-Allen

Hi Peter,

On 17/01/2019 21:04, Peter P. wrote:

I assumed there was a "return after first match" in the source code and
it is good to hear that it is non-trivial to changet it.
By not totally trivial I meant that it's +3-1 lines instead of a -1 line 
change.  So totally doable, but it might break old patches, and the gain 
is small, so I doubt it's worth it.


BTW to clarify my example patch:

 |
[t a a]
 |   |
 |  [select $1 $2]
 |  |
[t a a]
 |   |
 |  [select $2]
 |   |
 |
[select $1]
 |


to keep the output order right-to-left as is usual in Pd.

Some more keywords for mailing list archive: duplicate argument

Claude
--
https://mathr.co.uk




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


Re: [PD] William Brent's [convolve~ ] dekenized

2019-01-17 Thread Lucas Cordiviola
I gave it some microsoft-64bit-love-™

Its up on Deken.

Convolve~ 0.13.

:)

Mensaje telepatico asistido por maquinas.

On 1/14/2019 11:46 PM, Alexandre Torres Porres wrote:


Em ter, 15 de jan de 2019 às 00:46, Alexandre Torres Porres 
mailto:por...@gmail.com>> escreveu:
hi, we need a 64 bit version for this now :)

 I mean for windows! Of course


Em ter, 4 de jul de 2017 às 02:48, Alexandre Torres Porres 
mailto:por...@gmail.com>> escreveu:
So, I love all William's externals, big fan! Can't wait for the new TimbreID 
coming out, been waiting for a while now

convolve~ is awesome, and I also like "convolve" as well - would any of you 
upload that one too? :) - I could do it eventually.

BTW, tested convolve~ on mac, all fine!

As long as we're at it, I've been talking to William and convincing him to put 
all his stuff up in deken, you should know that [martha~], [streamStretch~], 
and [DRFX] were just recently uploaded by him too.

Well William, I suggested you once, and I will suggest you again, maybe it'd be 
cool to package all these other audio externals outside of TimbreID into a 2nd 
library ;)

cheers

2017-07-04 2:30 GMT-03:00 Roman Haefeli 
mailto:reduz...@gmail.com>>:
On Mon, 2017-07-03 at 22:21 -0400, William Brent wrote:
> All good! Thanks Roman. One more I don't have to worry about ;) Been
> doing a lot of work on timbreID but didn't have any plans for
> improving [convolve~].

Cool. Thanks for your feedback. I really didn't mean to interfere with
anyone's plans.

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





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

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


Re: [PD] open [openpanel] window in the patch folder

2019-01-17 Thread Seb Shader via Pd-list
Hello,    This is a bit OT but there is of course [ggee/getdir]. I also have an 
object [rootinfo] and [makerpath] (that uses zexy) to make patch-relative 
pathsabsolute. (though not tested on 
windows)https://github.com/sebshader/shadylib
-Seb

-Original Message-
From: Mario Buoninfante 
To: pd-list 
Sent: Tue, Jan 15, 2019 5:44 am
Subject: [PD] open [openpanel] window in the patch folder

Hi,
Would it be possible to use something like the following
[symbol ./(||
[openfolder]
to open the dialog window in the current patch folder?
This syntax works when you save or load files (ie with [textfile]), but doesn't 
seem to work with [openpanel] and [savepanel].
Cheers,Mario
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [select 12 12] triggers only one bang

2019-01-17 Thread Peter P.
* Claude Heiland-Allen  [2019-01-17 18:28]:
> Hi Peter,
> 
> On 17/01/2019 17:04, Peter P. wrote:
> > Hi,
> > 
> > this is not terribly important, but it seems that
> > [select 12 12]
> > triggers only its leftmost outlet when it receives a 12 at its inlet. Is
> > this intentional?
> Changing this behaviour in the C is not totally trivial, as you would need
> to keep track of matches, to not send to the last "reject" outlet at the
> end.  As it is now, it just "return"s after sending to a matching outlet.
> 
> https://github.com/pure-data/pure-data/blob/7c27aa0ad505bb4802eee3fc40886836c814353f/src/x_connective.c#L398
> 
> I suggest
> 
>  |
> [t a a]
>  |   |
>  |  [select 12 12]
>  |  |
> [t a a] rejected
>  |   |
>  |  [select 12]
>  |   |
>  |   12 b
>  |
> [select 12]
>  |
> 12 a
> 
> assuming your 12 is just a placeholder for your real problem (maybe $arg
> stuff?)
Thanks Claude,
I am not really facing a problem here, but some learners of Pd stumbled
across this and wondered why the second outlet doesn't bang. 
I assumed there was a "return after first match" in the source code and
it is good to hear that it is non-trivial to changet it. 
I feel this behavior doesn't even qualify to be mentioned in the help
patch. So thanks to your kind reply it will now be documented in the
mailing list archive at least!

cheers, P



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


Re: [PD] [select 12 12] triggers only one bang

2019-01-17 Thread Claude Heiland-Allen

Hi Peter,

On 17/01/2019 17:04, Peter P. wrote:

Hi,

this is not terribly important, but it seems that
[select 12 12]
triggers only its leftmost outlet when it receives a 12 at its inlet. Is
this intentional?
Changing this behaviour in the C is not totally trivial, as you would 
need to keep track of matches, to not send to the last "reject" outlet 
at the end.  As it is now, it just "return"s after sending to a matching 
outlet.


https://github.com/pure-data/pure-data/blob/7c27aa0ad505bb4802eee3fc40886836c814353f/src/x_connective.c#L398

I suggest

 |
[t a a]
 |   |
 |  [select 12 12]
 |  |
[t a a] rejected
 |   |
 |  [select 12]
 |   |
 |   12 b
 |
[select 12]
 |
12 a

assuming your 12 is just a placeholder for your real problem (maybe $arg 
stuff?)



Claude
--
https://mathr.co.uk




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


Re: [PD] [select 12 12] triggers only one bang

2019-01-17 Thread José de Abreu
use

[select 12]
|
[t b b]

Em Qui, 17 de jan de 2019 15:04, Peter P. 
escreveu:

> Hi,
>
> this is not terribly important, but it seems that
> [select 12 12]
> triggers only its leftmost outlet when it receives a 12 at its inlet. Is
> this intentional?
>
> cheers, P
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [select 12 12] triggers only one bang

2019-01-17 Thread Peter P.
Hi,

this is not terribly important, but it seems that 
[select 12 12]
triggers only its leftmost outlet when it receives a 12 at its inlet. Is
this intentional?

cheers, P



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


Re: [PD] IFTTT (“if this then that”) and connecting puredata to iot device like a wemo or other open source power outlet

2019-01-17 Thread Julian Brooks
Good luck RT, please share your results:)

On Wed, 16 Jan 2019 at 07:57, RT  wrote:

> Thanks guys that helped a lot I plan on going with the Shelly 1 the
> firmware can be easily flashed supports AC but also supports 12V DC and
> 24-60V DC and has MQTT support built in.
> https://shelly.cloud/shelly1-open-source/   It does cost more it's about
> 10 euros but it fits my needs.
>
> Thanks for the help
>
> On Mon, Jan 14, 2019 at 10:24 AM michael strohmann 
> wrote:
>
>> A demo how to send MQTT to PD via python script:
>> https://www.youtube.com/watch?v=xi1GyC05VXk
>>
>>
>> On 14 Jan 2019, at 15:06, RT  wrote:
>>
>> Greetings
>>
>> I would like to connect and have Puredata control an iot device like wemo
>> or other open source power outlet are there any examples or suggestions on
>> where to start?
>>
>> I was thinking an example would be just to have Puredata turn off and on
>> a power outlet (like a Wemo) using OSC or midi controls.  The question I
>> have is how do I connect Puredata to a iot power outlet to do this and
>> which open source power outlet will allow this?
>>
>> --
>> --
>> |==|
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>>
>> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list