Re: [PD] dealing with large numbers (for rjdj)

2010-04-12 Thread IOhannes m zmoelnig
On 2010-04-11 19:07, duncan speakman wrote:
 hi,
 i'm trying to use the gps object in Pd as part of an RjDj scene and
 their forum is down at the moment so i thought i'd look for help
 here...
 
 so pd has a limit on the size of numbers it can use and i'm looking

well, Pd has no such limit. it's your computer that has.
(Pd could use higher precision maths though, which it currently doesn't)

 for a simple way to break them down, (as i'm using RjDj i have to use
 the vanilla pd so no extra object fun).
 The GPS object apparently sends out numbers to 6 decimal places, (e.g.
 51.430023) which keeps causing problems in other parts of the patch.
 I have tried removing the integer before the point and multiplying by
 1 to give me something manageable. In the above example I would
 expect to get 4300.23 but instead i get something like 4300.23,
 where are these extra numbers coming from?

most likely they come from floating point numbesr and 2^n
representations. http://en.wikipedia.org/wiki/Floating_point
#Representable_numbers.2C_conversion_and_rounding

however, i don't see any particular problem with the extra numbers you get


mfgasdr
IOhannes



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Lithuanian symbol on canvas label or text2d

2010-04-12 Thread IOhannes m zmoelnig
On 2010-04-11 23:24, Gintaras Lau. wrote:
 Dear list,
 
 a problem I have encountered is my native language symbols like:
 ą,č,ę,ė,į,š,ų,ū. I use Alt+Shift keys to change layout.
 While typing I get symbols like font webding. As I started to enter
 text from the textfile (instead of typing to message flag) it seems to
 be all right to set canvas label but not for text2d on GEM window,
 where I get squares instead of those symbols. I tried font like Times
 New Roman witch works fine for Open Office, but maybe there are other
 issues that cause this.
 
 Thanks for any issue related information.


#1 don't use [text2d] if you don't know why (that's a just in case
disclaimer)

#2 [text3d] and friends will take the unicode points (!) with the
string message. e.g. string 371 should display ų (if i read the
letter correctly as latin small capital letter u with ogonek which is
unicode 371) (and if your font has this character)

using the string message you can at least address the first 65535 or
so letters defined by unicode (probably enough for most of us).
in externals/iem/unicode you will also find a UTF8-to-unicode(points)
converter, if you want to read e.g. UTF-8 encoded text-files.

fgmase
IOhannes



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] dynamic normalization

2010-04-12 Thread Marco Donnarumma
Thanks Derek, that's it.
I totally missed it, sorry for the noise.


M


On Sun, Apr 11, 2010 at 1:22 PM, Derek Holzer de...@umatic.nl wrote:

 [limiter~] ???


 On 4/11/10 1:13 PM, Marco Donnarumma wrote:

  How can I dinamically normalize an audio output?



 --
 ::: derek holzer ::: http://macumbista.net :::
 ---Oblique Strategy # 54:
 Do something sudden, destructive and unpredictable




-- 
Marco Donnarumma aka TheSAD
Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK


PORTFOLIO: http://marcodonnarumma.com
LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net |
http://www.flxer.net
EVENT: http://www.liveperformersmeeting.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] [OT] linux multi-output soundcard

2010-04-12 Thread Marco Donnarumma
Hi all,
I know it's OT, but I would like to get an advice from Linux Pd users.
I'm about to buy a soundcard with up to 8 analog I/O for max 500euro/pounds
and want it to be compatible with Linux (I mean, I would like something
working out-of-the-box).
I've been advised about the Terratec Phase 88 Rack..
Any other suggestion?
Thanks,



-- 
Marco Donnarumma aka TheSAD
Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK


PORTFOLIO: http://marcodonnarumma.com
LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net |
http://www.flxer.net
EVENT: http://www.liveperformersmeeting.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [OT] linux multi-output soundcard

2010-04-12 Thread Jaime Oliver
the delta 1010Lt (PCI) is even cheaper, but unbalanced outputs... and only 2
preamps. also out of the box,

J

On Mon, Apr 12, 2010 at 6:23 AM, Oli44 oliv...@heinry.fr wrote:

 6 Months ago I got a second -hand M-Audio 1010 in PCI/rack format, it's
 jsut perfect with Debian Lenny. No phantom though, only sym jack 6.35

 ++
 OH

 Marco Donnarumma wrote:

 Hi all,
 I know it's OT, but I would like to get an advice from Linux Pd users.
 I'm about to buy a soundcard with up to 8 analog I/O for max
 500euro/pounds and want it to be compatible with Linux (I mean, I would like
 something working out-of-the-box).
 I've been advised about the Terratec Phase 88 Rack..
 Any other suggestion?
 Thanks,



 --
 Marco Donnarumma aka TheSAD
 Independent New Media Arts Professional, Performer, Teacher - Edinburgh,
 UK


 PORTFOLIO: http://marcodonnarumma.com
 LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net |
 http://www.flxer.net
 EVENT: http://www.liveperformersmeeting.net
 


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




 --
 oliv...@heinry.fr
 http://www.heinry.fr/olivier



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




-- 
Jaime E Oliver LR

www.jaimeoliver.pe

858 750 0924 (cel)
858 202 1522 (home)
9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [OT] linux multi-output soundcard

2010-04-12 Thread Bryan Jurish
moin Marco,

in my desktop i've got an m-audio delta 1010 lt (used from e-bay), which
worked out of the box (8 unbalanced analalog i/o and midi from a cat
o' 9 tails which plugs directly into the card).  its big brother (delta
1010, no lt suffix) has a nice breakout box (balanced) and uses the
same chipset (envy24, alsa module snd-ice1712).  iirc, the terratec
phase88 uses the same chipset with an unbalanced breakout box.

latency was ok out of the box (don't remember the numbers right now,
sorry), but i had to do some os-level tweaking to get things working to
my satisfaction (realtime kernel, irq priorities, pci settings, etc -
all scripted now and available on request).  also, i had to comment out
a few lines in the envy24control sources (dedicated mixer gui for the
card) in order to stop my console from filling up with annoying warnings
-- really nothing more than an annoyance; i can send you a patch if you
have the same problem... if you can afford one, the rme cards are likely
to be much better, but my budget didn't stretch quite that far ;-)

marmosets,
Bryan

On 2010-04-12 14:11:41, Marco Donnarumma de...@thesaddj.com appears to
have written:
 Hi all,
 I know it's OT, but I would like to get an advice from Linux Pd users.
 I'm about to buy a soundcard with up to 8 analog I/O for max
 500euro/pounds and want it to be compatible with Linux (I mean, I would
 like something working out-of-the-box).
 I've been advised about the Terratec Phase 88 Rack..
 Any other suggestion?

-- 
Bryan Jurish   There is *always* one more bug.
jur...@uni-potsdam.de   -Lubarsky's Law of Cybernetic Entomology

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


[PD] [PD-announce] April pd intro workshops London

2010-04-12 Thread IOhannes m zmoelnig
on behalf of andy farnell, i would like to inform you:



April Beginners Pure Data Workshops, London UK

Sorry for cross posting if you receive this more than once.

http://london.sae.edu/en-gb/content/69/Events_and_Workshops

This Friday the 16th April and the following Friday the 23rd
in London, England, I will be giving two 'free' public lectures
for those who are embarking on Pure Data or audio programming
related courses next semester, or those who are just Pd curious
for art and hacktivism reasons.

It's an open door policy at SAE London, and the $5 booking thing is
merely a mechanism to manage numbers and make sure people are
'serious' if they book one of the limited seats (If you genuinely
can't afford it just ask and they will waive it)


 April 2010
Mo Tu We Th Fr Sa Su
  1  2  3  4
 5  6  7  8  9 10 11
12 13 14 15 *  17 18
19 20 21 22 *  24 25
26 27 28 29 30

http://london.sae.edu/en-gb/content/69/Events_and_Workshops

Thankyou,

Andy





smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [OT] linux multi-output soundcard

2010-04-12 Thread tim vets
Hey,
on ubuntu, I have good experience with:
-echo layla 3g (8in8out,2preamps, phantom...)
-m-audio delta 1010LT
-m-audio delta 44
-rme hammerfall dsp + multiface, both PCI and PCMCIA (note: the output jack
sockets are too close to each other, which can give you a hard time
connecting more than 2 cables with 'sturdy' jacks.)
all those worked pretty much out of the box

bad experience with:
-firewire soundcard using 'freebob' driver
(I think the brand was motu, or presonus, or focusrite, one of those, I
don't remember exactly...but, while it was officially supposed to work
(checked alsa soundcard matrix) it didn't...)
I haven't checked recently, but I still have the impression that firewire
soundcards are poorly supported on linux...
-m-audio delta 66 no sound, don't know the reason, is anyone using this card
?

gr,
Tim

2010/4/12 Bryan Jurish jur...@uni-potsdam.de

 moin Marco,

 in my desktop i've got an m-audio delta 1010 lt (used from e-bay), which
 worked out of the box (8 unbalanced analalog i/o and midi from a cat
 o' 9 tails which plugs directly into the card).  its big brother (delta
 1010, no lt suffix) has a nice breakout box (balanced) and uses the
 same chipset (envy24, alsa module snd-ice1712).  iirc, the terratec
 phase88 uses the same chipset with an unbalanced breakout box.

 latency was ok out of the box (don't remember the numbers right now,
 sorry), but i had to do some os-level tweaking to get things working to
 my satisfaction (realtime kernel, irq priorities, pci settings, etc -
 all scripted now and available on request).  also, i had to comment out
 a few lines in the envy24control sources (dedicated mixer gui for the
 card) in order to stop my console from filling up with annoying warnings
 -- really nothing more than an annoyance; i can send you a patch if you
 have the same problem... if you can afford one, the rme cards are likely
 to be much better, but my budget didn't stretch quite that far ;-)

 marmosets,
Bryan

 On 2010-04-12 14:11:41, Marco Donnarumma de...@thesaddj.com appears to
 have written:
  Hi all,
  I know it's OT, but I would like to get an advice from Linux Pd users.
  I'm about to buy a soundcard with up to 8 analog I/O for max
  500euro/pounds and want it to be compatible with Linux (I mean, I would
  like something working out-of-the-box).
  I've been advised about the Terratec Phase 88 Rack..
  Any other suggestion?

 --
 Bryan Jurish   There is *always* one more bug.
 jur...@uni-potsdam.de   -Lubarsky's Law of Cybernetic Entomology

 ___
 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] sys_gui full screen text

2010-04-12 Thread Hans-Christoph Steiner


You need to 'raise' the window to put it in front.  Try this:



windowthin.pd
Description: Binary data




.hc

On Apr 11, 2010, at 5:22 PM, Gintaras Lau. wrote:


Dear list,

I have created window with a commands using sys_gui:

[toplevel .new(
[.new configure -bg black(
[wm atributes .new -fullscreen 1(
|
[sys_gui]

I have read manuals from some sites recommended by Hans-Christoph
Steiner, but commands presented there are not accepted by pd except
those I wrote as message flags.
My mission is to read text from text file (what I already solved) and
present text on that full screen .new window.
Can you replay to me a guide, syntax, or way how to make text appear
on that window? Text file contains 6 short lines.
How that .new window is going to interact with a gem window (also full
screen, topmost) when it will be created?

Thank you and Respect.

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






If you are not part of the solution, you are part of the problem.


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


[PD] Filters...

2010-04-12 Thread Pierre Massat
Hi all,

recently there was a discussion about the different ways of avoiding
aliasing. One of these is oversampling, but as far as i know there is only
one example of it in Pd help patches, and it has a phasor in the subpatch. I
m assuming that i could use the Butterworth filter in the subpatch without
the phasor, am i right? In this case would it make sense to use it everytime
i need i low-pass filter?
This is probably a very silly question...

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


Re: [PD] [OT] linux multi-output soundcard

2010-04-12 Thread ydego...@gmail.com

s'lam
I haven't checked recently, but I still have the impression that 
firewire soundcards are poorly supported on linux...


the edirols FA-66 and FA-101 are working fine ..

saludos,
sevy

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


Re: [PD] Lithuanian symbol on canvas label or text2d

2010-04-12 Thread ydego...@gmail.com

s'lam,

you can try this :
http://www.hangar.org/wikis/lab/doku.php?id=start:ole_alexandria_workshop#side_activities_goodies

sevy

Gintaras Lau. wrote:

Dear list,

a problem I have encountered is my native language symbols like:
ą,č,ę,ė,į,š,ų,ū. I use Alt+Shift keys to change layout.
While typing I get symbols like font webding. As I started to enter
text from the textfile (instead of typing to message flag) it seems to
be all right to set canvas label but not for text2d on GEM window,
where I get squares instead of those symbols. I tried font like Times
New Roman witch works fine for Open Office, but maybe there are other
issues that cause this.

Thanks for any issue related information.

___
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] linux multi-output soundcard

2010-04-12 Thread Husk 00
On Mon, Apr 12, 2010 at 5:51 PM, ydego...@gmail.com ydego...@gmail.comwrote:

 s'lam

  I haven't checked recently, but I still have the impression that firewire
 soundcards are poorly supported on linux...


 the edirols FA-66 and FA-101 are working fine ..

 saludos,
 sevy


I confirm, fa-101 worked perfectly for our last project!
bye
husk
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [OT] linux multi-output soundcard

2010-04-12 Thread Martin Eckart
I've also got the FA-101 and it works out of the box with the FFADO
drivers even with my laptop's crappy Ricoh firewire chipset.  Of course
make sure you've got the RT kernel with rtirq prioritizing firewire.

-martin

On Mon, 2010-04-12 at 14:48 +0200, becks wrote: 
 On Mon, Apr 12, 2010 at 2:11 PM, Marco Donnarumma de...@thesaddj.com wrote:
  Hi all,
  I know it's OT, but I would like to get an advice from Linux Pd users.
  I'm about to buy a soundcard with up to 8 analog I/O for max 500euro/pounds
  and want it to be compatible with Linux (I mean, I would like something
  working out-of-the-box).
  I've been advised about the Terratec Phase 88 Rack..
  Any other suggestion?
 
 Hi Marco,
 i have two soundcards.
 * edirol fa 101 firewire, and works out of the box since old freebob
 driver and now with the ffado driver. (~ 250/300eu second hand).
 * rme multiface I pci (or pcmcia). works out of the box (300/400eu)
 
 both cards are gnu/linux ready, both are goods, but rme is better
 (lower latency, more stability, direct hardware routing, adat in/out)
 
 ciao
 



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


[PD] Last days of submissions to ICMC's UnConference

2010-04-12 Thread Alexandre Porres
Hi Pd people,

ICMC 2010 is to be held on june 1st-5th in NYC http://www.icmc2010.org/

I know some of you will be there on ICMC, and even in New York, so here is a
nice opportunity to send some proposals to ICMC's UnConference, it is also
open to something similar as the Pd Hacking Session we had in the last Pd
Convention.

Extended deadline is April 15th, here'e the address to send it to:
unconfere...@icmc2010.org

It is also a nice opening for some informal papers to talk about personal
views, ideas, manifestos, whatever.

Please let me know if you have some questions...

alex

The UnConference will be a more informal gathering of artists, thinkers,
dreamers, and other trouble makers all focused on digital technologies,
electronic arts, and music. Participants will have the opportunity to share
their work with peers in an informal setting. The UnConference will take
place daily in the EMF offices and the Wang Center Chapel. We are looking
for topics of discussion - please submit up to 1 page which will be printed
in the proceedings.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [OT] linux multi-output soundcard

2010-04-12 Thread András Murányi
On Mon, Apr 12, 2010 at 4:48 PM, tim vets timv...@gmail.com wrote:

 Hey,
 on ubuntu, I have good experience with:
 -echo layla 3g (8in8out,2preamps, phantom...)
 -m-audio delta 1010LT
 -m-audio delta 44
 -rme hammerfall dsp + multiface, both PCI and PCMCIA (note: the output jack
 sockets are too close to each other, which can give you a hard time
 connecting more than 2 cables with 'sturdy' jacks.)
 all those worked pretty much out of the box

 bad experience with:
 -firewire soundcard using 'freebob' driver
 (I think the brand was motu, or presonus, or focusrite, one of those, I
 don't remember exactly...but, while it was officially supposed to work
 (checked alsa soundcard matrix) it didn't...)
 I haven't checked recently, but I still have the impression that firewire
 soundcards are poorly supported on linux...


2 cents regarding...
- Firewire: the FFADO driver which works with Jack is under active
development so more cards start working - not with ALSA or PulseAudio
however. They *are* sensitive to different firewire chipsets and Texas
Instruments is told to be the best for them. Anyway i found the firewire
connection pretty fragile because of the physical design of the firewire
connectors and because if the connection gets interrupted for a fraction of
a second it will fail.
- MOTU: one of the best sounding cards in my experience, just don't buy one
because they are extremely unreliable and their customer service is plain
crap.

Get an RME if you have any chance!

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


Re: [PD] [PD-announce] Last days of submissions to ICMC's UnConference

2010-04-12 Thread Rory Walsh
I guess it's too much to hope that the 'UnConference' doesn't come
with the same extortionate registration cost of the actual
'Conference'? I won't hold my breath..

On 12 April 2010 17:38, Alexandre Porres por...@gmail.com wrote:
 Hi Pd people,
 ICMC 2010 is to be held on june 1st-5th in NYC http://www.icmc2010.org/
 I know some of you will be there on ICMC, and even in New York, so here is a
 nice opportunity to send some proposals to ICMC's UnConference, it is also
 open to something similar as the Pd Hacking Session we had in the last Pd
 Convention.
 Extended deadline is April 15th, here

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


Re: [PD] [OT] linux multi-output soundcard

2010-04-12 Thread Marco Donnarumma
Cool, thanks everybody for the comprehensive and useful information!
cheers,


Marco




On Mon, Apr 12, 2010 at 6:29 PM, Husk 00 hus...@gmail.com wrote:

 On Mon, Apr 12, 2010 at 5:51 PM, ydego...@gmail.com ydego...@gmail.comwrote:

 s'lam

  I haven't checked recently, but I still have the impression that firewire
 soundcards are poorly supported on linux...


 the edirols FA-66 and FA-101 are working fine ..

 saludos,
 sevy


 I confirm, fa-101 worked perfectly for our last project!
 bye
 husk




-- 
Marco Donnarumma aka TheSAD
Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK


PORTFOLIO: http://marcodonnarumma.com
LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net |
http://www.flxer.net
EVENT: http://www.liveperformersmeeting.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] make pix_opencv

2010-04-12 Thread Gintaras Lau.
Dear list,

There are many step by step sites to add repositories, externals,
libraries and do other configuration. But what usually drops me down
is that magic word make.

Where could be the important points to understand and finish every
make process my self?

Why lot's of make files are bad for my computer but, perhaps works
fine for others?

Do I necessarily need to learn C++ to prepare pd work properly and
have all libraries for my needs and make, make, make ?

What is wrong this time?   (see terminal output)  Thanks for help and
time you take for it.

:~/Downloads/pix_opencv$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
rm -f pix_opencv*.o
rm -f pix_opencv*.pd_linux
i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if malloc debugging is wanted... no
looking for pd sources (required) ... pd source tree not found...
install it and use the --with-pd=path configuration option.

:~/Downloads/pix_opencv$ make clean
rm -f pix_opencv*.o
rm -f pix_opencv*.pd_linux

:~/Downloads/pix_opencv$ make
g++ -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer  -ffast-math
-Wall -W -Wno-unused -Wno-parentheses -Wno-switch
-DGEM_OPENCV_VERSION=\0.2\ -g -DLINUX -I/usr/local/pd/src -I.
-I/usr/local/pd/gem/src -I/usr/local/pd/src `pkg-config --cflags
opencv` -o pix_opencv_edge.o -c pix_opencv_edge.cc
In file included from pix_opencv_edge.cc:18:
pix_opencv_edge.h:27:28: error: Base/GemPixObj.h: No such file or directory
In file included from pix_opencv_edge.cc:18:
pix_opencv_edge.h:42: error: expected initializer before ‘:’ token
pix_opencv_edge.cc:20: error: expected constructor, destructor, or
type conversion before ‘(’ token
pix_opencv_edge.cc:49: error: expected constructor, destructor, or
type conversion before ‘::’ token
pix_opencv_edge.cc:64: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cc:64: error: variable or field ‘processRGBAImage’ declared void
pix_opencv_edge.cc:64: error: ‘imageStruct’ was not declared in this scope
pix_opencv_edge.cc:64: error: ‘image’ was not declared in this scope
make: *** [pix_opencv_edge.o] Error 1

:~/Downloads/pix_opencv$ sudo make
[sudo] password for hipis:
g++ -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer  -ffast-math
-Wall -W -Wno-unused -Wno-parentheses -Wno-switch
-DGEM_OPENCV_VERSION=\0.2\ -g -DLINUX -I/usr/local/pd/src -I.
-I/usr/local/pd/gem/src -I/usr/local/pd/src `pkg-config --cflags
opencv` -o pix_opencv_edge.o -c pix_opencv_edge.cc
In file included from pix_opencv_edge.cc:18:
pix_opencv_edge.h:27:28: error: Base/GemPixObj.h: No such file or directory
In file included from pix_opencv_edge.cc:18:
pix_opencv_edge.h:42: error: expected initializer before ‘:’ token
pix_opencv_edge.cc:20: error: expected constructor, destructor, or
type conversion before ‘(’ token
pix_opencv_edge.cc:49: error: expected constructor, destructor, or
type conversion before ‘::’ token
pix_opencv_edge.cc:64: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cc:64: error: variable or field ‘processRGBAImage’ declared void
pix_opencv_edge.cc:64: error: ‘imageStruct’ was not declared in this scope
pix_opencv_edge.cc:64: error: ‘image’ was not declared in this scope
make: *** [pix_opencv_edge.o] Error 1

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


Re: [PD] sys_gui full screen text

2010-04-12 Thread Gintaras Lau.
That works fine, thank you.
The first part of my question was to place symbols on that window. Can
you help to achieve that.

Is that something like:

[text(
|
[something $1(
|
[sys_gui]

Thank you

2010/4/12 Hans-Christoph Steiner h...@at.or.at:

 You need to 'raise' the window to put it in front.  Try this:





 .hc

 On Apr 11, 2010, at 5:22 PM, Gintaras Lau. wrote:

 Dear list,

 I have created window with a commands using sys_gui:

 [toplevel .new(
 [.new configure -bg black(
 [wm atributes .new -fullscreen 1(
 |
 [sys_gui]

 I have read manuals from some sites recommended by Hans-Christoph
 Steiner, but commands presented there are not accepted by pd except
 those I wrote as message flags.
 My mission is to read text from text file (what I already solved) and
 present text on that full screen .new window.
 Can you replay to me a guide, syntax, or way how to make text appear
 on that window? Text file contains 6 short lines.
 How that .new window is going to interact with a gem window (also full
 screen, topmost) when it will be created?

 Thank you and Respect.

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



 

 If you are not part of the solution, you are part of the problem.





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


[PD] (no subject)

2010-04-12 Thread Andrew Faraday

Hey All
I've recently been looking at possibilities for networked performance with pd. 
So far I've found that [netsend] and [netrecieve]  only seem to take numeric 
data (I.E. no symbols or bangs). This might be the result of the abstraction 
I'm using (made by one of my workshoppers) which sends messages with through a 
message box [send chan1 $1(, [send chan2 $1( etc. 
I've solved the bangs problem by sending a number repeatedly and having a [sel] 
at the receiving end. However I am interested in using netsend as a basic 
messaging system (to conduct a laptop group by typing from a central machine).  

_
http://clk.atdmt.com/UKM/go/195013117/direct/01/
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] (no subject)

2010-04-12 Thread Paulo Casaes
netsend and netreceive can send any type of message. You should look 
into OSC for your needs.


In a related question, what is the difference between netsend and 
sendOSC? Can netsend and netreceive be used for OSC?


Paulo

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


Re: [PD] (no subject)

2010-04-12 Thread Roman Haefeli
On Mon, 2010-04-12 at 19:50 +0100, Andrew Faraday wrote:

 
 I've recently been looking at possibilities for networked performance
 with pd. So far I've found that [netsend] and [netrecieve]  only seem
 to take numeric data (I.E. no symbols or bangs). 
 This might be the result of the abstraction I'm using (made by one of
 my workshoppers) which sends messages with through a message box [send
 chan1 $1(, [send chan2 $1( etc. 
 
 
 I've solved the bangs problem by sending a number repeatedly and
 having a [sel] at the receiving end. However I am interested in using
 netsend as a basic messaging system (to conduct a laptop group by
 typing from a central machine). 


this lets you send whatever you want:

[list prepend send]
|
[list trim]
|
[netsend]


Using [netclient] and [netserver] from maxlib instead of the native
[netsend] and [netreceive] might make the implementation of one-to-many
or many-to-one setups easier.

I often found myself using something like this in order to easily send
messages from any client to all others:

- on the client side (multiple instances) -

[list prepend send]
|
[list trim]
|
[netclient]

- on the server -

[r broadcast]
|
[list prepend broadcast]
|
[list trim]
|
[netserver ]
|
[list]
|
[s broadcast]


Roman






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


Re: [PD] (no subject)

2010-04-12 Thread András Murányi
On Mon, Apr 12, 2010 at 8:50 PM, Andrew Faraday jbtur...@hotmail.comwrote:

  Hey All

 I've recently been looking at possibilities for networked performance with
 pd. So far I've found that [netsend] and [netrecieve]  only seem to take
 numeric data (I.E. no symbols or bangs).
 This might be the result of the abstraction I'm using (made by one of my
 workshoppers) which sends messages with through a message box [send chan1
 $1(, [send chan2 $1( etc.

 I've solved the bangs problem by sending a number repeatedly and having a
 [sel] at the receiving end. However I am interested in using netsend as a
 basic messaging system (to conduct a laptop group by typing from a central
 machine).


take a look into http://www.netpd.org/ ?

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


Re: [PD] (no subject)

2010-04-12 Thread Roman Haefeli
On Mon, 2010-04-12 at 16:11 -0300, Paulo Casaes wrote:
 netsend and netreceive can send any type of message. You should look 
 into OSC for your needs.
 
 In a related question, what is the difference between netsend and 
 sendOSC? Can netsend and netreceive be used for OSC?

No. They use a different protocol: [netsend] uses FUDI [1] and [sendOSC]
uses OSC [2] (over UDP?). 

From what I know, the OSCx externals aren't really maintained anymore.
It's recommended to use the mrpeach versions ([packOSC], [unpackOSC],
[routeOSC]).

[1] http://en.wikipedia.org/wiki/FUDI
[2] http://en.wikipedia.org/wiki/Open_Sound_Control

Roman



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


Re: [PD] sys_gui full screen text

2010-04-12 Thread Hans-Christoph Steiner


Yeah, should be possible, but a bit weird, since you'll be writing Tcl  
via Pd.  It might be easier to write a separate Tcl script that does  
what you want it to, then load it  using the Tcl 'source' command sent  
to [sys_gui].


so you could make your own Tcl proc like:

proc displaytext {x y args} {
# code here to place the text in $args at ($x, $y)
}

Then invoke it using [sys_gui]

[ displaytext 25 100 this is the text to display(
|
[sys_gui]


.hc

On Apr 12, 2010, at 2:07 PM, Gintaras Lau. wrote:


That works fine, thank you.
The first part of my question was to place symbols on that window. Can
you help to achieve that.

Is that something like:

[text(
|
[something $1(
|
[sys_gui]

Thank you

2010/4/12 Hans-Christoph Steiner h...@at.or.at:


You need to 'raise' the window to put it in front.  Try this:





.hc

On Apr 11, 2010, at 5:22 PM, Gintaras Lau. wrote:


Dear list,

I have created window with a commands using sys_gui:

[toplevel .new(
[.new configure -bg black(
[wm atributes .new -fullscreen 1(
|
[sys_gui]

I have read manuals from some sites recommended by Hans-Christoph
Steiner, but commands presented there are not accepted by pd except
those I wrote as message flags.
My mission is to read text from text file (what I already solved)  
and

present text on that full screen .new window.
Can you replay to me a guide, syntax, or way how to make text appear
on that window? Text file contains 6 short lines.
How that .new window is going to interact with a gem window (also  
full

screen, topmost) when it will be created?

Thank you and Respect.

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






If you are not part of the solution, you are part of the problem.












Free software means you control what your computer does. Non-free  
software means someone else controls that, and to some extent controls  
you. - Richard M. Stallman




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


Re: [PD] Filters...

2010-04-12 Thread Derek Holzer
The frequency components introduced by aliasing cannot be removed (at 
least not by low-pass filtering) once introduced, and this happens at 
the level of signal generation, not at the interface to the dac. Since 
it is the phasor which is actually aliasing, it needs to be antialiased 
with a low pass filter before it continues on the a lower sampling rate. 
So the signal source and the filter need to be in the same upsampled 
subpatch.


Best!
D.

On 4/12/10 5:49 PM, Pierre Massat wrote:

Hi all,

recently there was a discussion about the different ways of avoiding
aliasing. One of these is oversampling, but as far as i know there is
only one example of it in Pd help patches, and it has a phasor in the
subpatch. I m assuming that i could use the Butterworth filter in the
subpatch without the phasor, am i right? In this case would it make
sense to use it everytime i need i low-pass filter?
This is probably a very silly question...

=

--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 45:
Disciplined self-indulgence

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


Re: [PD] Filters...

2010-04-12 Thread Derek Holzer
Sorry, the only solutions I've ever known is to antialias the signal 
sources by low-pass filtering them before they reach a sampling rate 
where they could alias, or by using band-limited signal sources in some 
way or another. Once the aliased frequencies are in, it's pretty near 
impossible to get them out.


Best!
D.

On 4/12/10 11:10 PM, bra...@subnet.at wrote:

dear derek, dear list

is there any possiblity to make an antialaising for the dac output of a
mixed signal?

thanks in advance
der.brandt



Zitat von Derek Holzer de...@umatic.nl:


The frequency components introduced by aliasing cannot be removed (at
least not by low-pass filtering) once introduced, and this happens at
the level of signal generation, not at the interface to the dac. Since
it is the phasor which is actually aliasing, it needs to be
antialiased with a low pass filter before it continues on the a lower
sampling rate. So the signal source and the filter need to be in the
same upsampled subpatch.

Best!
D.

On 4/12/10 5:49 PM, Pierre Massat wrote:

Hi all,

recently there was a discussion about the different ways of avoiding
aliasing. One of these is oversampling, but as far as i know there is
only one example of it in Pd help patches, and it has a phasor in the
subpatch. I m assuming that i could use the Butterworth filter in the
subpatch without the phasor, am i right? In this case would it make
sense to use it everytime i need i low-pass filter?
This is probably a very silly question...

=

--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 45:
Disciplined self-indulgence

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







--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 60:
Don't be afraid of things because they're easy to do

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


Re: [PD] Filters...

2010-04-12 Thread Derek Holzer
The simple but expensive answer: just oversample your entire 
patch!!! ;-)


D.

On 4/12/10 11:10 PM, bra...@subnet.at wrote:

dear derek, dear list

is there any possiblity to make an antialaising for the dac output of a
mixed signal?

thanks in advance
der.brandt



Zitat von Derek Holzer de...@umatic.nl:


The frequency components introduced by aliasing cannot be removed (at
least not by low-pass filtering) once introduced, and this happens at
the level of signal generation, not at the interface to the dac. Since
it is the phasor which is actually aliasing, it needs to be
antialiased with a low pass filter before it continues on the a lower
sampling rate. So the signal source and the filter need to be in the
same upsampled subpatch.

Best!
D.

On 4/12/10 5:49 PM, Pierre Massat wrote:

Hi all,

recently there was a discussion about the different ways of avoiding
aliasing. One of these is oversampling, but as far as i know there is
only one example of it in Pd help patches, and it has a phasor in the
subpatch. I m assuming that i could use the Butterworth filter in the
subpatch without the phasor, am i right? In this case would it make
sense to use it everytime i need i low-pass filter?
This is probably a very silly question...

=

--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 45:
Disciplined self-indulgence

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







--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 55:
Do the last thing first

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


Re: [PD] Filters...

2010-04-12 Thread brandt

dear derek, dear list

is there any possiblity to make an antialaising for the dac output of  
a mixed signal?


thanks in advance
der.brandt



Zitat von Derek Holzer de...@umatic.nl:

The frequency components introduced by aliasing cannot be removed  
(at least not by low-pass filtering) once introduced, and this  
happens at the level of signal generation, not at the interface to  
the dac. Since it is the phasor which is actually aliasing, it needs  
to be antialiased with a low pass filter before it continues on the  
a lower sampling rate. So the signal source and the filter need to  
be in the same upsampled subpatch.


Best!
D.

On 4/12/10 5:49 PM, Pierre Massat wrote:

Hi all,

recently there was a discussion about the different ways of avoiding
aliasing. One of these is oversampling, but as far as i know there is
only one example of it in Pd help patches, and it has a phasor in the
subpatch. I m assuming that i could use the Butterworth filter in the
subpatch without the phasor, am i right? In this case would it make
sense to use it everytime i need i low-pass filter?
This is probably a very silly question...

=

--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 45:
Disciplined self-indulgence

___
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: abnormal performance difference PC/Mac?

2010-04-12 Thread Matteo Sisti Sette

I've tried PNG and JPEG codecs.
Png gives no significant performance improvement over Animation, and 
Jpeg is even worse.


Now strangely enough I've found out (well a mac-owner friend of mine has 
found out actually) that closing and reopening the gemwin once before 
starting, results in a great performance increase. Isn't that crazy?


I am opening the gemwin at loadbang, may that be related?

However even after that, the performance is still hugely inferior to 
that of the Pc notebook with a comparable processor.



chris clepper escribió:
On Fri, Apr 9, 2010 at 3:14 PM, Matteo Sisti Sette 
matteosistise...@gmail.com mailto:matteosistise...@gmail.com wrote:


That's interesting. I compared two notebooks, PC and Mac. Is it
possible that the performance of a MacBook Pro notebook drive is
much worse than that of an Asus notebook?


Since you have the two computers in question, you will have to test for 
yourself.  All of the responses so far have been 100% speculation since 
no one else has the machines.  You have been given some things to 
investigate, so try those out.





--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


[PD] use tablet and usb keyboard with [hid]?

2010-04-12 Thread Tyler Leavitt
Hey all,

So maybe I'm going at this the wrong way, but I'm trying to get puredata to
recognize my usb keyboard and my aiptek tablet. since i just learned how to
use my logitech gamepad via [hid] i figured I'd try and use [hid] to connect
those, but they aren't recognized. if not [hid] what should i be using... is
there something I have to fix with udev or make some new rules?

dmesg for tablet

[ 2738.642297] usb 3-1: new low speed USB device using uhci_hcd and address
2
[ 2738.814269] usb 3-1: configuration #1 chosen from 1 choice
[ 2741.696119] aiptek 3-1:1.0: Aiptek using 400 ms programming speed
[ 2741.696377] input: Aiptek as
/devices/pci:00/:00:1d.1/usb3/3-1/3-1:1.0/input/input12
[ 2741.696792] usbcore: registered new interface driver aiptek
[ 2741.696801] aiptek: v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver
(Linux 2.6.x)
[ 2741.696806] aiptek: Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van
Paassen
[ 2741.774335] usbcore: registered new interface driver hiddev
[ 2741.774384] usbcore: registered new interface driver usbhid
[ 2741.774390] usbhid: v2.6:USB HID core driver

dmesg for the keyboard

[ 2762.632034] usb 2-1: new full speed USB device using uhci_hcd and address
2
[ 2762.810267] usb 2-1: configuration #1 chosen from 1 choice
[ 2762.818379] input: Dell Dell Smart Card Reader Keyboard as
/devices/pci:00/:00:1d.0/usb2/2-1/2-1:1.0/input/input13
[ 2762.818566] generic-usb 0003:413C:2101.0001: input,hidraw0: USB HID v1.11
Keyboard [Dell Dell Smart Card Reader Keyboard] on usb-:00:1d.0-1/input0
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] use tablet and usb keyboard with [hid]?

2010-04-12 Thread Hans-Christoph Steiner


You have to have the permissions setup correctly in order to read the  
device.  Check the archives of this list and the pdpedia page for  
[hid]:  http://wiki.puredata.info/en/hid


.hc

On Apr 12, 2010, at 6:53 PM, Tyler Leavitt wrote:


Hey all,

So maybe I'm going at this the wrong way, but I'm trying to get  
puredata to recognize my usb keyboard and my aiptek tablet. since i  
just learned how to use my logitech gamepad via [hid] i figured I'd  
try and use [hid] to connect those, but they aren't recognized. if  
not [hid] what should i be using... is there something I have to fix  
with udev or make some new rules?


dmesg for tablet

[ 2738.642297] usb 3-1: new low speed USB device using uhci_hcd and  
address 2

[ 2738.814269] usb 3-1: configuration #1 chosen from 1 choice
[ 2741.696119] aiptek 3-1:1.0: Aiptek using 400 ms programming speed
[ 2741.696377] input: Aiptek as /devices/pci:00/:00:1d.1/ 
usb3/3-1/3-1:1.0/input/input12

[ 2741.696792] usbcore: registered new interface driver aiptek
[ 2741.696801] aiptek: v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet  
Driver (Linux 2.6.x)
[ 2741.696806] aiptek: Bryan W. Headley/Chris Atenasio/Cedric Brun/ 
Rene van Paassen

[ 2741.774335] usbcore: registered new interface driver hiddev
[ 2741.774384] usbcore: registered new interface driver usbhid
[ 2741.774390] usbhid: v2.6:USB HID core driver

dmesg for the keyboard

[ 2762.632034] usb 2-1: new full speed USB device using uhci_hcd and  
address 2

[ 2762.810267] usb 2-1: configuration #1 chosen from 1 choice
[ 2762.818379] input: Dell Dell Smart Card Reader Keyboard as / 
devices/pci:00/:00:1d.0/usb2/2-1/2-1:1.0/input/input13
[ 2762.818566] generic-usb 0003:413C:2101.0001: input,hidraw0: USB  
HID v1.11 Keyboard [Dell Dell Smart Card Reader Keyboard] on  
usb-:00:1d.0-1/input0

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







All mankind is of one author, and is one volume; when one man dies,  
one chapter is not torn out of the book, but translated into a better  
language; and every chapter must be so translated -John Donne




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