Re: [PD] log function in slider

2014-03-17 Thread Jonathan Wilkes
AFAICT vslider is saving something like a slider position, and your expression 
above (along with the code I posted) is for getting back the original value 
from it.  If you send it something between 0.01 and 1 you'll get a curve that's 
inverted from the one you're after.  If you send it a slider position-- 
something like another [expr] based on the code inside vslider_set-- you'll get 
back (roughly) the same value you input.

But I'm still stuck on why vslider_bang is doing any math at all.  Why should 
it be more complex than if bang then output stored value?  (Setting aside 
sending to receive symbols for the moment.)

-Jonathan




On Monday, March 17, 2014 1:21 AM, Alexandre Torres Porres por...@gmail.com 
wrote:
 
Hi Roman. This is turning out trickier than I thought. A friend explained the 
code to me and got to the following equation, with min/max values as 0.01 and 1 
respectively.

[expr 0.01 * exp((log(1 / 0.01) / 0.01) * $f1 * 0.01)]


For what I've checked, it seems to behave like your patch. But it doesn't do 
the trick I'm looking for yet. I sent a patch earlier, and I'm sending it back 
again.

The goal is to connect a linear slider to an [expr] (with this so called log 
function) and then to another linear slider. The idea then is that this second 
slider behaves as one that was set as being log.

In the patch attached I was able to emulate it poorly with [pow 0.25], but that 
was before reaching the list. See that if I use this expr function from the 
code or your patch it presents quite a different behavior.

maybe it is some sort of inversion of this equation, not sure. Apparently this 
code converts the log function values to linear and I'm hoping to get the 
exact opposite. Got it?

Thanks for looking into this



2014-03-12 4:38 GMT-03:00 Roman Haefeli reduz...@gmail.com:

On Don, 2014-03-06 at 21:37 -0300, Alexandre Torres Porres wrote:
 hi folks, out of curiosity, what's the exact log function used in the
 slider? I'd like to emulate it.

I am not sure, if this is what you want. It converts the incoming linear
range between 0 and 1 to a logarithmic range specified by $1 and $2,
respectively by the second and third inlet. They behave like the lower
and upper bound specified in the [vslider]/[hslider] classes.

https://raw.github.com/reduzent/netpd2-patches/master/abs/rh_scalelog.pd


Roman





___
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] friendly reminder that osx pd-extended is still badly flawed

2014-03-17 Thread Dan Wilcox
He's on 10.6, so it's not this: 
http://puredata.info/docs/faq/help-pd-crashes-on-startup-on-mac-osx-10-7

On Mar 17, 2014, at 1:26 AM, pd-list-requ...@iem.at wrote:

 From: Alexandre Torres Porres por...@gmail.com
 Subject: Re: [PD] friendly reminder that osx pd-extended is still badly flawed
 Date: March 17, 2014 at 1:26:06 AM EDT
 To: i go bananas hard@gmail.com
 Cc: PD List pd-list@iem.at
 
 
 it's an OS thing, you can set it somewhere so it doenst open the latest 
 files, someone showed how to do it here, cant remeber though :P


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





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


Re: [PD] friendly reminder that osx pd-extended is still badly flawed

2014-03-17 Thread Dan Wilcox
He's on 10.6, so it's not this: 
http://puredata.info/docs/faq/help-pd-crashes-on-startup-on-mac-osx-10-7

 From: Alexandre Torres Porres por...@gmail.com
 
 it's an OS thing, you can set it somewhere so it doenst open the latest 
 files, someone showed how to do it here, cant remeber though :P


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





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


Re: [PD] HD 1920 X 1080 (Mateo De Los R?os)

2014-03-17 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 2014-03-14 12:21, olm-e wrote:
 (I did a small fork of it on github -
 https://github.com/Olm-e/pdgst -

do a pull-request or open a ticket on my umlaute/pdgst.

fgasmdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJTJsmvAAoJELZQGcR/ejb4HB4QAJRGbkhMQRot/x23tvTKgJCg
IY8LSEje1j6/nmy+/r71J7yT08DkoMJb6w4ESJNCkQgghw7Mj9HQ1Xv7819rkTuA
tOjdS2E2WBFwzji0k8o83U1oRDy0k8by7bbgdlGgyly0BcjNl9vTvwWIcelcYdye
Zt5ihK/7DjSwPPsT2Jt3vYr/Dr5hyydrJpj35BL6zO3GQMhzTMR51Yw5tKZZ9jpW
JKure+WGUqjNYFj9O3SFdUgD2PAortFy5vQw2AdsmHEGJpJSFID+rphS6jzI90yX
nIwdi2cioZaIezlnK50E/XdxaNJkRjvcH/y2Ze4Yx7KAuy7+mRVvYIS39wLA6Ohr
xbJJXiM0eUT+mecr5f5WzEq7tdziMQM2HdXhLqbW54EXeF/I4bcItuuL2kRZgO+Q
49xK3T61uEFOaZRi5tq03jUdOrbIfYU1szaEDasgYNJR0QcIAjvDUzE2bR4eDbJJ
gZYfaamEBQAaLKq3IM7IawFVvMqa5Q0ShZ6mDDPiwCTPbTKxYqYoj1HrITUT/ehl
jdDVUOBHrughsn6D7uMdD593MQJCEbc3nF2xa1Gt/RnLSyqQ/F2nPV6cFXqsIP83
JTStNWGgW06a1nmNd63qSHBsvS9zuwqcQGvR8A/SliRDhYIT0JNfOaDs5ovvfvDa
Ga5jS+fO3uUN8u9YxdV1
=fxwz
-END PGP SIGNATURE-

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


Re: [PD] using pd live (sans computer/laptop/raspberry pi)

2014-03-17 Thread Joe White
Hey Aaron,

Have you checked out the Owl Pedal - http://hoxtonowl.com/ ?

You can run your own C++ and Pd
patcheshttp://hoxtonowl.com/2014/03/frankfurt-musikmesse-2014/on the
device (it has stereo i/o and 4 parameter knobs).

Cheers,
Joe


On 15 March 2014 11:48, Cyrille Henry c...@chnry.net wrote:



 Le 14/03/2014 22:29, Jonathan Wilkes a écrit :

  On 03/14/2014 03:44 PM, Dan Wilcox wrote:

 Without a computer, no. Without a desktop or laptop computer, yes.


 Well, maybe we could design and manufacture an enormous ASIC that runs
 libpd.

 sukandar kartadinata made somthing like this 10 year ago.
 but it was just a prototype and switch to SBC for cost and facility.
 cheers

 c


 -Jonathan

 ___
 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




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


[PD] Tannhauser Pure Data compiler

2014-03-17 Thread Ingo
I just found out about the Tannhäuser Pure Data compiler.
Does anybody know who makes it or where to get this compiler?

Thanks!
Ingo


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


[PD] Hello Problem with [pix_film]

2014-03-17 Thread bobo ginov
 Hell everyone, 

i have problem with rendering video files with gemhead. The particular error is 
Unable to connect filters -2147220969. I work with windows laptop - intel core 
i5, geforce 310m with updated video drivers. I have quicktime but still it does 
not working. I will be thankful for any advices and ideas to solve the problem. 
This error have two more laptops of my colleagues.

Thanks and have a nice week :) 

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


Re: [PD] Tannhauser Pure Data compiler

2014-03-17 Thread Simon Wise

On 17/03/14 23:26, Ingo wrote:

I just found out about the Tannhäuser Pure Data compiler.
Does anybody know who makes it or where to get this compiler?

Thanks!
Ingo


google took me here ...

https://www.hackerleague.org/hackathons/automatic-music-hackathon/hacks/tannhauser-a-c-compiler-for-pure-data

perhaps Martin Roth is your man

https://www.hackerleague.org/users/mhroth


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


Re: [PD] Tannhauser Pure Data compiler

2014-03-17 Thread Pierre Massat
Not much information on either page...

Pierre.


2014-03-17 14:06 GMT+01:00 Simon Wise simonzw...@gmail.com:

 On 17/03/14 23:26, Ingo wrote:

 I just found out about the Tannhäuser Pure Data compiler.
 Does anybody know who makes it or where to get this compiler?

 Thanks!
 Ingo


 google took me here ...

 https://www.hackerleague.org/hackathons/automatic-music-
 hackathon/hacks/tannhauser-a-c-compiler-for-pure-data

 perhaps Martin Roth is your man

 https://www.hackerleague.org/users/mhroth



 ___
 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] Tannhauser Pure Data compiler

2014-03-17 Thread Ingo
Yeah, I had found that but nothing else except that the OWL, a
programmable effects pedal, can use Pd patches after compiling them to C
with Tannhauser.



Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von
Pierre Massat
Gesendet: Montag, 17. März 2014 14:12
An: Simon Wise
Cc: pd-list
Betreff: Re: [PD] Tannhauser Pure Data compiler

Not much information on either page...
Pierre.

2014-03-17 14:06 GMT+01:00 Simon Wise simonzw...@gmail.com:
On 17/03/14 23:26, Ingo wrote:
I just found out about the Tannhäuser Pure Data compiler.
Does anybody know who makes it or where to get this compiler?

Thanks!
Ingo

google took me here ...

https://www.hackerleague.org/hackathons/automatic-music-hackathon/hacks/tann
hauser-a-c-compiler-for-pure-data

perhaps Martin Roth is your man

https://www.hackerleague.org/users/mhroth


___
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] friendly reminder that osx pd-extended is still badly flawed

2014-03-17 Thread Hans-Christoph Steiner

Bug reports on ancient versions don't really help anyone.  You should always
first try the most recent release, then report the issue if it still exists.

If you want to keep using an old version, then its likely only you who will
want to fix those bugs.

.hc

On 03/13/2014 11:41 AM, i go bananas wrote:
 pd 0.42.5
 
 
 ...so it got fixed???
 
 
 i don't like updating, cos if it ain't broke, don't fix itbut maybe i
 should try?
 
 
 On Fri, Mar 14, 2014 at 12:21 AM, i go bananas hard@gmail.com wrote:
 
 i'm on 10.6.8


 On Fri, Mar 14, 2014 at 12:18 AM, José Rafael Subía Valdez 
 jsubiaval...@gmail.com wrote:

 what version of OSX?? I have no problem with it.

 Does it open 2 instances or just 2 icons on the dock??? I remember a
 while back in tiger this occurred after doing something in system
 preferences (cant remember what.. it was a long time ago) Those days, I
 opened a patch and I saw a PD icon and another blank icon also called pd,
 but now.. running 10.6.8 and extended 0.43. I see no problem as you
 describe.




 On Thu, Mar 13, 2014 at 10:07 AM, i go bananas hard@gmail.comwrote:

 every time i open a patch from clicking on an icon, PD loads 2 patches.
  pretty sure this is a long standing issue that hasn't been fixed.

 (os-x)

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




 --
 Lic. José Rafael Subía Valdez
 www.jrsv.net






 
 
 
 ___
 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] log function in slider

2014-03-17 Thread Alexandre Torres Porres
so you say this is actually the section of the code I'm looking for to make
the conversion I want, right?

==

static void hslider_set(t_hslider *x, t_floatarg f)/* bugfix */

{

double g;


if(x-x_gui.x_isa.x_reverse)/* bugfix */

{

if(f  x-x_min)

f = x-x_min;

if(f  x-x_max)

f = x-x_max;

}

else

{

if(f  x-x_max)

f = x-x_max;

if(f  x-x_min)

f = x-x_min;

}

if(x-x_lin0_log1)

g = log(f/x-x_min)/x-x_k;

else

g = (f - x-x_min) / x-x_k;

x-x_val = (int)(100.0*g + 0.4);

x-x_pos = x-x_val;

(*x-x_gui.x_draw)(x, x-x_gui.x_glist, IEM_GUI_DRAW_MODE_UPDATE);

}


2014-03-17 4:07 GMT-03:00 Jonathan Wilkes jancs...@yahoo.com:

 AFAICT vslider is saving something like a slider position, and your
 expression above (along with the code I posted) is for getting back the
 original value from it.  If you send it something between 0.01 and 1 you'll
 get a curve that's inverted from the one you're after.  If you send it a
 slider position-- something like another [expr] based on the code inside
 vslider_set-- you'll get back (roughly) the same value you input.

 But I'm still stuck on why vslider_bang is doing any math at all.  Why
 should it be more complex than if bang then output stored value?
 (Setting aside sending to receive symbols for the moment.)

 -Jonathan



   On Monday, March 17, 2014 1:21 AM, Alexandre Torres Porres 
 por...@gmail.com wrote:
  Hi Roman. This is turning out trickier than I thought. A friend
 explained the code to me and got to the following equation, with min/max
 values as 0.01 and 1 respectively.

 [expr 0.01 * exp((log(1 / 0.01) / 0.01) * $f1 * 0.01)]

 For what I've checked, it seems to behave like your patch. But it doesn't
 do the trick I'm looking for yet. I sent a patch earlier, and I'm sending
 it back again.

 The goal is to connect a linear slider to an [expr] (with this so called
 log function) and then to another linear slider. The idea then is that
 this second slider behaves as one that was set as being log.

 In the patch attached I was able to emulate it poorly with [pow 0.25], but
 that was before reaching the list. See that if I use this expr function
 from the code or your patch it presents quite a different behavior.

 maybe it is some sort of inversion of this equation, not sure. Apparently
 this code converts the log function values to linear and I'm hoping to
 get the exact opposite. Got it?

 Thanks for looking into this


 2014-03-12 4:38 GMT-03:00 Roman Haefeli reduz...@gmail.com:

 On Don, 2014-03-06 at 21:37 -0300, Alexandre Torres Porres wrote:
  hi folks, out of curiosity, what's the exact log function used in the
  slider? I'd like to emulate it.

 I am not sure, if this is what you want. It converts the incoming linear
 range between 0 and 1 to a logarithmic range specified by $1 and $2,
 respectively by the second and third inlet. They behave like the lower
 and upper bound specified in the [vslider]/[hslider] classes.

 https://raw.github.com/reduzent/netpd2-patches/master/abs/rh_scalelog.pd


 Roman




 ___
 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] Tannhauser Pure Data compiler

2014-03-17 Thread Joe White
Hey guys,

I'm working on this at the moment with Martin. It's basically a way of
compiling a Pd patch to an optimised C library for embedding in devices or
applications.

We're looking to release this very soon, we'll keep everyone posted when it
happens.

Cheers,
Joe


On 17 March 2014 13:37, Ingo i...@miamiwave.com wrote:

 Yeah, I had found that but nothing else except that the OWL, a
 programmable effects pedal, can use Pd patches after compiling them to C
 with Tannhauser.


 
 Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von
 Pierre Massat
 Gesendet: Montag, 17. März 2014 14:12
 An: Simon Wise
 Cc: pd-list
 Betreff: Re: [PD] Tannhauser Pure Data compiler

 Not much information on either page...
 Pierre.

 2014-03-17 14:06 GMT+01:00 Simon Wise simonzw...@gmail.com:
 On 17/03/14 23:26, Ingo wrote:
 I just found out about the Tannhäuser Pure Data compiler.
 Does anybody know who makes it or where to get this compiler?

 Thanks!
 Ingo

 google took me here ...


 https://www.hackerleague.org/hackathons/automatic-music-hackathon/hacks/tann
 hauser-a-c-compiler-for-pure-data

 perhaps Martin Roth is your man

 https://www.hackerleague.org/users/mhroth


 ___
 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




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


Re: [PD] Tannhauser Pure Data compiler

2014-03-17 Thread Scott R. Looney
hi Ingo and everybody, sounds very interesting indeed. i have the github
page for Martin, but it does appear that Tannhäuser compiler is not on it.
be interesting to see how usable the code is currently...anyway, here it is
and it has an email contact on it if you need to find him.

https://github.com/mhroth

best,
scott


On Mon, Mar 17, 2014 at 6:37 AM, Ingo i...@miamiwave.com wrote:

 Yeah, I had found that but nothing else except that the OWL, a
 programmable effects pedal, can use Pd patches after compiling them to C
 with Tannhauser.


 
 Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von
 Pierre Massat
 Gesendet: Montag, 17. März 2014 14:12
 An: Simon Wise
 Cc: pd-list
 Betreff: Re: [PD] Tannhauser Pure Data compiler

 Not much information on either page...
 Pierre.

 2014-03-17 14:06 GMT+01:00 Simon Wise simonzw...@gmail.com:
 On 17/03/14 23:26, Ingo wrote:
 I just found out about the Tannhäuser Pure Data compiler.
 Does anybody know who makes it or where to get this compiler?

 Thanks!
 Ingo

 google took me here ...


 https://www.hackerleague.org/hackathons/automatic-music-hackathon/hacks/tann
 hauser-a-c-compiler-for-pure-data

 perhaps Martin Roth is your man

 https://www.hackerleague.org/users/mhroth


 ___
 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


[PD] Interface bug switching to edit mode with sub patches

2014-03-17 Thread Jaime E Oliver
Hi, 

In os x 10.8.5 with Pd 0.45-4, when I save a patch that has a sub patch and 
this sub patch is open, the next time that I open it I have the following 
behavior:

+ Both the parent patch and sub patch are loaded, but the parent patch shows up 
in front.
+ Although the parent patch shows in front of the sub patch, I cannot switch 
from edit to run mode unless I close the sub patch behind it.

It seems like the edit mode switch is being applied to the sub patch which is 
not the frontmost window and the correct behavior is that the frontmost window 
is being addressed by commands. I cannot test this in linux now, but I imagine 
some might.

To test, open the attached patch and see if you can switch to edit mode…

best,

J



editing-test.pd
Description: Binary data





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


Re: [PD] HD 1920 X 1080 (Mateo De Los R?os)

2014-03-17 Thread Mateo De Los Ríos
Thanks!

I'll check this out and I'll let you know.

M


On Mon, Mar 17, 2014 at 5:08 AM, IOhannes m zmoelnig zmoel...@iem.atwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 On 2014-03-14 12:21, olm-e wrote:
  (I did a small fork of it on github -
  https://github.com/Olm-e/pdgst -

 do a pull-request or open a ticket on my umlaute/pdgst.

 fgasmdr
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 Comment: Using GnuPG with Icedove - http://www.enigmail.net/

 iQIcBAEBCAAGBQJTJsmvAAoJELZQGcR/ejb4HB4QAJRGbkhMQRot/x23tvTKgJCg
 IY8LSEje1j6/nmy+/r71J7yT08DkoMJb6w4ESJNCkQgghw7Mj9HQ1Xv7819rkTuA
 tOjdS2E2WBFwzji0k8o83U1oRDy0k8by7bbgdlGgyly0BcjNl9vTvwWIcelcYdye
 Zt5ihK/7DjSwPPsT2Jt3vYr/Dr5hyydrJpj35BL6zO3GQMhzTMR51Yw5tKZZ9jpW
 JKure+WGUqjNYFj9O3SFdUgD2PAortFy5vQw2AdsmHEGJpJSFID+rphS6jzI90yX
 nIwdi2cioZaIezlnK50E/XdxaNJkRjvcH/y2Ze4Yx7KAuy7+mRVvYIS39wLA6Ohr
 xbJJXiM0eUT+mecr5f5WzEq7tdziMQM2HdXhLqbW54EXeF/I4bcItuuL2kRZgO+Q
 49xK3T61uEFOaZRi5tq03jUdOrbIfYU1szaEDasgYNJR0QcIAjvDUzE2bR4eDbJJ
 gZYfaamEBQAaLKq3IM7IawFVvMqa5Q0ShZ6mDDPiwCTPbTKxYqYoj1HrITUT/ehl
 jdDVUOBHrughsn6D7uMdD593MQJCEbc3nF2xa1Gt/RnLSyqQ/F2nPV6cFXqsIP83
 JTStNWGgW06a1nmNd63qSHBsvS9zuwqcQGvR8A/SliRDhYIT0JNfOaDs5ovvfvDa
 Ga5jS+fO3uUN8u9YxdV1
 =fxwz
 -END PGP SIGNATURE-

 ___
 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] [OT] Raspberry Pi Wolfson Audio Card

2014-03-17 Thread Simon Iten
hey dan, do you have to tell pd to use it’s own core on udoo, or does it so 
automagically? has this something to do with the cpu group from your script (it 
did not exist on my system)

cheers

On 13 Mar 2014, at 15:46, Dan Wilcox danomat...@gmail.com wrote:

 I don't know the latency. I can try testing that at let you know, but it's 
 definitely good enough for what I need. It is at least lower than 20ms. 
 Acceptable latency for guitar is 12ms, and I think I got around 16ms out of 
 my old setup running on the Pentium III 500Mhz wearable.
 
 The main deal with the UDOO, is that it's multiple cores (2 or 4 depending on 
 the board you buy). This way, the kernel has a core, pd has a core, and there 
 are 2 cores left over for other things (my HID-OSC device daemon, etc).
 
 
 On Thu, Mar 13, 2014 at 4:32 AM, Pierre Massat pimas...@gmail.com wrote:
 Hey Dan,
 
 Looks like the UDOO is much better indeed from what you recently posted here. 
 Could you tell us what latency you're achieving ? And which version you're 
 using (with or w/o wifi) ?
 
 Cheers,
 
 Pierre.
 
 
 2014-03-13 0:49 GMT+01:00 Dan Wilcox danomat...@gmail.com:
 Ok for small projects, but you're not going to interface a real stage mic or 
 guitar easily. Would be much better if the next pi version comes with an 
 onboard usb controller, which is the main problem for usb audio on the 
 current pi. For now, the UDOO is where it's at for that.
 
 On Mar 12, 2014, at 7:10 PM, pd-list-requ...@iem.at wrote:
 
 From: me.grimm megr...@gmail.com
 Subject: [PD] [OT] Raspberry Pi Wolfson Audio Card
 Date: March 12, 2014 at 6:38:43 PM EDT
 To: pd_list Listserve pd-list@iem.at
 
 
 You all see this?
 
 http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi
 
 what do you think?
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 
 -- 
 Dan Wilcox
 danomatika.com
 robotcowboy.com
 ___
 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] Interface bug switching to edit mode with sub patches

2014-03-17 Thread Roman Haefeli
On Mon, 2014-03-17 at 14:12 -0400, Jaime E Oliver wrote:
 Hi, 
 
 In os x 10.8.5 with Pd 0.45-4, 

I'm just curious: Is the observed behavior specific to this new version
or do older Pd's also exhibit this problem?

 when I save a patch that has a sub patch and this sub patch is open,
 the next time that I open it I have the following behavior:
 
 + Both the parent patch and sub patch are loaded, but the parent patch
 shows up in front.
 + Although the parent patch shows in front of the sub patch, I cannot
 switch from edit to run mode unless I close the sub patch behind it.
 
 It seems like the edit mode switch is being applied to the sub patch
 which is not the frontmost window and the correct behavior is that the
 frontmost window is being addressed by commands. I cannot test this in
 linux now, but I imagine some might.

I tested with Pd 0.45-4 on Ubuntu 12.04 running fluxbox as window
manager. The subpatch comes to front and when I switch to edit mode, I'm
in edit mode of the subpatch.

Does that indicate it is related to the OS / window manager?

Roman


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


Re: [PD] Interface bug switching to edit mode with sub patches

2014-03-17 Thread Jaime E Oliver
Good point. It doesn't happen in version 0.42-5 in the same OS. 

J


On Mar 17, 2014, at 3:41 PM, Roman Haefeli reduz...@gmail.com wrote:

 On Mon, 2014-03-17 at 14:12 -0400, Jaime E Oliver wrote:
 Hi, 
 
 In os x 10.8.5 with Pd 0.45-4, 
 
 I'm just curious: Is the observed behavior specific to this new version
 or do older Pd's also exhibit this problem?
 
 when I save a patch that has a sub patch and this sub patch is open,
 the next time that I open it I have the following behavior:
 
 + Both the parent patch and sub patch are loaded, but the parent patch
 shows up in front.
 + Although the parent patch shows in front of the sub patch, I cannot
 switch from edit to run mode unless I close the sub patch behind it.
 
 It seems like the edit mode switch is being applied to the sub patch
 which is not the frontmost window and the correct behavior is that the
 frontmost window is being addressed by commands. I cannot test this in
 linux now, but I imagine some might.
 
 I tested with Pd 0.45-4 on Ubuntu 12.04 running fluxbox as window
 manager. The subpatch comes to front and when I switch to edit mode, I'm
 in edit mode of the subpatch.
 
 Does that indicate it is related to the OS / window manager?
 
 Roman
 
 
 ___
 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] Tannhauser Pure Data compiler

2014-03-17 Thread Chris Clepper
Joe

Does it just compile the DSP graph into a loop with function calls or does
it do all of the control, file system and UI in the patch too?

OWL looks interesting but obviously it cannot run a lot of Pd patches that
need more than 1mb of RAM or a file system.

Chris

On Monday, March 17, 2014, Joe White white.j...@gmail.com wrote:

 Hey guys,

 I'm working on this at the moment with Martin. It's basically a way of
 compiling a Pd patch to an optimised C library for embedding in devices or
 applications.

 We're looking to release this very soon, we'll keep everyone posted when
 it happens.

 Cheers,
 Joe


 On 17 March 2014 13:37, Ingo 
 i...@miamiwave.comjavascript:_e(%7B%7D,'cvml','i...@miamiwave.com');
  wrote:

 Yeah, I had found that but nothing else except that the OWL, a
 programmable effects pedal, can use Pd patches after compiling them to C
 with Tannhauser.


 
 Von: 
 pd-list-boun...@iem.atjavascript:_e(%7B%7D,'cvml','pd-list-boun...@iem.at');[mailto:
 pd-list-boun...@iem.atjavascript:_e(%7B%7D,'cvml','pd-list-boun...@iem.at');]
 Im Auftrag von
 Pierre Massat
 Gesendet: Montag, 17. März 2014 14:12
 An: Simon Wise
 Cc: pd-list
 Betreff: Re: [PD] Tannhauser Pure Data compiler

 Not much information on either page...
 Pierre.

 2014-03-17 14:06 GMT+01:00 Simon Wise 
 simonzw...@gmail.comjavascript:_e(%7B%7D,'cvml','simonzw...@gmail.com');
 :
 On 17/03/14 23:26, Ingo wrote:
 I just found out about the Tannhäuser Pure Data compiler.
 Does anybody know who makes it or where to get this compiler?

 Thanks!
 Ingo

 google took me here ...


 https://www.hackerleague.org/hackathons/automatic-music-hackathon/hacks/tann
 hauser-a-c-compiler-for-pure-datahttps://www.hackerleague.org/hackathons/automatic-music-hackathon/hacks/tannhauser-a-c-compiler-for-pure-data

 perhaps Martin Roth is your man

 https://www.hackerleague.org/users/mhroth


 ___
 Pd-list@iem.at javascript:_e(%7B%7D,'cvml','Pd-list@iem.at'); mailing
 list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list



 ___
 Pd-list@iem.at javascript:_e(%7B%7D,'cvml','Pd-list@iem.at'); mailing
 list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list




 --
 Follow me on Twitter @diplojocus

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


Re: [PD] log function in slider

2014-03-17 Thread Roman Haefeli
On Mon, 2014-03-17 at 02:21 -0300, Alexandre Torres Porres wrote:
 Hi Roman. This is turning out trickier than I thought.

I think I understand now what you are trying to achieve (sorry, took me
a long time). But I don't really have a clue how to do it. The
abstraction I posted emulates the output of a logarithmic slider, but
you're looking for the function to feed a linear slider so that it
behaves as if it would be a logarithmic slider, right?
  
I'm interested to see, if someone comes up with a solution...

Roman





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


Re: [PD] [OT] Raspberry Pi Wolfson Audio Card

2014-03-17 Thread Dan Wilcox
Mm well the kernel does it as far as I could tell by watching htop. I think the 
latently is mainly due to the Linaro image not being hard float ...

enohp ym morf tnes
--
Dan Wilcox
danomatika.com
robotcowboy.com

On Mar 17, 2014, at 12:41 PM, Simon Iten itensi...@gmail.com wrote:

 hey dan, do you have to tell pd to use it’s own core on udoo, or does it so 
 automagically? has this something to do with the cpu group from your script 
 (it did not exist on my system)
 
 cheers
 
 On 13 Mar 2014, at 15:46, Dan Wilcox danomat...@gmail.com wrote:
 
 I don't know the latency. I can try testing that at let you know, but it's 
 definitely good enough for what I need. It is at least lower than 20ms. 
 Acceptable latency for guitar is 12ms, and I think I got around 16ms out of 
 my old setup running on the Pentium III 500Mhz wearable.
 
 The main deal with the UDOO, is that it's multiple cores (2 or 4 depending 
 on the board you buy). This way, the kernel has a core, pd has a core, and 
 there are 2 cores left over for other things (my HID-OSC device daemon, etc).
 
 
 On Thu, Mar 13, 2014 at 4:32 AM, Pierre Massat pimas...@gmail.com wrote:
 Hey Dan,
 
 Looks like the UDOO is much better indeed from what you recently posted 
 here. Could you tell us what latency you're achieving ? And which version 
 you're using (with or w/o wifi) ?
 
 Cheers,
 
 Pierre.
 
 
 2014-03-13 0:49 GMT+01:00 Dan Wilcox danomat...@gmail.com:
 Ok for small projects, but you're not going to interface a real stage mic 
 or guitar easily. Would be much better if the next pi version comes with 
 an onboard usb controller, which is the main problem for usb audio on the 
 current pi. For now, the UDOO is where it's at for that.
 
 On Mar 12, 2014, at 7:10 PM, pd-list-requ...@iem.at wrote:
 
 From: me.grimm megr...@gmail.com
 Subject: [PD] [OT] Raspberry Pi Wolfson Audio Card
 Date: March 12, 2014 at 6:38:43 PM EDT
 To: pd_list Listserve pd-list@iem.at
 
 
 You all see this?
 
 http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi
 
 what do you think?
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 -- 
 Dan Wilcox
 danomatika.com
 robotcowboy.com
 ___
 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] log function in slider

2014-03-17 Thread Jonathan Wilkes

On 03/17/2014 04:34 PM, Roman Haefeli wrote:

On Mon, 2014-03-17 at 02:21 -0300, Alexandre Torres Porres wrote:

Hi Roman. This is turning out trickier than I thought.

I think I understand now what you are trying to achieve (sorry, took me
a long time). But I don't really have a clue how to do it. The
abstraction I posted emulates the output of a logarithmic slider, but
you're looking for the function to feed a linear slider so that it
behaves as if it would be a logarithmic slider, right?
   
I'm interested to see, if someone comes up with a solution...


This is from Pd-l2ork, so the codebase might be slightly different.

Also, notice I've got hard-coded slider height = 128 in the algo.

Still don't understand why math is done in vslider_bang.

-Jonathan



Roman





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




#N canvas -9 19 513 614 10;
#X obj 16 319 cnv 15 202 227 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 65 57 cnv 15 351 255 empty empty empty 20 12 0 14 -233017 -66577
0;
#X floatatom 148 27 5 0 0 0 f - -, f 5;
#X obj 217 162 log;
#X obj 217 120 f 1;
#X obj 217 141 / 0.01;
#X obj 217 183 /;
#X obj 276 131 f 128;
#X obj 276 152 - 1;
#X text 331 139 x_k;
#X obj 148 142 / 0.01;
#X obj 148 163 log;
#X obj 148 230 /;
#X obj 148 67 t a b b;
#X obj 148 251 * 100;
#X obj 148 272 + 0.4;
#X obj 148 293 int;
#X text 190 295 - x_xval;
#X obj 148 374 t b a;
#X obj 148 395 f 2;
#X obj 148 416 + 127;
#X obj 148 437 -;
#X text 183 435 - r;
#X obj 148 324 + 50;
#X obj 148 345 / 100;
#X obj 235 493 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144
-1 -1 0 1;
#X msg 148 459 128 \$1;
#X obj 148 480 -;
#X obj 288 493 vsl 15 128 0.01 1 1 0 empty empty empty 0 -9 0 10 -262144
-1 -1 0 1;
#X text 68 58 vslider_set;
#X text 21 326 vslider_draw_update;
#X text 115 581 linear slider -;
#X text 315 581 - logarithmic slider;
#X connect 2 0 13 0;
#X connect 2 0 28 0;
#X connect 3 0 6 0;
#X connect 4 0 5 0;
#X connect 5 0 3 0;
#X connect 6 0 12 1;
#X connect 7 0 8 0;
#X connect 8 0 6 1;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 14 0;
#X connect 13 0 10 0;
#X connect 13 1 4 0;
#X connect 13 2 7 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 23 0;
#X connect 18 0 19 0;
#X connect 18 1 21 1;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 21 0 26 0;
#X connect 23 0 24 0;
#X connect 24 0 18 0;
#X connect 26 0 27 0;
#X connect 27 0 25 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list