Re: [PD] ubuntu 12.04 precise pangolin pd-extended 0.43.1 amd64 deb package for download - link included

2012-05-04 Thread katja
On Fri, May 4, 2012 at 5:14 AM, Hans-Christoph Steiner h...@at.or.at wrote:

 Does it does type-punning?  Does compilation give warnings about that?  
 That's my guess.


[blosc~] does type punning indeed, it uses type unsigned long in phase
conversion, blosc~.cc line 86/87. But there is no literal bitmask
defined, only a scaling. Not sure if this type punning gives a
problem.


Katja

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


Re: [PD] ubuntu 12.04 precise pangolin pd-extended 0.43.1 amd64 deb package for download - link included

2012-05-04 Thread katja
On Fri, May 4, 2012 at 10:26 AM, katja katjavet...@gmail.com wrote:
 On Fri, May 4, 2012 at 5:14 AM, Hans-Christoph Steiner h...@at.or.at wrote:

 Does it does type-punning?  Does compilation give warnings about that?  
 That's my guess.


 [blosc~] does type punning indeed, it uses type unsigned long in phase
 conversion, blosc~.cc line 86/87. But there is no literal bitmask
 defined, only a scaling. Not sure if this type punning gives a
 problem.

Wait, it uses unsigned long long and unsigned long as distinguished
data types for some tricks. But these types could be both 64 bit on a
64 bit system, no? Would it not be better to use types from stdint.h
(or cstdint.h in this case)?

Katja

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


[PD] Multiline text using [text2d]/[text3d]

2012-05-04 Thread Antonio Roberts
Is it possible to display multiple lines of text using one instance of
[text2d]/[text3d]?

Antonio

-- 

anto...@hellocatfood.com
http://www.hellocatfood.com


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


Re: [PD] Multiline text using [text2d]/[text3d]

2012-05-04 Thread Jack
Le 04/05/2012 14:18, Antonio Roberts a écrit :
 Is it possible to display multiple lines of text using one instance of
 [text2d]/[text3d]?

 Antonio


Yes, As you can see in the help patch, these objects accept the message
'string', which contains ASCII values.
See the patch attached.
++

Jack




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


Re: [PD] for ivo - and others - re:mu integration of PD with Unity 3.5?

2012-05-04 Thread patrick

hi,

i am also trying to get libpd in Unity:
http://goo.gl/OU0Wt

will poke Henk (http://fractgame.com/) again... maybe he have some time now.

à+

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


[PD] what makes Pd-extended 0.43 so CPU-hungry?

2012-05-04 Thread katja
Hello,

I've installed Pd-extended 0.43 versions (Linux and OSX) from the
autobuilds several times in the past year. The latest builds seem to
work fine in many aspects, but they are still so CPU-hungry: ~ 50%
more than Pd-extended 0.42. How come?

A while ago, the new PortAudio version was blamed
(http://www.mail-archive.com/pd-list@iem.at/msg50357.html). Indeed,
using Jack solves the load difference for OSX.

But on Debian I also observe a 50% load increase for the new
Pd-extended. No matter if ALSA or Jack is used. Does anyone have
similar observations with Linux builds?

BTW, I'm happy with Tk 8.5's antialiased font! Initially, I feared
that antialiasing was responsible for increased load on Debian, but
disabling GUI updates did not make noticeable difference. It seems
that antialiasing is done rather efficiently, the performance drop
must be somewhere else.

Katja

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


Re: [PD] Multiline text using [text2d]/[text3d]

2012-05-04 Thread Antonio Roberts
Thanks for this, but there's still a bit of a problem. I need to be
able to type in the text using a symbol box (sorry, I should've
mentioned this earlier).

I had a look through the archives and found that someone had written
an abstraction to convert text to ascii
http://lists.puredata.info/pipermail/pd-list/2011-08/090340.html but
this doesn't support displaying numbers.

Using this solution I can still convert text to ascii but how can I
type in a line break using a symbol box?

Antonio

On 4 May 2012 13:52, Jack j...@rybn.org wrote:
 Le 04/05/2012 14:18, Antonio Roberts a écrit :
 Is it possible to display multiple lines of text using one instance of
 [text2d]/[text3d]?

 Antonio


 Yes, As you can see in the help patch, these objects accept the message
 'string', which contains ASCII values.
 See the patch attached.
 ++

 Jack



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




-- 

anto...@hellocatfood.com
http://www.hellocatfood.com


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


Re: [PD] Multiline text using [text2d]/[text3d]

2012-05-04 Thread IOhannes m zmölnig

On 05/04/2012 02:42 PM, Husk 00 wrote:

On Fri, May 4, 2012 at 2:18 PM, Antonio Roberts
anto...@hellocatfood.com mailto:anto...@hellocatfood.com wrote:

Is it possible to display multiple lines of text using one instance of
[text2d]/[text3d]?

To do that I usually convert text into ascii strings and pass the list
to text3d prepend string message.
I don't know if there are others methods.


if you manage to create a symbol with a CR (or LF?, or CRLF?), then the 
[text*] objects will linebreak there as well.

but it might be easiser to use [string(

fgmasdr
IOhannes

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


Re: [PD] Multiline text using [text2d]/[text3d]

2012-05-04 Thread Jonathan Wilkes
- Original Message -

 From: IOhannes m zmölnig zmoel...@iem.at
 To: pd-list@iem.at
 Cc: 
 Sent: Friday, May 4, 2012 11:04 AM
 Subject: Re: [PD] Multiline text using [text2d]/[text3d]
 
 On 05/04/2012 02:42 PM, Husk 00 wrote:
  On Fri, May 4, 2012 at 2:18 PM, Antonio Roberts
  anto...@hellocatfood.com mailto:anto...@hellocatfood.com 
 wrote:
 
      Is it possible to display multiple lines of text using one instance of
      [text2d]/[text3d]?
 
  To do that I usually convert text into ascii strings and pass the list
  to text3d prepend string message.
  I don't know if there are others methods.
 
 if you manage to create a symbol with a CR (or LF?, or CRLF?), then the 
 [text*] objects will linebreak there as well.

Here's quick-and-dirty, Pd-Vanilla-compatible (attached).

Oddly it displays differently in the console on Pd-l2ork, but it looks fine in 
Pd-ext nightly.

-Jonathan

 but it might be easiser to use [string(
 
 fgmasdr
 IOhannes
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 

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


Re: [PD] what makes Pd-extended 0.43 so CPU-hungry?

2012-05-04 Thread Hans-Christoph Steiner

I honestly don't know the cause, and haven't really checked on numbers.  I 
mostly work on my four year old laptop, and test by running patches I know 
(solitude is a good test of heavy CPU usage, it won't run on a machine less 
than 1.6GHz, from my experience).

As for drawing operations like anti-aliasing, those would not show up in the 
'pd' process, but rather the 'pd-gui' process, since that's the Tk part.

Are you seeing the CPU increase in the 'pd' process?  How are you measuring 
this?

.hc

On May 4, 2012, at 9:31 AM, katja wrote:

 Hello,
 
 I've installed Pd-extended 0.43 versions (Linux and OSX) from the
 autobuilds several times in the past year. The latest builds seem to
 work fine in many aspects, but they are still so CPU-hungry: ~ 50%
 more than Pd-extended 0.42. How come?
 
 A while ago, the new PortAudio version was blamed
 (http://www.mail-archive.com/pd-list@iem.at/msg50357.html). Indeed,
 using Jack solves the load difference for OSX.
 
 But on Debian I also observe a 50% load increase for the new
 Pd-extended. No matter if ALSA or Jack is used. Does anyone have
 similar observations with Linux builds?
 
 BTW, I'm happy with Tk 8.5's antialiased font! Initially, I feared
 that antialiasing was responsible for increased load on Debian, but
 disabling GUI updates did not make noticeable difference. It seems
 that antialiasing is done rather efficiently, the performance drop
 must be somewhere else.
 
 Katja
 
 ___
 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] for ivo - and others - re:mu integration of PD with Unity 3.5?

2012-05-04 Thread Scott R. Looney
there seem to be a fair amount of folks interested in this from what i've
seen on the noisepages list for libpd. keep us informed!

scott


On Fri, May 4, 2012 at 6:19 AM, patrick pured...@11h11.com wrote:

 hi,

 i am also trying to get libpd in Unity:
 http://goo.gl/OU0Wt

 will poke Henk (http://fractgame.com/) again... maybe he have some time
 now.

 à+


 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list 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] deep note in Pd

2012-05-04 Thread Jonathan Wilkes
- Original Message -

 From: katja katjavet...@gmail.com
 To: pd-list@iem.at
 Cc: 
 Sent: Thursday, May 3, 2012 4:24 AM
 Subject: Re: [PD] deep note in Pd
 
G reat audiovisual composition. One could also spend days or weeks
 learning advanced Pd techniques from it. A typical Jonathan Wilkes
 patch, I would say.

Hey, thanks Katja!

Best,
Jonathan

 
 Katja
 
 
 On Wed, May 2, 2012 at 7:50 PM, Jonathan Wilkes jancs...@yahoo.com 
 wrote:
  Yeah, my default screen-video-capture tool doesn't capture sound, so I 
 just quickly recorded to
 
  [writesf~] at whatever level sounded good in my earphones and put it 
 together with the webm.
 
  The patch is attached.
 
  -Jonathan
 
 
 
  - Original Message -
  From: Max abonneme...@revolwear.com
  To: Jonathan Wilkes jancs...@yahoo.com
  Cc:
  Sent: Wednesday, May 2, 2012 7:48 AM
  Subject: Re: [PD] deep note in Pd
 
  LOL
  the volume is a bit low.
 
  Am 02.05.2012 um 04:49 schrieb Jonathan Wilkes:
 
   Batuhan Bozkurt wrote a great blog entry about recreating the THX
  Deep Note with Supercollider awhile back.
   So I tried it in Pd.
   Then I lost the patch.
   Then I tried recreating it from memory, and upped the ante with 
 some
  visuals :)
 
   http://www.youtube.com/watch?v=ESi7ub8AVPs
 
   (Unfortunately the a and v don't sync up so well, but you can 
 get the
  general idea)
 
   -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
 
 
 ___
 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] pduino patch help

2012-05-04 Thread Drake Schutt
I've got a fairly simple patch that I got help from someone on the list in
building.  It just takes midi data from 16 drum pads and routes the bangs
to different output pins.  The pins then trigger a seperate solenoids with
the arduino board.  These solenoids hit actual drums.

I thought the pd patch was working last week and the [digital 0 0] message
box was displaying different numbers when different drum pads were
triggered.  I then updated the firmata library because I thought I should.
The [digital 0 0] box then stopped displaying numbers according to midi
input data.

Would someone mind looking at my patch and seeing if something is wrong? I
don't know a whole lot about pd.  I can send it off list, I doubt there's
attachments here.

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


Re: [PD] pduino patch help

2012-05-04 Thread Hans-Christoph Steiner

Attach the patch, then we can take a look , attached pd patches are welcome, 
common and even encouraged here! :-D

.hc

On May 4, 2012, at 2:59 PM, Drake Schutt wrote:

 I've got a fairly simple patch that I got help from someone on the list in 
 building.  It just takes midi data from 16 drum pads and routes the bangs to 
 different output pins.  The pins then trigger a seperate solenoids with the 
 arduino board.  These solenoids hit actual drums.
 
 I thought the pd patch was working last week and the [digital 0 0] message 
 box was displaying different numbers when different drum pads were triggered. 
  I then updated the firmata library because I thought I should.  The [digital 
 0 0] box then stopped displaying numbers according to midi input data.
 
 Would someone mind looking at my patch and seeing if something is wrong? I 
 don't know a whole lot about pd.  I can send it off list, I doubt there's 
 attachments here.
 
 Thanks,
 Drake 
 ___
 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] pduino patch help

2012-05-04 Thread Björn Eriksson
Hello,
in fact you can put attachments here on the list.

I am sorry but I am not really helpful on this matter, as I am myself also
trying to get some piezo-triggerings onto Pd through Arduino and are still
learning around this. I wouldn´t mind take a look at the patch - but as
said before - I am not sure I could be to so much help.

All the best,
Björn Eriksson

On Fri, May 4, 2012 at 8:59 PM, Drake Schutt drak...@gmail.com wrote:

 I've got a fairly simple patch that I got help from someone on the list in
 building.  It just takes midi data from 16 drum pads and routes the bangs
 to different output pins.  The pins then trigger a seperate solenoids with
 the arduino board.  These solenoids hit actual drums.

 I thought the pd patch was working last week and the [digital 0 0] message
 box was displaying different numbers when different drum pads were
 triggered.  I then updated the firmata library because I thought I should.
 The [digital 0 0] box then stopped displaying numbers according to midi
 input data.

 Would someone mind looking at my patch and seeing if something is wrong? I
 don't know a whole lot about pd.  I can send it off list, I doubt there's
 attachments here.

 Thanks,
 Drake

 ___
 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] change base of log

2012-05-04 Thread Roberto Aramburu
Hello list, ive noticed that the object [log] only outputs the natural
logarithm and im wondering if there is an object in Pd that can give
me log base 10.
Thanks in advance.

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


Re: [PD] change base of log

2012-05-04 Thread Charles Henry
Divide the result by ln(10)=2.30258509
I'd put this into an abstraction named log10.pd for example:
[inlet]
|
[log]
|
[/ 2.302585]
|
[outlet]

Chuck

On Fri, May 4, 2012 at 2:30 PM, Roberto Aramburu aramburum...@gmail.com wrote:
 Hello list, ive noticed that the object [log] only outputs the natural
 logarithm and im wondering if there is an object in Pd that can give
 me log base 10.
 Thanks in advance.

 ___
 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] pduino patch help

2012-05-04 Thread Drake Schutt
you'll find my patch attached!

On Fri, May 4, 2012 at 2:04 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 Attach the patch, then we can take a look , attached pd patches are
 welcome, common and even encouraged here! :-D

 .hc

 On May 4, 2012, at 2:59 PM, Drake Schutt wrote:

  I've got a fairly simple patch that I got help from someone on the list
 in building.  It just takes midi data from 16 drum pads and routes the
 bangs to different output pins.  The pins then trigger a seperate solenoids
 with the arduino board.  These solenoids hit actual drums.
 
  I thought the pd patch was working last week and the [digital 0 0]
 message box was displaying different numbers when different drum pads were
 triggered.  I then updated the firmata library because I thought I should.
  The [digital 0 0] box then stopped displaying numbers according to midi
 input data.
 
  Would someone mind looking at my patch and seeing if something is wrong?
 I don't know a whole lot about pd.  I can send it off list, I doubt there's
 attachments here.
 
  Thanks,
  Drake
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list




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


Re: [PD] Multiline text using [text2d]/[text3d]

2012-05-04 Thread Jack
Le 04/05/2012 17:59, Jonathan Wilkes a écrit :
 - Original Message -

 From: IOhannes m zmölnig zmoel...@iem.at
 To: pd-list@iem.at
 Cc: 
 Sent: Friday, May 4, 2012 11:04 AM
 Subject: Re: [PD] Multiline text using [text2d]/[text3d]

 On 05/04/2012 02:42 PM, Husk 00 wrote:
  On Fri, May 4, 2012 at 2:18 PM, Antonio Roberts
  anto...@hellocatfood.com mailto:anto...@hellocatfood.com 
 wrote:
  Is it possible to display multiple lines of text using one instance of
  [text2d]/[text3d]?

  To do that I usually convert text into ascii strings and pass the list
  to text3d prepend string message.
  I don't know if there are others methods.
 if you manage to create a symbol with a CR (or LF?, or CRLF?), then the 
 [text*] objects will linebreak there as well.
 Here's quick-and-dirty, Pd-Vanilla-compatible (attached).

 Oddly it displays differently in the console on Pd-l2ork, but it looks fine 
 in Pd-ext nightly.

With 10 instead of 13 in the message box, it looks fine under ubuntu and
pd vanilla.
++

Jack



 -Jonathan

 but it might be easiser to use [string(

 fgmasdr
 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

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


Re: [PD] ubuntu 12.04 precise pangolin pd-extended 0.43.1 amd64 deb package for download - link included

2012-05-04 Thread Ivica Ico Bukvic

Here's the fix for the 64-bit Linux (and I suspect OSX as well).

Change around lines 33 or so:

typedef unsigned long long u64;
typedef unsigned long u32;

To:

#ifdef _WIN32
typedef unsigned long long u64;
typedef unsigned long u32;
#else
#include stdint.h
typedef uint64_t u64;
typedef uint32_t u32;
#endif

Cheers!

ico


On 05/04/2012 04:26 AM, katja wrote:

On Fri, May 4, 2012 at 5:14 AM, Hans-Christoph Steinerh...@at.or.at  wrote:


Does it does type-punning?  Does compilation give warnings about that?  That's 
my guess.


[blosc~] does type punning indeed, it uses type unsigned long in phase
conversion, blosc~.cc line 86/87. But there is no literal bitmask
defined, only a scaling. Not sure if this type punning gives a
problem.


Katja

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



--
Ivica Ico Bukvic, D.M.A
Composition, Music Technology
Director, DISIS Interactive Sound  Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Assistant Director, CCTAD
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139
(540) 231-5034 (fax)
disis.music.vt.edu
l2ork.music.vt.edu
ico.bukvic.net


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