Re: [PD] read from same array with multiple [tabread4~]'s

2014-05-01 Thread James Dunn

Yes, it's a problem with my patch!
Thanks

Quoth Miller Puckette, on 30/04/2014 15:31:

There aren't any interactions between tabread4~ (etc.) objects reading
from the same table - I do it all the time - for example, the silly example
in 3.audio.examples/D13.addtive.qlst.pd

cheers
Miller

On Wed, Apr 30, 2014 at 02:06:46PM +0100, James Dunn wrote:

Hi,

I'm trying to playback a sound file from the same array using
multiple [tabread4~] objects but I'm getting nasty clicks presumably
because they are having accessing the same array at the same time.
Is there another approach to this or some other way of avoiding the
clicks?

thanks

James

___
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] read from same array with multiple [tabread4~]'s

2014-04-30 Thread James Dunn

Hi,

I'm trying to playback a sound file from the same array using multiple 
[tabread4~] objects but I'm getting nasty clicks presumably because they 
are having accessing the same array at the same time. Is there another 
approach to this or some other way of avoiding the clicks?


thanks

James

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


Re: [PD] Creating random filenames

2013-12-29 Thread James Dunn

Quoth Ronni Montoya, on 29/12/2013 12:17:

Hi, how can i create random file names in pd?

I need to have a recording button in my patch that everytimes records
an audio file in a different ( random ) file name.

For example, each time i record something it should create random .wav
file names:

kasdsd.wav
lifasik.wav
kjaskld.wav   etc


any idea how to achieve this?



How about something like this? It uses [l2s] from zexy in Pd-extended.

James
#N canvas 638 191 450 300 10;
#X obj 45 83 random 26;
#X obj 45 123 makefilename %c;
#X obj 45 103 + 97;
#X obj 45 63 until;
#X msg 26 10 6;
#X obj 47 156 list;
#X obj 102 156 t l;
#X obj 26 180 list;
#X obj 26 252 makefilename %s.wav;
#X obj 26 230 l2s;
#X msg 65 200 symbol;
#X obj 65 180 loadbang;
#X symbolatom 26 273 10 0 0 0 - - -;
#X obj 26 33 t b f b;
#X connect 0 0 2 0;
#X connect 1 0 5 0;
#X connect 2 0 1 0;
#X connect 3 0 0 0;
#X connect 4 0 13 0;
#X connect 5 0 6 0;
#X connect 5 0 7 1;
#X connect 6 0 5 1;
#X connect 7 0 9 0;
#X connect 8 0 12 0;
#X connect 9 0 8 0;
#X connect 10 0 9 1;
#X connect 11 0 10 0;
#X connect 13 0 7 0;
#X connect 13 1 3 0;
#X connect 13 2 5 1;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Cannot get [hid] to work properly with my mouse

2013-09-23 Thread James Dunn
Yes I see what you mean. If you are on linux you could try [linuxevent] 
from here:


http://at.or.at/hans/pd/hid.html

I use this on Arch due to this bug:

http://sourceforge.net/p/pure-data/bugs/889/

[linuxevent] has finger detection so you can use this to gate the data 
stream.


Quoth s p, on 23/09/2013 12:29:
Yep, I tried that already, but that doesn't work if you move the mouse 
slowly.



2013/9/23 James Dunn <mailto:ja...@4thharmonic.com>>


What about [change]?

Quoth s p, on 23/09/2013 11:12:

Hi!

I am trying to use [hid] on pd vanilla and Ubuntu.
Ideally, I would like to use the mouse as a fader on Y axis :
when I move the mouse, the fader moves accordingly, when the
mouse doesn't move the fader stays in the same position.

Problem is, I can get only relative Y, and relative Y seems to
keep sending the value (1 or -1) from the last move, even if you
don't move at all. So basically it is impossible to detect that
the mouse is not moving.

Is there a workaround this issue?

Sebastien Piquemal


___
Pd-list@iem.at  <mailto: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] Cannot get [hid] to work properly with my mouse

2013-09-23 Thread James Dunn

What about [change]?

Quoth s p, on 23/09/2013 11:12:

Hi!

I am trying to use [hid] on pd vanilla and Ubuntu.
Ideally, I would like to use the mouse as a fader on Y axis : when I 
move the mouse, the fader moves accordingly, when the mouse doesn't 
move the fader stays in the same position.


Problem is, I can get only relative Y, and relative Y seems to keep 
sending the value (1 or -1) from the last move, even if you don't move 
at all. So basically it is impossible to detect that the mouse is not 
moving.


Is there a workaround this issue?

Sebastien Piquemal


___
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] How to reduce CPU use on unused subpatches-abstracts?

2013-08-08 Thread James Dunn

Quoth Mario Mey, on 07/08/2013 20:32:
/./ Ready-to-use, 2 FXs on: *26%* (there are 2 FXs always on, although 
they are muted)
Are the effects that are always on [freeverb]? This could consume CPU, 
see these threads:


http://www.mail-archive.com/pd-list@iem.at/msg27143.html
http://www.mail-archive.com/pd-list@iem.at/msg56905.html
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] msgfile and commas

2013-07-31 Thread James Dunn

What about something like this?

Quoth Max, on 30/07/2013 23:57:

another escaping problem:
any idea how the comma could be displayed correctly?



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


#N canvas 691 172 288 432 10;
#X obj 64 169 zexy/msgfile;
#X msg 64 143 read test-text.txt cr \, bang;
#X obj 24 259 text3d;
#X obj 24 67 gemwin;
#X msg 36 45 0 \, destroy;
#X obj 24 94 gemhead;
#X obj 64 119 loadbang;
#X msg 24 24 dimen 450 200 \, FSAA 4 \, create \, 1;
#X obj 103 224 moocow/any2bytes;
#X obj 103 244 list-drip;
#X obj 103 268 float2ascii;
#X obj 193 289 t l;
#X obj 82 314 list;
#X obj 103 289 list prepend;
#X obj 64 201 t b b a;
#X obj 82 377 l2s;
#X msg 97 357 symbol;
#X obj 97 337 loadbang;
#X connect 0 0 14 0;
#X connect 1 0 0 0;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 1 0;
#X connect 7 0 3 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 13 0;
#X connect 11 0 13 1;
#X connect 12 0 15 0;
#X connect 13 0 11 0;
#X connect 13 0 12 1;
#X connect 14 0 13 1;
#X connect 14 1 12 0;
#X connect 14 2 8 0;
#X connect 15 0 2 0;
#X connect 16 0 15 1;
#X connect 17 0 16 0;
hello, world___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] "pd: exiting" on RPi running arch

2013-06-14 Thread James Dunn
For the archives, I've solved the issue - it seemed I just needed to 
install the package xf86-video-fbdev.


Quoth James Dunn, on 26/05/2013 18:06:

Quoth IOhannes zmölnig, on 26/05/2013 17:07:


so indeed, it's "-verbose" and "-verbose -verbose" (instead of "-v")



$ pd -verbose
Pd-0.43.4 ("") compiled 22:56:34 Aug  6 2012
port 5400
TCL_LIBRARY="/usr/lib/pd/lib/tcl/library" 
TK_LIBRARY="/usr/lib/pd/lib/tk/library"   wish 
"/usr/lib/pd/tcl//pd-gui.tcl" 5400

priority 6 scheduling enabled.
Waiting for connection request...
priority 8 scheduling enabled.
/usr/lib/pd/bin/pd-watchdog
... connected
pd: exiting
i missed that info in your original mail (please don't require anyone 
willing to answer to have read all your emails to this list and 
remember them :-))

sorry, thanks for your help so far!


check the various posts on this list about why [loadbang]->[; pd dsp 
1( often does not work. a simple workaround is to introduce a [delay 
1000] to start dsp only after some "boot time".
I'd forgotten about the [delay] for [loadbang] when turning the dsp on 
but it doesn't result in any sound when running in -nogui.


can you run
$ wish
via the ssh connection?


Yes, it opens a blank window on the local machine.


if so, Pd should be able to run fine.
which version of tcl/tk do you have installed?

tk-8.6.0-1
tcl-8.6.0-4


you could also try to run Pd without realtime priviliges
$ pd -nrt 

I tried that but it didn't help either.

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



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


Re: [PD] "pd: exiting" on RPi running arch

2013-05-26 Thread James Dunn

Quoth IOhannes zmölnig, on 26/05/2013 17:07:


so indeed, it's "-verbose" and "-verbose -verbose" (instead of "-v")



$ pd -verbose
Pd-0.43.4 ("") compiled 22:56:34 Aug  6 2012
port 5400
TCL_LIBRARY="/usr/lib/pd/lib/tcl/library" 
TK_LIBRARY="/usr/lib/pd/lib/tk/library"   wish 
"/usr/lib/pd/tcl//pd-gui.tcl" 5400

priority 6 scheduling enabled.
Waiting for connection request...
priority 8 scheduling enabled.
/usr/lib/pd/bin/pd-watchdog
... connected
pd: exiting
i missed that info in your original mail (please don't require anyone 
willing to answer to have read all your emails to this list and 
remember them :-))

sorry, thanks for your help so far!


check the various posts on this list about why [loadbang]->[; pd dsp 
1( often does not work. a simple workaround is to introduce a [delay 
1000] to start dsp only after some "boot time".
I'd forgotten about the [delay] for [loadbang] when turning the dsp on 
but it doesn't result in any sound when running in -nogui.


can you run
$ wish
via the ssh connection?


Yes, it opens a blank window on the local machine.


if so, Pd should be able to run fine.
which version of tcl/tk do you have installed?

tk-8.6.0-1
tcl-8.6.0-4


you could also try to run Pd without realtime priviliges
$ pd -nrt 

I tried that but it didn't help either.

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


Re: [PD] "pd: exiting" on RPi running arch

2013-05-26 Thread James Dunn

Quoth IOhannes zmölnig, on 26/05/2013 16:16:

try instead:
 "-v" (for verbose)
 "-v -v" (for more verbosity)


The pd -v, or -v -v options don't work, it justs prints out the valid 
options, ie:


usage: pd [-flags] [file]...

audio configuration flags:
-r-- specify sample rate
-audioindev ...

etc..



 "-nogui" (see whether Pd can start without the gui)
 "-nosound" (does the sound-card give you trouble?)
 "-noprefs" (stupid preference file?)


As mentioned previously, pd runs fine with -nogui. I made a patch on 
another machine, then opened it on the RPi. The patch sends a message 
via netsend to pdreceive (both on the pi) and it works fine when run as 
-nogui. None of the audio options make any difference (-noaudio, 
-nosound, -noadc, -nodac, -nomidi) and -noprefs has no effect either.


I made another patch to loadbang a sound out of the pi in -nogui but 
that didn't work.


Strange that xterm works but pd doesn't - I have quite a minimal arch 
install so maybe some other X packages are needed for tcl/tk/wish, etc?





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


[PD] "pd: exiting" on RPi running arch

2013-05-26 Thread James Dunn

Hi,

I have installed Arch linux on my Raspberry Pi and am logging in with 
ssh -Y raspberrypi.local. I can run xterm fine over the connection but 
pd fails with no information other than:


$ pd
priority 6 scheduling enabled.
priority 8 scheduling enabled.
watchdog: signaling pd...
pd: exiting


If I set the debug level to 5 I get the following information:

$ pd -d 5
set pd_whichmidiapi 2
priority 6 scheduling enabled.
priority 8 scheduling enabled.
pdtk_watchdog
set ::tmp_path {}
set ::sys_searchpath $::tmp_path
set ::tmp_path {}
lappend ::tmp_path {/home/james/pd-externals}
lappend ::tmp_path {/usr/local/lib/pd-externals}
lappend ::tmp_path {/usr/lib/pd/extra}
set ::sys_staticpath $::tmp_path
set ::startup_flags {}
set ::startup_libraries {}
pdtk_pd_startup 0 43 4 {} { {OSS 2} {ALSA 1} {jack 5} } { {default-MIDI 
2} {ALSA-MIDI 1} } {DejaVu Sans Mono} bold

set pd_whichmidiapi 2
pd: exiting

Any ideas why pd can't run over the ssh connection? It runs fine with 
the -nogui option.


James

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


Re: [PD] OT: another linux system question

2013-05-24 Thread James Dunn
I'm using Arch on an old HP NC8000 laptop with pd-extended and jack but 
it's a rolling release so doesn't meet your requirements for LTS...


Quoth João Pais, on 24/05/2013 11:06:

Hello list,

after trying debian squeezy for a few months on my Thinkpad X61s (an 
old model), I'm thinking of trying another distribution, due to 
several details. As I'm not up to date on the offer now, I wanted to 
ask what distributions are interesting nowadays (and in the future?).


The reason why I changed from ubuntu to debian was because I found the 
latest ubuntu version very bloated. But now I have issues with several 
details that don't work on debian, and should work on a more "general" 
distro like ubuntu. So it might be better to go back to Ubuntu, and 
use a ligher desktop manager as gnome?


I was looking for a system with LTS (I won't upgrade for as long as I 
can), modern (I need to try some programs now and then that require 
modern libraries and dependencies), and also light. The hardware is a 
bit old, and I need it mainly for Pd with Jack.


I've seen many people speaking good things about linux mint. Is it 
worth it, or better to go directly to the "source", ubuntu? (but 
ubuntu's source, debian, isn't working well for me)
Also important is that I don't have to spend time compiling, building 
and going through forums. Or I'll just loose my temper, and go back to 
windows for some years again.


My hardware is:
- Thinkpad X61s 64b (dual boot with windows 7) - but I'll use linux 
with 32b

- RME Multiface I with PCMCIA card
- wacom intous3 tablet (that I wanted to acess through hid)
- Behringer BCF2000


What is your experience, what's out there that looks interesting these 
days?


Thanks,

João

___
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] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread James Dunn

Quoth me.grimm, on 14/03/2013 17:21:

hmmm... i forgot about that. I will try it...

no way in vanilla i take it?

m



not that I'm aware of

James

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


Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread James Dunn

Quoth me.grimm, on 14/03/2013 16:57:

How can I best send key commands to pd when i do -nogui from console
(no x windows) to be received with [key], for example? im on
raspbian/linux

my google searches have not ended so well on this subject

m


use [hid] and read this:

http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRoot

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


Re: [PD] subnormal numbers explained

2013-03-14 Thread James Dunn

Quoth katja, on 13/03/2013 10:14:
Subnormal numbers are a pain in the ass, they cause substantially 
increased CPU load without doing anything useful for audio DSP. 
Unfortunately it can happen in some Pd objects (notably [freeverb~]), 
and spoil the performance of a Pd patch.
Yes I eventually found this out and started putting [freeverb~] in a 
subpatch with a [env~] connected to [sel 0] and then to a [switch~] 
object to turn off dsp when the reverb tail has finished. The logic 
ended up getting quite complicated but it did the job!


James

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


Re: [PD] found how to reproduce Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-03-07 Thread James Dunn
I can confirm this happens with Pd-extended 0.43.4-extended-20130117 on 
OS 10.6.8:


Tcl Version: 8.5.11
(Tcl) INVALID COMMAND NAME: invalid command name ".x4540e0.c"
while executing
".x4540e0.c delete graph30f480i0"
("uplevel" body line 1)
invoked from within
"uplevel #0 $cmds_from_pd".x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object
.x222bd0: no such object



Quoth Marco Donnarumma, on 07/03/2013 01:02:

hey,

dunno if you remember, but I still have this error (below) and now I 
managed to make a small patch that reproduces it (attached).

It seems related to the  flag for a 2nd level nested GOP patch.

it'd be great if somebody could test it on linux and mac.
I'm on Ubuntu Lucid 10.04, pd-ext 0.43.4

how to reproduce:

- launch MAIN-graph-bug.pd
- click the bang to open a subpatch (if it doesn't at startup)
- close the subpatch
- close MAIN-graph-bug.pd

at this point Pd throws the error as below. Only the GUI freezes, the 
patch is  unusable and have to kill it, by closing pd.



(Tcl) INVALID COMMAND NAME: invalid command name ".x996ebd0.c"
while executing
".x996ebd0.c delete graph996f4b0i0"
 ("uplevel" body line 1)
 invoked from within
"uplevel #0 $cmds_from_pd"



How to avoid it:

- launch MAIN-graph-bug.pd
- click the bang to open a subpatch (if it doesn't at startup)
- open the subpatch
- open the further subpatch 
- flag hide object name and argument
- save
-close pd
- restart the patch and the error disappear


It is worth noting that the error I get with the Xth Sense software 
looks similar but has different tags (see below). And I can't 
reproduce this one error using a subpatch including a graph or 
iem_image (which I use in the Xth Sense)




(Tcl) INVALID COMMAND NAME: invalid command name ".x9c4d3b0.c"
while executing
".x9c4d3b0.c create image 900 776 -image a4304c0PHOTOIMAGE -tags 
a4304c0PHOTO

 ("uplevel" body line 283)
 invoked from within
"uplevel #0 $cmds_from_pd"
\


should i submit a different bug report or add to the one I did already?

thanks in advance for any hint,
this is forcing me to still use pd-ext 0.42.5 during my workshop, 
which is a shame :)



--
Marco Donnarumma
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
Embodied Audio-Visual Interaction Research Team.
Department of Computing, Goldsmiths University of London
~
Portfolio: http://marcodonnarumma.com
Research: http://res.marcodonnarumma.com
Director: http://www.liveperformersmeeting.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] Controlling / looping a list of audio files loaded in by reading a text file.

2013-02-27 Thread James Dunn

Quoth Rick T, on 27/02/2013 15:13:

Thanks I went to http://puredata.info/downloads/zexy to pull out the
l2s.pd files to use and I couldn't find the pd files.  Do they go by
another name?

The reason for this is I only want to have the PD patches I'm really
using on the system.

Thanks

Just change [l2s] to [symbol] if you don't want to use zexy. It does a 
similar thing but I had filenames with spaces in my playlist so that's 
why I used it.


James

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


Re: [PD] Controlling / looping a list of audio files loaded in by reading a text file.

2013-02-27 Thread James Dunn

Quoth Rick T, on 27/02/2013 09:04:

Greetings All

I'm trying to control how a text file with a list of audio files in it
are read/played.

Example:
I have a text file which is read and plays several audio files one
right after the other till the end.  I would like to have it read/play
the text file list in reverse, forward, or loop play on the current
file.

So if I have a text file with.
one.wav,
two.wav
three.wave

When a button is clicked for Forward it reads the text file and plays
the audio files like:
one.wav
two.wav
three.wav

When a button is clicked for Reverse  it reads the text file and plays
the audio files like:
three.wav
two.wav
one.wav

When a button is clicked for Loop  it reads the text file and plays
the audio files like:
one.wav
two.wav
two.wav
two.wav  until I cancel the loop or hit another button to go
forward or reverse

I've gotten the buttons to work as a selection but I'm having issues
in getting the text list to change directions and loop.  I was
thinking of using a list to read in all the lines in the text file but
I wasn't sure how to get the list to read/play in the forward,
reverse, and loop options.  Is their another way I should be trying to
do this?  I've attached what I have so far.

Thanks

To loop the current file you need to know where in the playlist you are. 
[textfile] doesn't really have this information ( [msgfile] in zexy does 
though so you might want to look at that ). Or you can make a counter to 
keep track of where you are so you can then loop the track, or reverse 
the playback. See attached patch.


James
#N canvas 596 234 452 418 10;
#X obj 57 155 textfile;
#X obj 57 184 b;
#X obj 57 235 f;
#X obj 104 235 + 1;
#X floatatom 197 287 5 0 0 1 Current_file - -;
#X msg 84 206 0;
#X obj 57 40 openpanel;
#X obj 57 22 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 226 26 r nextFile;
#X obj 226 100 sel 1 2 3;
#X msg 57 61 read \$1 cr \, rewind \, bang;
#X obj 57 83 t a b;
#X obj 89 314 f;
#X obj 89 344 until;
#X obj 243 122 t b b;
#X msg 287 175 rewind;
#X obj 150 294 - 1;
#X obj 135 314 f;
#X obj 260 147 t b b;
#X obj 226 79 f;
#X obj 105 93 r textfile;
#X obj 89 365 s textfile;
#X obj 241 47 r keypress;
#X obj 236 341 readsf~ 2;
#X obj 236 374 dac~;
#X obj 236 227 l2s;
#X msg 236 250 open \$1 \, 1;
#X obj 287 387 s nextFile;
#X obj 297 368 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 323 32 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X obj 323 50 + 1;
#X connect 0 0 1 0;
#X connect 0 0 25 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 2 1;
#X connect 3 0 4 0;
#X connect 3 0 12 1;
#X connect 3 0 16 0;
#X connect 5 0 2 1;
#X connect 6 0 10 0;
#X connect 7 0 6 0;
#X connect 8 0 19 0;
#X connect 9 0 0 0;
#X connect 9 1 14 0;
#X connect 9 2 18 0;
#X connect 10 0 11 0;
#X connect 11 0 0 0;
#X connect 11 1 5 0;
#X connect 12 0 13 0;
#X connect 13 0 21 0;
#X connect 14 0 12 0;
#X connect 14 1 15 0;
#X connect 15 0 0 0;
#X connect 15 0 5 0;
#X connect 16 0 17 1;
#X connect 17 0 13 0;
#X connect 18 0 17 0;
#X connect 18 1 15 0;
#X connect 19 0 9 0;
#X connect 20 0 0 0;
#X connect 22 0 19 0;
#X connect 23 0 24 0;
#X connect 23 1 24 1;
#X connect 23 2 27 0;
#X connect 23 2 28 0;
#X connect 25 0 26 0;
#X connect 26 0 23 0;
#X connect 29 0 30 0;
#X connect 30 0 19 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] OT: Lightest Fastest Linux Window Manager

2013-02-14 Thread James Dunn

I use TWM on Arch Linux but it's very basic

Quoth Pagano, Patrick, on 14/02/2013 18:40:


Hello

I am setting up a Asus netbook for Pure Data/Gem/pidip and would like 
to not load the hoggish unity or even gnome seems to slow this little 
guy down.


Can linux users suggest a window manager that might serve me best for 
this purpose.


Thank you in Advance.

Patrick Pagano, B.S, M.F.A

Assistant in Digital Arts and Science

Digital Media Projection and Audio Design

Digital Worlds Institute

University of Florida, USA

(352)294-2020



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


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


Re: [PD] [PD-announce] Pd-extended 0.43.4 release candidate 1: last chance to report your bugs

2013-01-16 Thread James Dunn
 
pdlua: compiled for pd-0.43 on Jan 14 2013 03:25:42
tclpd loader v0.3.0
tclpd: trying to load 
/Volumes/Pd-extended/Pd-extended.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.tcl...
tclpd: loaded 
/Volumes/Pd-extended/Pd-extended.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.tcl

libdir_loader: added 'vanilla' to the global objectclass path
libdir loader 1.9
compiled on Jan 14 2013 at 03:25:41
compiled against Pd version 0.43.4.extended-20130114
libdir_loader: added 'cyclone' to the global objectclass path
libdir_loader: added 'zexy' to the global objectclass path
libdir_loader: added 'creb' to the global objectclass path
libdir_loader: added 'cxc' to the global objectclass path
libdir_loader: added 'iemlib' to the global objectclass path
libdir_loader: added 'list-abs' to the global objectclass path
libdir_loader: added 'mapping' to the global objectclass path
libdir_loader: added 'markex' to the global objectclass path
libdir_loader: added 'maxlib' to the global objectclass path
memento: can't load library
libdir_loader: added 'mjlib' to the global objectclass path
libdir_loader: added 'motex' to the global objectclass path
libdir_loader: added 'oscx' to the global objectclass path
libdir_loader: added 'pddp' to the global objectclass path
libdir_loader: added 'pdogg' to the global objectclass path
pixeltango: can't load library
rradical: can't load library
libdir_loader: added 'sigpack' to the global objectclass path
libdir_loader: added 'smlib' to the global objectclass path
toxy: can't load library
libdir_loader: added 'unauthorized' to the global objectclass path
libdir_loader: added 'pan' to the global objectclass path
libdir_loader: added 'hcs' to the global objectclass path
libdir_loader: added 'jmmmp' to the global objectclass path
libdir_loader: added 'ext13' to the global objectclass path
libdir_loader: added 'ggee' to the global objectclass path
flib: can't load library
libdir_loader: added 'ekext' to the global objectclass path
flatspace: can't load library
PDP: pure data packet version 0.12.7
pidip: can't load library
/Library/Pd/gridflow/gridflow.pd_darwin: 
dlopen(/Library/Pd/gridflow/gridflow.pd_darwin, 10): Library not 
loaded: @executable_path/../../lib/libpng12.0.dylib

  Referenced from: /Library/Pd/gridflow/gridflow.pd_darwin
  Reason: image not found
gridflow: can't load library
libdir_loader: added 'share_mem' to the global objectclass path
libdir_loader: added 'pd-codelab' to the global objectclass path
[list2symbol] part of zexy-2.2.3 (compiled: Sep 22 2010)
Copyright (l) 1999-2008 IOhannes m zmölnig, forum::für::umläute & IEM


n

Le 16/01/13 11:29, James Dunn a écrit :
I seem to have some strange issues with the new Pd gui on Mac OS X 
with the latest version of Pd I just downloaded from here:


http://puredata.info/downloads/pd-extended/releases/0.43.4 
<http://puredata.info/downloads/pd-extended/releases/0.43.4>


I've attached a simple patch which loads fine but right clicking 
either toggle box and selecting 'Properties' results in this error:


loaded: autocompletion-plugin 0.3

(Tcl) UNHANDLED ERROR: wrong # args: should be "pdtk_iemgui_dialog 
mytoplevel mainheader dim_header wdt min_wdt wdt_label hgt min_hgt 
hgt_label rng_header min_rng min_rng_label max_rng max_rng_label 
rng_sched lin0_log1 lilo0_label lilo1_label loadbang steady num_label 
num snd rcv gui_name gn_dx gn_dy gn_f gn_fs bcol fcol lcol"

while executing
"pdtk_iemgui_dialog .gfxstub415620 |tgl| 
--dimensions(pix):--- 15 8 size: 0 0 
empty ---non-zero-value:-..."

("uplevel" body line 1)
invoked from within
"uplevel #0 $cmds_from_pd"


If I then save the patch and reload it, the toggle boxes are not 
loaded correctly. However if I then save it again and reload (without 
right-clicking properties) it loads ok.


James


Quoth Hans-Christoph Steiner, on 16/01/2013 04:30:

Hey Sei,

I'm pretty sure I fixed the issues with the Audio and MIDI names being in 
Japanese.  Can you test it on your machine and confirm?  I can't make the Audio 
names have Japanese in them on my 10.6 system, so I have no way to test it.

.hc

On Jan 7, 2013, at 10:01 PM, Seiichiro MATSUMURA wrote:


Hi HC,

On Mac OSX(10.7 Lion), "Audio setting" and "MIDI setting" under
"Media" menu are still buggy.
I often have freeze Pd when I change settings and I need to restart Pd.

This is just another question.
What is the difference between "Edit mode(shift+Cmd+E)" and "Edit
mode(Cmd+E)" under "Edit" menu?
I can't understand the specifi

Re: [PD] [PD-announce] Pd-extended 0.43.4 release candidate 1: last chance to report your bugs

2013-01-16 Thread James Dunn
I seem to have some strange issues with the new Pd gui on Mac OS X with
the latest version of Pd I just downloaded from here:

http://puredata.info/downloads/pd-extended/releases/0.43.4


I've attached a simple patch which loads fine but right clicking either
toggle box and selecting 'Properties' results in this error:

loaded: autocompletion-plugin 0.3

(Tcl) UNHANDLED ERROR: wrong # args: should be "pdtk_iemgui_dialog
mytoplevel mainheader dim_header wdt min_wdt wdt_label hgt min_hgt
hgt_label rng_header min_rng min_rng_label max_rng max_rng_label
rng_sched lin0_log1 lilo0_label lilo1_label loadbang steady num_label
num snd rcv gui_name gn_dx gn_dy gn_f gn_fs bcol fcol lcol"
while executing
"pdtk_iemgui_dialog .gfxstub415620 |tgl|
--dimensions(pix):--- 15 8 size: 0 0 empty
---non-zero-value:-..."
("uplevel" body line 1)
invoked from within
"uplevel #0 $cmds_from_pd"


If I then save the patch and reload it, the toggle boxes are not loaded
correctly. However if I then save it again and reload (without
right-clicking properties) it loads ok.

James


Quoth Hans-Christoph Steiner, on 16/01/2013 04:30:
> Hey Sei,
>
> I'm pretty sure I fixed the issues with the Audio and MIDI names being in 
> Japanese.  Can you test it on your machine and confirm?  I can't make the 
> Audio names have Japanese in them on my 10.6 system, so I have no way to test 
> it.
>
> .hc
>
> On Jan 7, 2013, at 10:01 PM, Seiichiro MATSUMURA wrote:
>
>> Hi HC,
>>
>> On Mac OSX(10.7 Lion), "Audio setting" and "MIDI setting" under
>> "Media" menu are still buggy.
>> I often have freeze Pd when I change settings and I need to restart Pd.
>>
>> This is just another question.
>> What is the difference between "Edit mode(shift+Cmd+E)" and "Edit
>> mode(Cmd+E)" under "Edit" menu?
>> I can't understand the specific function of "Edit mode(shift+Cmd+E)" added.
>>
>> Best,
>>
>> Sei Matsumura
>>
>>
>> --
>> __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
>> Seiichiro Matsumura
>>
>> s...@low-tech-ism.com
>> http://low-tech-ism.com/
>> __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
>>
>>
>> 2013/1/8 Hans-Christoph Steiner :
>>> I think this is the final release, last chance to test your patches and make
>>> sure everything is working well in this release.  Also, double-check the
>>> translations.  I'll do one final import of translations from Transifex 
>>> before
>>> finalizing it.  Download here:
>>>
>>> http://puredata.info/downloads/pd-extended/releases/0.43.4
>>>
>>> Its been a long time coming, but its finally reached completion!  This 
>>> release
>>> includes the most new features of any release before, here are some 
>>> highlights:
>>>
>>> * complete help search: search all installed docs (Help->Search)
>>> * loaders: you can now write native Pd objects in Lua (pdlua) and Tcl 
>>> (tclpd)
>>> * new libraries: log, iemguts, mediasettings, pduino, syslog
>>> * GUI plugins: customize your editing experience
>>> * full Unicode support, write patches in any language
>>> * fully translatable GUI, with many languages already included
>>> * Magic Glass to see what's going through connections as it happens
>>>
>>> And much more: http://puredata.info/dev/NextRelease
>>>
>>> Download it here:
>>> http://puredata.info/downloads/pd-extended/releases/0.43.4
>>>
>>>
>>> Or if you are using Ubuntu/Mint, you can use the PPA:
>>> https://launchpad.net/~eighthave/+archive/pd-extended/
>>>
>>> run these commands in the Terminal to add this PPA to your system:
>>> sudo add-apt-repository ppa:eighthave/pd-extended
>>>
>>>
>>> There are some bugs that will have to wait until the next release:
>>>
>>> * Windows command line args don't work with unicode
>>> https://sourceforge.net/tracker/?func=detail&aid=3595309&group_id=55736&atid=478070
>>>
>>> * [initbang] worked with GUI objs in 0.42 but not in 0.43
>>> https://sourceforge.net/tracker/?func=detail&aid=3599058&group_id=55736&atid=478070
>>>
>>> * Right-click menu causes CPU spike
>>> https://sourceforge.net/tracker/index.php?func=detail&aid=3525646&group_id=55736&atid=478070
>>>
>>> * specific kinds of "GUI overload"
>>> http://lists.puredata.info/pipermail/pd-list/2012-12/099534.html
>>>
>>>
>>> ___
>>> 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
>>>
>> -- 
>> --
>> __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
>> Seiichiro Matsumura
>>
>> s...@low-tech-ism.com
>> http://low-tech-ism.com/
>> __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>
> __

Re: [PD] Circular scrolling in pd

2013-01-07 Thread James Dunn

thanks, cart2pol in zexy works great for me

James

Quoth Patrice Colet, on 06/01/2013 22:02:

hello,

what about converting cartesian to polar coordinates instead?

with something like

angle = atan(y/x)

you can even get the distance from the center with

R = Sqrt(x2 + y2)

that should be a lot easier


- Mail original -

De: "James Dunn" 
À: "pd-list" 
Envoyé: Dimanche 6 Janvier 2013 22:28:30
Objet: [PD] Circular scrolling in pd

Hi,

I'm trying to implement circular scrolling with the trackpad in pd
and
am approaching it by dividing a circle into segments and trying to
detect when the mouses moves from one segment to the other. At the
moment I can only detect 4 segments (basically just the zero
crossings)
which is not really accurate enough.

How would I go about detecting the boundaries of the 12 segments in
the
attached patch (circscroll.pd)?

Eventually I want to detect speed and direction too - but perhaps
there
is a better approach?

any advice welcome.

thanks,

james

___
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] Circular scrolling in pd

2013-01-06 Thread James Dunn

Hi,

I'm trying to implement circular scrolling with the trackpad in pd and 
am approaching it by dividing a circle into segments and trying to 
detect when the mouses moves from one segment to the other. At the 
moment I can only detect 4 segments (basically just the zero crossings) 
which is not really accurate enough.


How would I go about detecting the boundaries of the 12 segments in the 
attached patch (circscroll.pd)?


Eventually I want to detect speed and direction too - but perhaps there 
is a better approach?


any advice welcome.

thanks,

james
#N canvas 583 57 438 405 10;
#X obj 204 63 MouseState;
#X msg 204 43 poll;
#X obj 125 85 gemwin;
#X msg 125 43 create \, 1;
#X msg 132 63 destroy;
#X obj 15 270 translateXYZ;
#X obj 15 290 circle 0.06;
#X obj 177 150 autoscale;
#X obj 177 170 hip 0.05;
#X obj 244 150 autoscale;
#X obj 244 170 hip 0.05;
#X obj 204 210 > 0;
#X obj 271 210 > 0;
#X obj 232 83 t b f;
#X obj 244 125 -;
#X msg 232 103 1;
#X obj 38 190 netreceive 3000;
#X floatatom 125 210 5 0 0 0 - - -;
#X obj 38 210 route x y;
#X obj 125 13 loadbang;
#X obj 177 190 t f f;
#X obj 244 190 t f f;
#X obj 177 210 * 8;
#X obj 244 210 * 8;
#X obj 165 366 square 2;
#X obj 165 346 translateXYZ -2 -2 0;
#X obj 165 326 alpha;
#X obj 204 242 * 4;
#X obj 271 242 * 4;
#X obj 271 262 - 2;
#X obj 204 262 - 2;
#X obj 165 306 color 1 1 1 0.4;
#X obj 327 35 gemhead 1;
#X obj 165 286 gemhead 2;
#X obj 15 169 gemhead 3;
#X obj 327 155 circscrollabs;
#X obj 327 55 circscrollabs;
#X obj 327 75 circscrollabs;
#X obj 327 175 circscrollabs;
#X obj 327 95 circscrollabs;
#X obj 327 135 circscrollabs;
#X obj 327 115 circscrollabs;
#X obj 327 195 circscrollabs;
#X obj 327 215 circscrollabs;
#X obj 327 255 circscrollabs;
#X obj 327 235 circscrollabs;
#X obj 327 275 circscrollabs;
#X connect 0 1 7 0;
#X connect 0 2 13 0;
#X connect 1 0 0 0;
#X connect 3 0 2 0;
#X connect 4 0 2 0;
#X connect 5 0 6 0;
#X connect 7 0 8 0;
#X connect 8 0 20 0;
#X connect 9 0 10 0;
#X connect 10 0 21 0;
#X connect 11 0 27 0;
#X connect 12 0 28 0;
#X connect 13 0 15 0;
#X connect 13 1 14 1;
#X connect 14 0 9 0;
#X connect 15 0 14 0;
#X connect 16 0 18 0;
#X connect 16 1 17 0;
#X connect 18 0 5 1;
#X connect 18 1 5 2;
#X connect 19 0 3 0;
#X connect 19 0 1 0;
#X connect 20 0 22 0;
#X connect 20 1 11 0;
#X connect 21 0 23 0;
#X connect 21 1 12 0;
#X connect 22 0 5 1;
#X connect 23 0 5 2;
#X connect 25 0 24 0;
#X connect 26 0 25 0;
#X connect 27 0 30 0;
#X connect 28 0 29 0;
#X connect 29 0 25 2;
#X connect 30 0 25 1;
#X connect 31 0 26 0;
#X connect 32 0 36 0;
#X connect 33 0 31 0;
#X connect 34 0 5 0;
#X connect 35 0 38 0;
#X connect 36 0 37 0;
#X connect 37 0 39 0;
#X connect 38 0 42 0;
#X connect 39 0 41 0;
#X connect 40 0 35 0;
#X connect 41 0 40 0;
#X connect 42 0 43 0;
#X connect 43 0 45 0;
#X connect 44 0 46 0;
#X connect 45 0 44 0;
#N canvas 465 330 450 300 10;
#X obj 100 165 polygon 3;
#X msg 117 59 0 0 0;
#X msg 134 79 0 4 0;
#X msg 151 99 2 3.46 0;
#X obj 73 191 separator;
#X obj 73 105 t a a;
#X obj 73 231 translateXYZ 0 0 0;
#X obj 73 211 rotateXYZ 0 0 30;
#X obj 73 85 inlet;
#X obj 73 251 outlet;
#X obj 214 21 loadbang;
#X obj 100 125 color;
#X obj 348 134 t l;
#X obj 241 94 until;
#X obj 214 54 t b b;
#X msg 241 74 3;
#X obj 100 145 alpha;
#X obj 241 114 randomF 1;
#X obj 214 154 list;
#X obj 241 134 list append 0.6;
#X connect 1 0 0 1;
#X connect 2 0 0 2;
#X connect 3 0 0 3;
#X connect 4 0 7 0;
#X connect 5 0 4 0;
#X connect 5 1 11 0;
#X connect 6 0 9 0;
#X connect 7 0 6 0;
#X connect 8 0 5 0;
#X connect 10 0 1 0;
#X connect 10 0 2 0;
#X connect 10 0 3 0;
#X connect 10 0 14 0;
#X connect 11 0 16 0;
#X connect 12 0 19 1;
#X connect 13 0 17 0;
#X connect 14 0 18 0;
#X connect 14 1 15 0;
#X connect 15 0 13 0;
#X connect 16 0 0 0;
#X connect 17 0 19 0;
#X connect 18 0 11 1;
#X connect 19 0 12 0;
#X connect 19 0 18 1;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Browse/Search plugin update

2012-12-01 Thread James Dunn

Quoth Hans-Christoph Steiner, on 01/12/2012 15:43:


On Dec 1, 2012, at 10:17 AM, James Dunn wrote:


Quoth Hans-Christoph Steiner, on 30/11/2012 19:03:


On Nov 30, 2012, at 3:27 AM, Jonathan Wilkes wrote:


Here's an update:

http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/scripts/guiplugins/search-plugin/

How do you use this plugin? I've installed 
Pd-0.43.4-extended-20121101 on OS X 10.6.8, and downloaded the above 
plugin and added it to the paths in preferences. So how do you use 
it? I can't find any documentation online.


Go to the Help menu and choose Search.

.hc

Aha, thanks. It's labelled Browser2.0 here under the help menu.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Browse/Search plugin update

2012-12-01 Thread James Dunn

Quoth Hans-Christoph Steiner, on 30/11/2012 19:03:


On Nov 30, 2012, at 3:27 AM, Jonathan Wilkes wrote:


Here's an update:

http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/scripts/guiplugins/search-plugin/

How do you use this plugin? I've installed Pd-0.43.4-extended-20121101 
on OS X 10.6.8, and downloaded the above plugin and added it to the 
paths in preferences. So how do you use it? I can't find any 
documentation online.


thanks

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


Re: [PD] Problem with alsa and command line option -nogui

2012-11-08 Thread James Dunn

Are you turning on dsp with a loadbang like this ?

[loadbang]
|
[; pd dsp 1(

If so, try adding a delay after the loadbang:

[loadbang]
|
[delay 1000]
|
[; pd dsp 1(

James


Quoth contact, on 08/11/2012 15:53:

Hello
I'm new on this list and have any problem with pd in command line.

When i try this command under linux

pd-extended  -nogui -alsa -audiodev 1 ./test.pd

I haven't any sound and this message


snd_pcm_open (input): Device or resource busy
snd_pcm_open (output): Device or resource busy


and when I try this one

pd-extended  -alsa -audiodev 1 ./test.pd

the sound is ok.

Thank's for your help

François-Marie BILLARD


___
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] Highest and Lowest values of array?

2012-11-07 Thread James Dunn

what about using [max] and [min]?

see attached patch

James

Quoth Sebastian Valenzuela, on 06/11/2012 21:03:
I imagine this isn't very difficult to do, but i haven't been able to 
find it anywhere. I have controller data constantly begin written (and 
updated) into an array - What is the easiest way to extract the 
highest and lowest numbers from this array as these two variables change?


I'm not looking for something that will constantly be giving me the 
value of those variables, but, for example, something that gives me 
the highest value once, and updates that number when it finds a new 
highest value.


Thank you pd-list!
-Sebastian



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


#N canvas 429 316 450 300 10;
#X obj 13 -131 metro 100;
#X obj 13 -151 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#N canvas 0 22 450 300 (subpatch) 0;
#X array data 100 float 3;
#A 0 74 56 76 48 55 72 19 71 90 0 8 88 41 83 57 49 19 37 37 6 32 27
76 31 30 42 59 47 56 64 27 41 97 45 72 96 26 81 38 14 57 82 19 32 89
47 57 55 56 38 40 72 77 55 3 83 0 6 23 24 56 81 20 85 4 29 54 39 79
26 23 62 44 55 64 58 32 72 49 82 4 86 83 63 86 28 64 6 77 2 1 41 45
62 66 4 79 88 17 30;
#X coords 0 100 99 0 200 140 1;
#X restore 228 -163 graph;
#X obj 13 -91 t f b;
#X obj 40 -50 f;
#X obj 88 -50 + 1;
#X obj 55 -91 sel 100;
#X msg 55 -71 0;
#X obj 40 39 max;
#X obj 80 39 t f;
#X floatatom 80 82 5 0 0 0 Max - -;
#X obj 13 -170 loadbang;
#X obj 80 62 change;
#X obj 13 -20 tabwrite data;
#X obj 40 6 tabread data;
#X obj 13 -111 random 100;
#X text 174 5 reset;
#X obj 172 40 t f;
#X floatatom 172 83 5 0 0 0 Min - -;
#X obj 172 63 change;
#X obj 132 40 min;
#X msg 147 6 0;
#X connect 0 0 15 0;
#X connect 1 0 0 0;
#X connect 3 0 13 0;
#X connect 3 1 4 0;
#X connect 4 0 5 0;
#X connect 4 0 13 1;
#X connect 4 0 14 0;
#X connect 5 0 4 1;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 4 1;
#X connect 8 0 9 0;
#X connect 9 0 8 1;
#X connect 9 0 12 0;
#X connect 11 0 1 0;
#X connect 12 0 10 0;
#X connect 14 0 8 0;
#X connect 14 0 20 0;
#X connect 15 0 3 0;
#X connect 17 0 19 0;
#X connect 17 0 20 1;
#X connect 19 0 18 0;
#X connect 20 0 17 0;
#X connect 21 0 8 1;
#X connect 21 0 20 1;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Gradually speed up sound file

2012-10-17 Thread James Dunn


Thank you for the reply. I'm afraid it has to happen between [line~] 
and [tabplay4~].


That is what I was suggesting.

I've attached the portion of code in question (the canvas is just a 
space where the answer should go. Any ideas?



See the attached patch - I just modified your patch with my suggestion 
from earlier.


James
#N canvas 649 315 450 300 10;
#X obj 58 262 dac~;
#X obj 58 230 tabread4~ \$0-sample;
#X obj 58 23 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 58 90 line~;
#X msg 141 67 0;
#X obj 58 44 t b b b;
#X obj 58 145 *~;
#X msg 58 67 1 19000;
#X obj 58 172 *~ 848900;
#X text 85 145 square the output of line~ for a non-linear ramp;
#X text 121 171 multiply by the size of your array;
#X connect 1 0 0 0;
#X connect 1 0 0 1;
#X connect 2 0 5 0;
#X connect 3 0 6 0;
#X connect 3 0 6 1;
#X connect 4 0 3 0;
#X connect 5 0 7 0;
#X connect 5 1 4 0;
#X connect 6 0 8 0;
#X connect 7 0 3 0;
#X connect 8 0 1 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Gradually speed up sound file

2012-10-17 Thread James Dunn

What about something like this?

[1 19000(
|
[line~]
|\
| \
[*~]
|
[*~ 848900]
|
[tabread4~]

You can scale the output of [line~] by squaring it and then multiplying 
by the size of your array.


James

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


Re: [PD] Textual pd primer

2012-08-17 Thread James Dunn

Quoth Duncan Speakman, on 17/08/2012 10:03:

2. (this is the really weird one) The expr object doesn't work if we
launch Pd on startup ( init.d ) with nogui, BUT if we run it with
-nogui in a command line over SSH it does.
could that be to do with permissions? If pd is started at boot via 
init.d I guess it is running as root? And when you run it over ssh, 
maybe you are running it as a normal user?


James

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


Re: [PD] variable number of outlets/inlets

2012-08-11 Thread James Dunn

What about something like this?

james

Quoth bra...@subnet.at, on 11/08/2012 09:47:

could you please be a little more specific?

all the best
der.brandt

Zitat von "Eldad Tsabary" :


Hi,
How does one create an abstraction with a variable number of outlets 
(depending on the number of arguments)?

Thanks
Eldad


___
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




#N canvas 720 172 450 300 10;
#X obj 70 149 f;
#X obj 109 149 + 1;
#X obj 43 89 list-drip;
#X obj 43 109 sel 0;
#X obj 70 129 b;
#X obj 109 169 * 50;
#X msg 109 189 obj \$1 250 outlet;
#X obj 43 49 loadbang;
#X obj 43 21 namecanvas \$0-abs;
#X obj 109 209 s \$0-abs;
#X obj 43 69 any \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9 \$10;
#X connect 0 0 1 0;
#X connect 1 0 0 1;
#X connect 1 0 5 0;
#X connect 2 0 3 0;
#X connect 3 1 4 0;
#X connect 4 0 0 0;
#X connect 5 0 6 0;
#X connect 6 0 9 0;
#X connect 7 0 10 0;
#X connect 10 0 2 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Read streaming from Pd ?

2012-08-01 Thread James Dunn

What about using [pdogg/oggamp~] or [unauthorized/mp3amp~]?

James

Quoth Pierre Massat, on 01/08/2012 14:32:

Hi List,

I was wondering if it was possible to read streamed audio data from 
the internet (to make a webradio receiver for instance). Is this 
possible using netreceive? I don't think i've even ever created this 
object in a patch...

I suppose the answer will depend on the format of the streamed data.

Any hint appreciated !

Cheers,

Pierre.


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


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


Re: [PD] [PD-announce] pd 0.43-3 released

2012-07-04 Thread James Dunn

Quoth Roman Haefeli, on 04/07/2012 12:14:

I'm also interested to hear if others experience similar issues or if it
is only me having trouble with 0.43's design. Up to 0.42 everything was
fine for me regarding audio.

This may be related:

I just installed pd-extended 0.43.1 on Ubuntu 12.04 and I can't get 
audio to work in -nogui mode. The usual trick of delaying a loadbang by 
1000ms or more results in a high tone, and there is no adc input, so I'm 
running it in gui mode which works.


James

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


Re: [PD] HID double triggers

2012-05-02 Thread James Dunn

Quoth Hans-Christoph Steiner, on 22/04/2012 01:32:


On Apr 21, 2012, at 10:22 AM, James Dunn wrote:


Quoth IOhannes m zmoelnig, on 21/04/2012 14:23:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2012-04-18 20:27, Andrew Faraday wrote:

I've had this problem before with [hid], apparently it's a hardware
issue called 'debouncing', which is often ignored because it is often
irrelevant (pushed is pushed, for game controllers, rather than a
button-on/button-off signal used for most music systems).

You can deal with the problem in pure data by using a trigger, float and
delay of one millisecond. See the attached patch, click the message
boxes and watch your terminal for the result.

[change] seems to be the more appropriate solution here...

fgmasdr
IOhannes


Thanks for the suggestion. The problem I have with these two 
solutions is that they only work when the double triggers are in 
sequence. Sometime they arrive like this:


[hid] 0.7, written by Hans-Christoph Steiner  
<mailto:h...@eds.org>

compiled on Apr 15 2012 at 08:12:47
[hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard
print: key key_j 1
print: key key_l 1
print: key key_j 1
print: key key_l 1
print: key key_j 0
print: key key_j 0
print: key key_l 0
print: key key_l 0

So I would need to store the value of each key individually and check 
each one with [change].
Instead of this long-winded method, I've downloaded [linuxevent] 
which is working nicely so I think I'll stick with this even though 
it may be deprecated?


Surely this is a bug with [hid] though?


Could be.  If you think so, please file a bug report.  I am happy to 
help anyone work thru this bug. I haven't used [hid] in a good long 
while tho, so I'm not up on the code or the issues, nor am I likely to 
have time to look at it.


.hc



I hate it when they say, "He gave his life for his country." 
 Nobody gives their life for anything.  We steal the lives of these 
kids.  -Admiral Gene LeRocque



Ok I filed a bug report here:

https://sourceforge.net/tracker/?func=detail&aid=3522957&group_id=55736&atid=478070 
<https://sourceforge.net/tracker/?func=detail&aid=3522957&group_id=55736&atid=478070>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] HID double triggers

2012-04-21 Thread James Dunn

Quoth IOhannes m zmoelnig, on 21/04/2012 14:23:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2012-04-18 20:27, Andrew Faraday wrote:

I've had this problem before with [hid], apparently it's a hardware
issue called 'debouncing', which is often ignored because it is often
irrelevant (pushed is pushed, for game controllers, rather than a
button-on/button-off signal used for most music systems).

You can deal with the problem in pure data by using a trigger, float and
delay of one millisecond. See the attached patch, click the message
boxes and watch your terminal for the result.

[change] seems to be the more appropriate solution here...

fgmasdr
IOhannes


Thanks for the suggestion. The problem I have with these two solutions 
is that they only work when the double triggers are in sequence. 
Sometime they arrive like this:


[hid] 0.7, written by Hans-Christoph Steiner  


compiled on Apr 15 2012 at 08:12:47
[hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard
print: key key_j 1
print: key key_l 1
print: key key_j 1
print: key key_l 1
print: key key_j 0
print: key key_j 0
print: key key_l 0
print: key key_l 0

So I would need to store the value of each key individually and check 
each one with [change].
Instead of this long-winded method, I've downloaded [linuxevent] which 
is working nicely so I think I'll stick with this even though it may be 
deprecated?


Surely this is a bug with [hid] though?

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


Re: [PD] HID double triggers

2012-04-19 Thread James Dunn
If it was spurious noise from a switch that was insufficiently 
debounced, surely I would get more random triggers? For example, 
sometimes one trigger, sometimes two or three? Also, if this is a 
fundamental issue with the hardware, then how does Mac OS X manage to 
handle it correctly? Surely it is an issue with either [hid] or linux, 
and therefore a bug with one or the other?


Thanks for the patch. It is possible to ignore duplicate messages in a 
stream as you suggest however it's complicated somewhat by the fact that 
the messages don't always arrive in the same order!


For example:

[hid] 0.7, written by Hans-Christoph Steiner  


compiled on Apr 15 2012 at 08:12:47
[hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard
print: key key_j 1
print: key key_l 1
print: key key_j 1
print: key key_l 1
print: key key_j 0
print: key key_j 0
print: key key_l 0
print: key key_l 0

I can filter these out later on, but it would be nice to have a bug free 
object!


thanks for you help

James


Quoth Andrew Faraday, on 18/04/2012 19:27:
I've had this problem before with [hid], apparently it's a hardware 
issue called 'debouncing', which is often ignored because it is often 
irrelevant (pushed is pushed, for game controllers, rather than a 
button-on/button-off signal used for most music systems).


You can deal with the problem in pure data by using a trigger, float 
and delay of one millisecond. See the attached patch, click the 
message boxes and watch your terminal for the result.


I hope this helps.

Andrew


Date: Wed, 18 Apr 2012 16:53:44 +0100
From: ja...@4thharmonic.com
To: pd-l...@iem.kug.ac.at
Subject: [PD] HID double triggers

Hi list,

recently I've been playing around with [hid] again and still have the 
issue with double triggers on linux (see previous post here 
).


I've downloaded the latest version of 
Pd-0.43.1-extended-ubuntu-lucid-i386.deb 
 
but I have the same problem with my existing Arch Linux installation 
on my laptop as well.


It works fine on Mac 10.6. The problem is that I basically get two 
identical events for each key press and release, ie:


[hid] 0.7, written by Hans-Christoph Steiner  


compiled on Apr 15 2012 at 08:12:47
[hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard
print: key key_u 1
print: key key_u 1
print: key key_u 0
print: key key_u 0

Is anyone else having this problem?

thanks

James

___ 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] HID double triggers

2012-04-18 Thread James Dunn

Hi list,

recently I've been playing around with [hid] again and still have the 
issue with double triggers on linux (see previous post here 
).


I've downloaded the latest version of 
Pd-0.43.1-extended-ubuntu-lucid-i386.deb 
 
but I have the same problem with my existing Arch Linux installation on 
my laptop as well.


It works fine on Mac 10.6. The problem is that I basically get two 
identical events for each key press and release, ie:


[hid] 0.7, written by Hans-Christoph Steiner 
compiled on Apr 15 2012 at 08:12:47
[hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard
print: key key_u 1
print: key key_u 1
print: key key_u 0
print: key key_u 0

Is anyone else having this problem?

thanks

James
 

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


Re: [PD] stop sample playback when phasor~ reset?

2011-09-20 Thread James Dunn
Thanks for all the replies. What I'm trying to do is make an abstraction 
in which I can load a soundfile (mono, 44100) which are all between 
about 2-6 mins in length. I have been using phasor~ because I want to 
play the files forwards and backwards and change slowly between the two. 
I also want to be able to pause and seek within the file using a slider. 
The main issue I'm having is catching the end of the phasor~ - either 
when it's going forwards or backwards. I've attached my patch.


thanks

James

Quoth Lorenzo Sutton, on 20/09/2011 10:56:

Hi James,

On 19/09/2011 20:33, James Dunn wrote:

Hi list,

I'm controlling tabread4~ with a phasor~ but don't want my samples to
loop (most of the time). What's the best way to detect a phasor~'s
reset? ( in both directions - I'm playing the samples forwards and
backwards). I've looked at edge~ and samphold~ triggered by a bang~ but
it seems quite tricky.


After all the debate... I think it would help if you gave a little 
background on what you are trying to achieve and some further info :-) 
For example: time magnitude of the samples' playback (seconds, 
100-1000 ms, 0-20 ms?)... What's your foreseen CPU-resources budget?


"The best way" much depends on what your final goal is. E.g. as 
someone suggested might get away with [(v)line~], but that has its 
shortcomings, same goes with the other suggestions.


Lorenzo.



thanks

James

___
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




#N canvas 653 259 450 300 10;
#X obj 163 83 % 60;
#X obj 232 83 / 60;
#X obj 232 103 i;
#X obj 163 123 makefilename %02d;
#X obj 163 163 l2s :;
#X obj 163 143 list prepend;
#X obj 163 183 outlet;
#X obj 163 41 inlet;
#X obj 163 61 trigger f f;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 2 0 5 1;
#X connect 3 0 5 0;
#X connect 4 0 6 0;
#X connect 5 0 4 0;
#X connect 7 0 8 0;
#X connect 8 0 0 0;
#X connect 8 1 1 0;
#N canvas 342 45 762 615 10;
#X obj 425 207 soundfiler;
#N canvas 0 22 450 300 array 0;
#N canvas 0 22 450 300 (subpatch) 0;
#X array \$0-track 9.52933e+06 float 2;
#X coords 0 1 9.52933e+06 -1 200 140 1;
#X restore 100 20 graph;
#X restore 17 454 pd array;
#X obj 214 10 loadbang;
#X msg 214 31 \; pd dsp 1;
#X obj 425 47 openpanel;
#X obj 463 147 splitfilename /;
#X obj 410 290 phasor~;
#X obj 410 361 tabread4~ \$0-track;
#X obj 410 341 *~;
#X obj 425 250 expr 44100/$f1;
#X obj 425 167 pack s \$0;
#X obj 410 381 hip~ 5;
#X obj 534 321 snapshot~;
#X obj 534 296 bang~;
#X obj 425 7 r \$0-open;
#X obj 425 321 r \$0-sample-size;
#X obj 433 229 s \$0-sample-size;
#X msg 425 27 symbol /Users/james/Indifference/Final/Music;
#X obj 449 270 r \$0-pos;
#X obj 410 447 *~;
#X obj 440 401 r \$0-vol-snd;
#X obj 425 427 *;
#X obj 410 487 *~;
#X obj 425 467 r \$0-state;
#X obj 583 429 s \$0-pos-rcv;
#X obj 644 287 / 44100;
#X obj 652 329 s \$0-pos-rcv;
#X msg 652 309 range 0 \$1;
#X obj 534 361 *;
#X obj 575 409 change;
#X obj 664 429 mins-secs;
#X obj 664 517 l2s /;
#X msg 664 537 label \$1;
#X obj 664 557 s \$0-pos-rcv;
#X obj 664 497 list append;
#X obj 664 449 trigger b s;
#X obj 664 469 init 0:00;
#X msg 425 187 read -resize -maxsize 1e+09 \$1 \$2-track;
#X obj 550 167 splitfilename .;
#X obj 410 531 dac~;
#X obj 418 511 s~ \$0-track;
#X obj 410 270 *;
#X obj 644 351 s \$0-secs;
#X obj 664 409 r \$0-secs;
#X obj 549 341 r \$0-secs;
#X obj 644 267 r \$0-sample-size;
#X obj 1 1 cnv 15 198 248 \$0-cnv-snd \$0-cnv-rcv Makarena 75 14 0
12 -233017 -62784 0;
#X obj 9 9 bng 15 250 50 0 \$0-open empty Open 20 7 0 10 -262144 -1
-1;
#X obj 9 71 bng 15 250 50 0 \$0-play-snd \$0-play-rcv Play 20 7 0 10
-262144 -1 -1;
#X obj 12 46 hsl 175 15 0 216.085 0 0 \$0-pos-snd \$0-pos-rcv 0:00/3:36
-2 -8 0 10 -262144 -1 -1 0 1;
#X obj 9 91 bng 15 250 50 0 \$0-stop-snd \$0-stop-rcv Stop 20 7 0 10
-262144 -1 -1;
#X obj 9 151 bng 15 250 50 0 \$0-back-snd \$0-back-rcv Backwards 20
7 0 10 -262144 -1 -1;
#X obj 9 171 bng 15 250 50 0 \$0-half-snd \$0-half-rcv Half 20 7 0
10 -262144 -1 -1;
#X obj 12 128 hsl 175 15 -2 2 0 0 \$0-speed-snd \$0-speed-rcv Speed
-2 -8 0 10 -262144 -1 -1 13050 1;
#X obj 578 87 s \$0-stop-snd;
#X obj 214 83 r \$0-play-snd;
#X msg 214 170 1;
#X obj 214 214 s \$0-state;
#X obj 280 170 1;
#X obj 214 123 demux;
#X obj 241 103 r \$0-state;
#X obj 256 123 r \$0-stop-snd;
#X msg 241 170 0;
#X obj 295 143 r \$0-speed-snd;
#X obj 313 187 spigot;
#X obj 346 167 r \$0-state;
#X msg 501 107 1;
#X obj 501 127 s \$0-speed-rcv;
#X obj 361 201 > 0;
#X obj 361 221 s \$0-dir;
#X msg 539 87 0;
#X obj 534 439 -;
#X obj 534 409 t f f;
#X obj 534 459 abs;
#X obj 534 521 > 1;
#X obj 534 541 change;
#X obj 549 501 - 1;
#X obj 549 481 r \$0-secs;
#X o

[PD] stop sample playback when phasor~ reset?

2011-09-19 Thread James Dunn

Hi list,

I'm controlling tabread4~ with a phasor~ but don't want my samples to 
loop (most of the time). What's the best way to detect a phasor~'s 
reset? ( in both directions - I'm playing the samples forwards and 
backwards). I've looked at edge~ and samphold~ triggered by a bang~ but 
it seems quite tricky.


thanks

James

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


[PD] inactive patch consuming 100% CPU

2011-09-13 Thread James Dunn

Hi list,

I having some trouble with a large abstraction I've made. It's a 
[soundfiler]/[phasor~]/[tabread4~] based sample player that plays tracks 
forwards, backwards, half-speed, etc and I am also using [freeverb~] as 
a frozen reverb tail. It can play 5 tracks simultaneously fine, and I 
can manipulate them live, but when all the tracks are stopped the CPU 
steadily increases until it reaches 100% and I've no idea why. The 
tracks I'm loading are all between 3-5mins long so I'm obviously using a 
lot of memory. The tracks are stopped by sending [phasor~] a frequency 
of zero, and muting the main [*~] output. It's a bit of a sprawling 
mess, but I'd be really grateful if anyone would be able to look at it 
and tell me what's going wrong!


test_patch is the patch I'm using and player2.pd is the abstraction.
Also, this is on a Macbook Pro 8,1 2.7 GHz Intel Core i7 with 4GB RAM 
running Pd-extended 0.42-5


thanks

James
#N canvas 20 68 1045 656 10;
#X obj 7 5 player2;
#X obj 8 382 keyboard;
#X obj 8 402 nroute 1 2;
#X obj 8 422 route 44;
#X obj 8 442 s stop_track;
#X floatatom 8 630 0 0 0 0 - - -;
#X obj 8 570 cputime;
#X obj 8 462 loadbang;
#X obj 8 522 metro 1000;
#X msg 8 482 1;
#X floatatom 8 502 0 0 0 0 - - -;
#X obj 8 542 t b b;
#X obj 8 610 * 0.1;
#X obj 8 590 int;
#X text 53 502 <-- on/off;
#X text 36 631 CPU load in percent;
#X obj 211 5 player2;
#X obj 415 5 player2;
#X obj 619 5 player2;
#X obj 823 5 player2;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 6 0 13 0;
#X connect 7 0 9 0;
#X connect 8 0 11 0;
#X connect 9 0 10 0;
#X connect 10 0 8 0;
#X connect 11 0 6 0;
#X connect 11 1 6 1;
#X connect 12 0 5 0;
#X connect 13 0 12 0;


binfTejCtPV7T.bin
Description: application/applefile


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


Re: [PD] OSX and pd-extended 0.43.1

2011-07-08 Thread James Dunn

Sure. I did exactly what I did last time and here's the console output:

-- done with main --
::tk::mac::OpenApplication  Connection from 'pd' to 'pd-gui' 
on 127.0.0.1:54515

Default font: Andale Mono
libdir loader 1.9
compiled on Jul  8 2011 at 10:30:07
compiled against Pd version 0.43.1.extended-20110708
libdir_loader: added 'vanilla' to the global objectclass path
libdir_loader: added 'extra' to the global objectclass path
/Applications/Pd-0.43.1-extended-20110708.app/Contents/Resources/Scripts/../extra/Gem/Gem.pd_darwin: 
dlopen(/Applications/Pd-0.43.1-extended-20110708.app/Contents/Resources/Scripts/../extra/Gem/Gem.pd_darwin, 
10): Symbol not found: __Z10initGemWinv
  Referenced from: 
/Applications/Pd-0.43.1-extended-20110708.app/Contents/Resources/Scripts/../extra/Gem/Gem.pd_darwin

  Expected in: dynamic lookup

Gem: can't load library
libdir_loader: added 'cyclone' to the global objectclass path
libdir_loader: added 'zexy' to the global objectclass path
The Pd window filtered 13 lines
(Tcl) INVALID COMMAND NAME: invalid command name ".x1634dc0.c"
while executing
".x1634dc0.c itemconfigure .x101634dc0.t101635200o0 -outline 
$select_color -width 3"

("uplevel" body line 1)
invoked from within
"uplevel #0 $cmd_from_pd"(Tcl) INVALID COMMAND NAME: invalid command 
name ".x1634dc0.c"

while executing
".x1634dc0.c itemconfigure .x101634dc0.t101635200o0 -outline 
$signal_cord -fill $signal_nlet -width 1"

("uplevel" body line 1)
invoked from within
"uplevel #0 $cmd_from_pd"

Quoth Hans-Christoph Steiner, on 07/07/2011 16:29:

I guess I need to find me a 10.6 machine to debug on...  could you do me
a favor and try running that debug session again, then in the Pd window,
switch the log to 'debug', and copy and paste the contents in an email
reply to this thread?

.hc

On Thu, 07 Jul 2011 11:27 +0100, "James Dunn"
wrote:

I thought I'd try and install the latest pd extended on my Macbook Pro
(10.6.8, 2.7GHz Intel Core i7, 64bit) but I get a lot of errors. This is
with the latest build of Pd-0.43.1-extended-macosx106-x86_64.dmg

I've attached a screenshot. All I did was run pd, open a new patch and
add a bang object with command-shift-b. This created two objects, one
which was created at the mouse position, and another following the mouse
movement. Then I created an [osc~] object and got the errors in the
console.

James

Email had 1 attachment:
+ Screen shot 2011-07-07 at 11.19.47.png
   366k (image/png)



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


[PD] gem window state

2011-06-16 Thread James Dunn

Hi list,

is there a way to get the gem window state (ie created or destroyed / 
open or closed) in a message?

Sending a print message to gemwin only outputs to the console...

James

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


[PD] function key not reported with [HID] in OSX

2011-05-28 Thread James Dunn

Hi list,

is there any way of receiving the function key when it is pressed in OS 
X? [hid] doesn't report it. I'm using pd-extended 0.42.5 with 10.6


thanks

James

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


Re: [PD] text3d on new Macbook Pro

2011-03-26 Thread James Dunn
Quoth AUTHOR on DATE ALAN BROOKER
> Hi
>
> Does text2d work? It could be fonts haven't been loaded into Gem

Hi Alan,

yes text2d works and text3d sort of works but it's the usual problem of
antialiasing - the edges are blocky (i think this is due to 3d
acceleration hence my driver question)

thanks

James


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


[PD] text3d on new Macbook Pro

2011-03-26 Thread James Dunn
Hi list,

does anyone know how to get text3d working properly on the new Macbook
Pro? It's the 8,1 model with Intel HD Graphics 3000 running 10.6.6 and
Pd-extended 0.42.5. Is there a driver that needs to be installed?

thanks

James



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


Re: [PD] Lorenz withouth chaos external

2010-12-24 Thread James Dunn


  
  
Here's one I made a while ago:

http://www.4thharmonic.com/Lorenz%20Attractor.pd

James

Quoth ronni montoya, on 24/12/10 07:18:

  Hi , i would like to know if anyone have tried to create the lorenz
atractor in pure pd? I think this can be done with expr~ right?
Do anybody have tried making this attractor or maybe other atractor
just with pd?

I would like to use attractors  without using the chaos library or any
other external


thanks


Ronny

___
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] readanysf~ buzzing problem

2010-12-12 Thread James Dunn


  
  
Quoth august, on 11/12/10 20:01:

  
Also, I'm running pd-0-42.6 from a terminal and noticed this in the terminal
console at the same time as a buzz:

opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
Couldn't get an audio frame, audiofifo is 0.00 full.
error getting frame...must be seeking
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
Couldn't get an audio frame, audiofifo is 0.00 full.
error getting frame...must be seeking
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
Couldn't get an audio frame, audiofifo is 0.00 full.
error getting frame...must be seeking
Couldn't get an audio frame, audiofifo is 0.00 full.
error getting frame...must be seeking
Couldn't get an audio frame, audiofifo is 0.00 full.
error getting frame...must be seeking
Couldn't get an audio frame, audiofifo is 0.00 full.
error getting frame...must be seeking
Couldn't get an audio frame, audiofifo is 0.00 full.
error getting frame...must be seeking
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format
opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
[demuxer] Info: Detected WAV format

  
  

is that where the buzzing is occurring?

it really shouldn't happen there.


It just means your disk is slow and the internal buffers haven't been
filled yet.   There should be no buzzing there as readanysf~'s buffers
are set to zero when that happens.



Sorry perhaps that was a false alarm. I ran it again and got a buzz
after 115 loads but no message in the terminal. 
  


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


Re: [PD] readanysf~ buzzing problem

2010-12-10 Thread James Dunn


  
  
Quoth august, on 09/12/10 20:30:

  Okay,  try this one now:


	http://aug.ment.org/software/readanysf~testing2.tar.gz

	I don't think it is a memory leak error.  memory usage should be real
	tight.

	I'm guessing the buzzing comes from when the dsp is stuck.  It can't
	happen in the readanysf~ function that sends out the audio. ..but
	could happen right when you open a file and the open callback spits
	out file inof.  I've moved some things around.  I hope this helps. 


	please test and let me know.


	-august.




Also, I'm running pd-0-42.6 from a terminal and noticed this in the
terminal console at the same time as a buzz:
  
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  Couldn't get an audio frame, audiofifo is 0.00 full.
  error getting frame...must be seeking
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  Couldn't get an audio frame, audiofifo is 0.00 full.
  error getting frame...must be seeking
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  Couldn't get an audio frame, audiofifo is 0.00 full.
  error getting frame...must be seeking
  Couldn't get an audio frame, audiofifo is 0.00 full.
  error getting frame...must be seeking
  Couldn't get an audio frame, audiofifo is 0.00 full.
  error getting frame...must be seeking
  Couldn't get an audio frame, audiofifo is 0.00 full.
  error getting frame...must be seeking
  Couldn't get an audio frame, audiofifo is 0.00 full.
  error getting frame...must be seeking
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format
  opened /home/james/2012/Chisenhale/sounds/Gunfire.wav
  [demuxer] Info: Detected WAV format


  


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


Re: [PD] readanysf~ buzzing problem

2010-12-10 Thread James Dunn


  
  
Quoth august, on 09/12/10 20:30:

  Okay,  try this one now:


	http://aug.ment.org/software/readanysf~testing2.tar.gz

	I don't think it is a memory leak error.  memory usage should be real
	tight.

	I'm guessing the buzzing comes from when the dsp is stuck.  It can't
	happen in the readanysf~ function that sends out the audio. ..but
	could happen right when you open a file and the open callback spits
	out file inof.  I've moved some things around.  I hope this helps. 


	please test and let me know.


	-august.




It's still buzzing I'm afraid. About once a minute on average,
although it's been running smoothly for several minutes now.

James
  


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


Re: [PD] readanysf~ buzzing problem

2010-12-09 Thread James Dunn


  
  
Quoth august, on 08/12/10 22:37:

  James,


	Can you download and try this:

	http://aug.ment.org/software/readanysf~testing.tar.gz


	does that help any?


	-august.




Hi August,

Thanks for looking into this. I ran the stress patch again on
pd-vanilla-0.42-6 and heard a buzz after a minute or so. I also got
the following error in the console (although not at the same time as
the buzz)

readanysf~: error on m_decode_block inside perform()

James

  


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


Re: [PD] readanysf~ buzzing problem

2010-12-01 Thread James Dunn


  
  
Quoth august, on 30/11/10 16:27:

  ok, this smells like a memory leak to me.  Not going to be easy to find.

Do you have other externals loaded at the same time?  If so, try
re-running my stress patch with no other libs or externals loaded.


thanks -august.



ok I downloaded Pd-vanilla 0.42-6 from puredata.info and ran the
patch. It took about 10 mins, but eventually there were a couple of
buzzes. No libs or other externals, just pd-vanilla 0.42-6 with
readanysf~ running your stress patch.

James
  


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


Re: [PD] readanysf~ buzzing problem

2010-11-30 Thread James Dunn


  
  
Quoth august, on 30/11/10 02:40:

  the first thing I notice about your patch (besides all of the externals
that don't load for me) is that you are looping the files based on the
bang at the end of file.  You should really use the "loop" message to
readanysf~ to turn looping on and off.


Ok thanks, I'll look into that.

  Attached is the stress test patch I made with your gunfire.wav.   It's
been running for minutes now without that problem. 

Can you test it on your setup?  


I ran your patch several times and it takes a while to happen, but
it still buzzes eventually (although once it happened on the third
or fourth load). I recorded the results here:
http://www.4thharmonic.com/audio/readanysf~test2.mp3
- (the buzz happens around 2:28 and happens 3 times)

James

  


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


Re: [PD] readanysf~ buzzing problem

2010-11-29 Thread James Dunn


  
  
Oh and no it isn't with just the one file, it could be any file
(only tried it with wav's though)

James

Quoth august, on 29/11/10 21:36:

  Hi James,


What readanysf~ version are you using?

If you aren't using the latest version, please download from here
http://aug.ment.org/readanysf/download.php

or use the handy ppa's from puredyne:
https://launchpad.net/~puredyne-team/+archive/ppa


If you are using the latest info, can you narrow the problem down to a
particular file?  Does it only happen with that one wav file?

I've build a stress patch that opens, plays and then reopens your
Gunfire.wav file over and over again...and can't seem to reproduce your
buzzing.

-august.


  
Hi list,

I've been using readanysf~ for a while and had no problems. However recently
I've been experiencing random buzzing when playing soundfiles. I'm running
Ubuntu 10.04 on a 1.6ghz machine with Pdextended 0.42-5. It doesn't happen on
every file or even every time I play a particular file, just randomly about
once every 20 plays and seems to be an error with how the file is opened, as
once it's opened, it always buzzes until a new file is loaded in.

any ideas as to what could be wrong?

Here's the file with the buzz: http://www.4thharmonic.com/audio/
readanysf~test.wav
(Notice it's only in the right channel)
and here's how it should sound: http://www.4thharmonic.com/audio/Gunfire.wav

thanks

James

  
  




  


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


Re: [PD] readanysf~ buzzing problem

2010-11-29 Thread James Dunn


  
  
Hi August,

I'm using this version -
https://launchpad.net/~reduzierer/+archive/rdz-pd-extra+deps
which is dated 2010-10-06 so should be current? I'm also using
Pdextended 0.42-5 from http://puredata.info/downloads (Lucid i386).
I just tried again to recreate the error and it took much more than
20 times to happen, but eventually the file opened with the buzz.
I've attached the patch I'm using - basically I'm loading various
files in a playlist with the "left" and "right" keys on the keyboard
and then starting the file with "enter". 95% of the time the files
play fine, but inevitably one time (like the show last night!) the
buzz happens.

James

Quoth august, on 29/11/10 21:36:

  Hi James,


What readanysf~ version are you using?

If you aren't using the latest version, please download from here
http://aug.ment.org/readanysf/download.php

or use the handy ppa's from puredyne:
https://launchpad.net/~puredyne-team/+archive/ppa


If you are using the latest info, can you narrow the problem down to a
particular file?  Does it only happen with that one wav file?

I've build a stress patch that opens, plays and then reopens your
Gunfire.wav file over and over again...and can't seem to reproduce your
buzzing.

-august.


  
Hi list,

I've been using readanysf~ for a while and had no problems. However recently
I've been experiencing random buzzing when playing soundfiles. I'm running
Ubuntu 10.04 on a 1.6ghz machine with Pdextended 0.42-5. It doesn't happen on
every file or even every time I play a particular file, just randomly about
once every 20 plays and seems to be an error with how the file is opened, as
once it's opened, it always buzzes until a new file is loaded in.

any ideas as to what could be wrong?

Here's the file with the buzz: http://www.4thharmonic.com/audio/
readanysf~test.wav
(Notice it's only in the right channel)
and here's how it should sound: http://www.4thharmonic.com/audio/Gunfire.wav

thanks

James

  
  




  

#N canvas 405 120 618 586 10;
#X obj 9 -6 loadbang;
#X msg 48 34 \; pd dsp 1 \;;
#X obj 427 427 readanysf~;
#X msg 228 353 play;
#X obj 9 91 hid/keyboard 1;
#X msg 28 67 open 4;
#X msg 9 34 1;
#X obj 9 131 alternate;
#X obj 9 111 list;
#X obj 9 171 splitfilename _;
#X obj 9 151 unpack s f;
#X obj 96 312 list trim;
#X obj 96 191 pack s f;
#X obj 96 292 nroute 1 2;
#X obj 9 14 t b b b;
#X obj 123 509 readsf~ 2;
#X msg 96 482 1;
#X obj 124 530 dac~;
#X msg 123 482 open 2012/pd/New_Level_Change_x1_VOL.wav;
#X obj 96 462 t b b;
#X obj 140 422 f;
#X obj 171 422 +;
#X obj 140 353 t b b;
#X msg 167 393 -1;
#X obj 184 353 t b b;
#X msg 211 393 1;
#X obj 165 24 folder_list;
#X obj 171 462 s seek;
#X obj 165 4 init symbol 2012/Chisenhale/sounds/*.wav;
#X obj 427 394 r sf;
#X obj 427 454 *~;
#X obj 456 454 *~;
#X obj 434 15 vsl 15 128 0.01 1 1 1 empty empty SFX 0 -9 0 10 -262144
-1 -1 9600 1;
#N canvas 382 320 450 300 fade 0;
#X obj 130 145 line;
#X obj 130 185 *;
#X obj 130 165 t f f;
#X obj 137 207 sel 0;
#X msg 89 61 0;
#X obj 89 41 inlet;
#X obj 137 247 outlet stop;
#X obj 130 267 outlet fade;
#X obj 130 41 demux 0 1 2;
#X msg 130 118 1 \, 0 \$1;
#X msg 161 69 7000;
#X msg 130 69 200;
#X msg 137 227 stop;
#X obj 130 21 inlet space;
#X obj 203 21 r leftshift;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 1 0 7 0;
#X connect 2 0 1 0;
#X connect 2 1 1 1;
#X connect 3 0 12 0;
#X connect 4 0 0 0;
#X connect 5 0 4 0;
#X connect 8 0 11 0;
#X connect 8 1 10 0;
#X connect 8 2 10 0;
#X connect 9 0 0 0;
#X connect 10 0 9 0;
#X connect 11 0 9 0;
#X connect 12 0 6 0;
#X connect 13 0 8 0;
#X connect 14 0 8 1;
#X restore 285 394 pd fade;
#X obj 228 373 t a b bang;
#X msg 256 394 1;
#X obj 285 417 t f;
#X obj 103 211 nroute 0 2;
#X obj 103 231 list trim;
#X obj 427 509 *~;
#X obj 456 509 *~;
#X obj 426 533 dac~;
#X floatatom 434 149 5 0 0 0 - - vol;
#X obj 34 353 loadbang;
#X msg 165 44 add \$1;
#X msg 278 104 rewind;
#N canvas 0 0 450 300 (subpatch) 0;
#X array tracklist 12 float 3;
#A 0 7 2 1 3 9 8 6 0 6 4 5 6;
#X coords 0 12 12 0 70 50 1;
#X restore 153 129 graph;
#X obj 239 129 msgfile;
#X msg 258 84 goto \$1;
#X obj 239 24 r seek;
#X symbolatom 334 170 0 0 0 0 - - -;
#X obj 239 64 t b f b;
#X obj 247 150 splitfilename /;
#X obj 239 44 tabread tracklist \$1;
#X msg 239 171 open \$1;
#X obj 239 191 s sf;
#X obj 471 475 r vol;
#N canvas 0 0 450 300 loop 0;
#X text 225 43 Sky Saw;
#X obj 150 126 spigot;
#X msg 183 103 1;
#X msg 210 103 0;
#X msg 150 206 time_seek \$1;
#X obj 150 247 s sf;
#X obj 156 226 init tick 100;
#X msg 150 186 85.06;
#X obj 150 146 t b b;
#X msg 177 166 play;
#X obj 183 43 r seek;
#X obj 113 103 route bang;
#X obj 113 83 inlet;
#X obj 183 63 sel 0 7 10;
#X connect 1 0 8 0;
#X connect 2 0 1 1;
#X connect 3 0 1 1;
#X connect 4 0 5 0;
#X connect 6 0 5 0;
#X connect 7 0 4 0;
#X connect 8 0 7 0;
#X connect 8 1 9 0;
#X connect 9 0 5 0;
#X connect 10 0 13 0;
#X connect 

[PD] readanysf~ buzzing problem

2010-11-29 Thread James Dunn


  
  
Hi list,

I've been using readanysf~ for a while and had no problems. However
recently I've been experiencing random buzzing when playing
soundfiles. I'm running Ubuntu 10.04 on a 1.6ghz machine with
Pdextended 0.42-5. It doesn't happen on every file or even every
time I play a particular file, just randomly about once every 20
plays and seems to be an error with how the file is opened, as once
it's opened, it always buzzes until a new file is loaded in.

any ideas as to what could be wrong?

Here's the file with the buzz:
http://www.4thharmonic.com/audio/readanysf~test.wav
(Notice it's only in the right channel)
and here's how it should sound:
http://www.4thharmonic.com/audio/Gunfire.wav

thanks

James
  


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


Re: [PD] -nogui = no sound

2010-10-14 Thread James Dunn
Yes I have the same response from running those commands too. At least
there's a workaround by delaying the message "; pd dsp 1"

thanks

James


On 14 October 2010 16:19, IOhannes m zmoelnig  wrote:

> On 2010-10-14 16:41, James Dunn wrote:
> > Hi list,
> >
> > I'm not getting any sound out of pd when running it with -nogui from the
> > command line. I have pdextended-0.42.5 running on Ubuntu 10.04.
>
> do you think that by chance this might be somehow related to:
>
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=2724318&group_id=55736&atid=478070
>
> 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] -nogui = no sound

2010-10-14 Thread James Dunn
Hi list,

I'm not getting any sound out of pd when running it with -nogui from the
command line. I have pdextended-0.42.5 running on Ubuntu 10.04.

running:

pdextended -nogui -open sound_test.pd

gives me:

/dev/dsp (read/write): Device or resource busy
(now will try write-only...)
/dev/dsp (writeonly): Device or resource busy
/dev/dsp (readonly): Device or resource busy
audio I/O stuck... closing audio

trying with:

pasuspender -- pdextended -nogui -open OSC_2012.pd

gives the same. It works with jack but I have lots of glitches with audio
and tried all the usual settings, including editing
/etc/security/limits.conf

Is there a way to get -nogui to work with OSS driver?

thanks

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


Re: [PD] unix and (bad) companies.

2010-09-22 Thread James Dunn
I love linux and ubuntu but the driver support is a bit of an issue. I 
recently upgraded my mother's computer to 10.04 and now her Dell V505 
all-in-one printer doesn't work. I got no (helpful) response from 
emailing Dell.
Secondly on a pd related problem, I am still running 8.04 because the 
proprietary ATI driver (no longer maintained) will only run on the old 
version of xorg and the open source driver doesn't have 3D support for 
Gem...


James

Quoth servando barreiro, on 22/09/10 12:06:


HI there..

I just want to "share" my experiences with Os´s..

I started in the nineties with a windows machine, I tried 95, 98, 
millenium, nt, xp
It hanged really frequently  (20 times in a day w cad software..) so I 
assumed that as a normal function state from the machine..


At some point I tried  beOS and I found it great but I couldn´t do 
anything w it..


years later, I discovered that computers with the fruit thing  and I 
was really amazed, not just because of the stabilty  (but still one or 
two hangs per day with os 9.2),  also because I could do audio in 
real-time with them..  (well, coming from that windows nightmare, even 
a gameboy was fascinating..)


Then I got one.. and until the day, I´ve been using all the Os´s and 
also tried almost all the hardware that was/is in the market.


My experience with linux (about 4 years ago, ethic/curiosity  ) 
started very slow, but definitely in an ascendent curve of 
satisfaction & admiration..


Nowadays to code and to travel, I use a small thinkpad with ubuntu 10 
and the experience is just fantastic..   It´s actually so good that 
I´m starting to hate all the mac shits..   Because when you know where 
linux cames from and who works on it,  you can understand that 
sometimes you have to put energy  on your side to look for a driver or 
whatever  (Not the case at all w ubu 10).


What I can´t understand  Is that this big companies (micr/appl)  
with hundred or "thousands" of good programmers working for them, are 
still doing crap...   (seems that they are focusing energies in making 
money & trying to protect his soft/hard  instead of making good code...)


yesterday I formatted my mac and I installed the last system (10.6 ).  
There´s a known bug on it  that not just doesn´t connect to internet, 
it also keeps sending packets to the router until the router stops 
working (???).


I had to reset the router from the linux and download one by one the 
system updates for the mac.  This bug is known since 10.6.0,  I 
already have the 10.6.4  and the bug it´s still not solved 
completely.,.. (???)


This just shows that It doesn´t matter how many hundreds of related 
posts you do in the official apple forums & related..  apple just 
don´t give a shit about the problems of the users  (specially if 
your hardware it´s not brand new...).


The ubuntu forums are far more clear and helpful than that,,

About windows, I will not complain anymore... (not neccesary),  but I 
still "understand" people that uses it, because there´s people that 
doesn´t care about computers (even when they are working w them..)


what I do, when I´m teaching a workshop Is to carry one or two usb 
sticks with a live distro (pure dyne / openartist ) and invite the 
people to try a "truly" operative system..


many of my friends, they have switched to Linux (at least partially..) 
and they are happy w it.. (that makes me happy too..).


If the trajectories of the operative systems evolutions  follow as 
they are already, It wouldn´t sound strange to me that in some years, 
the amount of linux users (pure or mixed) will increase massively.


To finish, I would just like to thank to all the linux developers / 
contributors  for his hard work to make this incredibly operative system.










___
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] compiling pd-extended on arch linux

2010-07-07 Thread James Dunn
I've now tried downloading and compiling Gem 0.92-3 separately to see if 
I can find out what's going on. Can anyone see if there's a problem with 
this configure stage? There is a section at the bottom that shows tiff 
and jpeg as well as some video codecs are not supported...


$ ./configure
checking for Base/configLinux.h.in... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether compiler accepts "-fPIC"... yes
building Gem with Controls-objects
building Gem with Geos-objects
building Gem with Manips-objects
building Gem with Nongeos-objects
building Gem with Particles-objects
building Gem with Pixes-objects
building Gem with openGL-objects
building Gem without Vertex-objects
checking for sin in -lm... yes
checking for main in -lz... yes
checking for dlopen in -ldl... yes
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for XF86VidModeGetAllModeLines in -lXxf86vm... yes
checking for main in -lXext... (cached) yes
checking for "OpenGL"-framework... no
checking for glInitNames in -lGL... yes
checking for gluLookAt in -lGLU... yes
checking for "AGL"-framework... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PKG_GLEW_CFLAGS...
checking for PKG_GLEW_LIBS...
checking for glew-config... no
checking for glewInit in -lGLEW... no
checking for main in -lstdc++... yes
checking for "Carbon"-framework... no
checking for "QuickTime"-framework... no
checking for PKG_IMAGEMAGICK___CFLAGS... -fopenmp 
-I/usr/include/ImageMagick

checking for PKG_IMAGEMAGICK___LIBS... -lMagick++ -lMagickCore
checking for PKG_GMERLIN_AVDEC_CFLAGS...
checking for PKG_GMERLIN_AVDEC_LIBS... -lgmerlin_avdec -lgavl
gmerlin was found...disabling other video-decoders by default
checking for PKG_LIBQUICKTIME_CFLAGS... -I/usr/include/lqt
checking for PKG_LIBQUICKTIME_LIBS... -lquicktime -lpthread -lm -lz -ldl
checking for PKG_LQT_CFLAGS...
checking for PKG_LQT_LIBS...
checking for lqt-config... yes
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 sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for PKG_LIBV4L1_CFLAGS... -I/usr/local/include
checking for PKG_LIBV4L1_LIBS... -lv4l1
checking for PKG_LIBV4L2_CFLAGS... -I/usr/local/include
checking for PKG_LIBV4L2_LIBS... -lv4l2
checking for PKG_IEEE1394_CFLAGS...
checking for PKG_IEEE1394_LIBS...
checking for ieee1394-config... no
checking for main in -ldv... yes
checking whether linker accepts "-lftgl_pic  "... no
checking for PKG_FTGL_CFLAGS... -I/usr/include/FTGL 
-I/usr/include/freetype2

checking for PKG_FTGL_LIBS... -lftgl
checking for PKG_ARTOOLKIT_CFLAGS...
checking for PKG_ARTOOLKIT_LIBS...
checking for artoolkit-config... no
checking for arInitCparam in -lAR... no
checking for pthread_create in -lpthread... yes
checking for X... libraries , headers
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... 

Re: [PD] compiling pd-extended on arch linux

2010-07-07 Thread James Dunn
 0
... couldn't create
 GEMglMatrixMode GL_MODELVIEW
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
 gemlist
... couldn't create
 gemlist
... couldn't create
 GEMglGetFloatv GL_STEREO
... couldn't create
 GEMglColorMask 1 1 1 1
... couldn't create
 GEMglFrustum -1 1 -1 1 1 20
... couldn't create
 GEMglMatrixMode GL_MODELVIEW
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
 GEMglFrustum -1 1 -1 1 1 20
... couldn't create
 GEMglMatrixMode GL_MODELVIEW
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
 GEMglMatrixMode GL_MODELVIEW
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
 GEMglMatrixMode GL_MODELVIEW
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
 GEMglColorMask 1 1 1 1
... couldn't create
 GEMglColorMask 1 1 1 1
... couldn't create
 GEMglClear
... couldn't create
 GEMglClear
... couldn't create
 GEMglClear
... couldn't create
 GEMglClear
... couldn't create
 GLdefine GL_COLOR_BUFFER_BIT
... couldn't create
 GLdefine GL_DEPTH_BUFFER_BIT
... couldn't create
 GLdefine GL_STENCIL_BUFFER_BIT
... couldn't create
 GLdefine GL_ACCUM_BUFFER_BIT
... couldn't create
 gemlist
... couldn't create
 gemlist
... couldn't create
 GEMglColorMask 1 1 1 1
... couldn't create
 GEMglFrustum -1 1 -1 1 1 20
... couldn't create
 GEMglMatrixMode GL_PROJECTION
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
 GEMglFrustum -1 1 -1 1 1 20
... couldn't create
 GEMglMatrixMode GL_PROJECTION
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
 GEMglMatrixMode GL_MODELVIEW
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
 GEMglMatrixMode GL_MODELVIEW
... couldn't create
 GEMglLoadIdentity
... couldn't create
 GEMgluLookAt 0 0 4 0 0 0 0 1 0
... couldn't create
 GEMglDrawBuffer GL_BACK_LEFT
... couldn't create
 GEMglClear
... couldn't create
 GLdefine GL_COLOR_BUFFER_BIT
... couldn't create
 GLdefine GL_DEPTH_BUFFER_BIT
... couldn't create
 GEMglMatrixMode GL_MODELVIEW
... couldn't create
 GEMglDrawBuffer GL_BACK_RIGHT
... couldn't create
 GEMglClear
... couldn't create
 GLdefine GL_COLOR_BUFFER_BIT
... couldn't create
 GLdefine GL_DEPTH_BUFFER_BIT
... couldn't create
 GEMglMatrixMode GL_MODELVIEW
... couldn't create
 GEMglClear
... couldn't create
 GLdefine GL_DEPTH_BUFFER_BIT
... couldn't create
 gemlist
... couldn't create
 gemlist
... couldn't create
 GEMglReportError
... couldn't create
 gemlist
... couldn't create

Quoth dmotd, on 07/07/10 14:13:

add it to videoV4L2.h in src/Pixes (or src/plugins/videoV4L2
for svn version). you should see a bunch of '# include'
starting around line 30.

James Dunn wrote:
   

Quoth dmotd, on 06/07/10 13:49:
 

Seems like I just had to install pkg-config. It now finds the
imagemagick library but fails with a new error:
videoV4L2.cpp:389:31: error: ‘fstat’ was not declared in this scope
videoV4L2.cpp:394:27: error: ‘S_ISCHR’ was not declared in this scope
   

Try adding this line near the top :

   #include
 

mathieu beat me to it.. you may also need:

   #include
   

Do I add these lines to the top of the makefile in
pd-extended/packages/linux_make?
 



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


Re: [PD] compiling pd-extended on arch linux

2010-07-07 Thread James Dunn

Quoth dmotd, on 06/07/10 13:49:

Seems like I just had to install pkg-config. It now finds the
imagemagick library but fails with a new error:
videoV4L2.cpp:389:31: error: ‘fstat’ was not declared in this scope
videoV4L2.cpp:394:27: error: ‘S_ISCHR’ was not declared in this scope
   

Try adding this line near the top :

   #include
 

mathieu beat me to it.. you may also need:

   #include
   


Do I add these lines to the top of the makefile in 
pd-extended/packages/linux_make?
I tried doing this and I still get the error. Also, why are these lines 
written with a # in front? I thought this was to comment the line out? I 
tried compiling with no #'s at the start of the lines and I get this error:


Makefile:6: : No such file or directory
Makefile:7: : No such file or directory
make: dpkg-architecture: Command not found
make: *** No rule to make target `'.  Stop.

and with the full path specified:

Makefile:6: : No such file or directory
Makefile:7: : No such file or directory
make: dpkg-architecture: Command not found
make: *** No rule to make target `'.  Stop.

the files are definitely installed as locate stat.h shows:

/usr/include/ustat.h
/usr/include/asm/stat.h
/usr/include/asm-generic/stat.h
/usr/include/bits/stat.h
/usr/include/bits/ustat.h
/usr/include/linux/stat.h
/usr/include/rpcsvc/rstat.h
/usr/include/sys/stat.h
/usr/include/sys/ustat.h
/usr/include/tirpc/rpc/clnt_stat.h
/usr/share/man/man0/stat.h.0p.gz
/usr/share/man/man0/sys_stat.h.0p.gz

Thanks for the help so far!

James


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


Re: [PD] compiling pd-extended on arch linux

2010-07-05 Thread James Dunn

Hi dmotd,

thanks for the link. I tried the PKGBUILD and it fails at exactly the 
same point. I already have imagemagick installed and Magickk++.h is in 
/usr/include/ImageMagick


If i change Gem/src/Base/GemPixImageLoad.cpp line 64 from:

# include 

to:

# include 

it gets past the original error, but fails with the following error:

In file included from GemPixImageLoad.cpp:64:0:
/usr/include/ImageMagick/Magick++.h:9:30: fatal error: 
Magick++/Include.h: No such file or directory

compilation terminated.

So now it can't find Include.h, but Include.h is definitely located 
here: /usr/include/ImageMagick/Magick++/Include.h


Must be something to do with paths right? How to I solve this?

James


Quoth dmotd, on 05/07/10 14:30:

hi james,

there's a PKGBUILD already available on AUR..
http://aur.archlinux.org/packages.php?ID=22509

tested very recently..

btw, you are missing imagemagick
'pacman -S imagemagick' should do the trick.

dmotd

James Dunn wrote:
   

Hi list,

I am trying to compile pd-extended on arch linux according to the instructions
here: http://puredata.info/docs/developer/GettingPdSource
I checked out svn and follwed the instructions here: http://puredata.info/docs/
developer/BuildingPdExtended

make install fails with:

GemPixImageLoad.cpp:64:23: fatal error: Magick++.h: No such file or directory
compilation terminated

I have ImageMagick installed and Magick++.h is in /usr/include/ImageMagick/ as
well as /usr/local/include/ImageMagick
Do I have to modify my path or something?

thanks

James
 
   

___
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] compiling pd-extended on arch linux

2010-07-05 Thread James Dunn

Hi list,

I am trying to compile pd-extended on arch linux according to the 
instructions here: http://puredata.info/docs/developer/GettingPdSource
I checked out svn and follwed the instructions here: 
http://puredata.info/docs/developer/BuildingPdExtended


make install fails with:

GemPixImageLoad.cpp:64:23: fatal error: Magick++.h: No such file or 
directory

compilation terminated

I have ImageMagick installed and Magick++.h is in 
/usr/include/ImageMagick/ as well as /usr/local/include/ImageMagick

Do I have to modify my path or something?

thanks

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


Re: [PD] Synaptics touchpad input not working

2010-06-20 Thread James Dunn
The problems I now have are that my version of xinput is 1.3.0 (Ubuntu 
Hardy) and I don't have the --set-prop option. Since the GrabEventDevice 
option in xorg.conf messes up my xserver, I tried removing the synaptics 
driver completely and I can now get the data in via [hid] and 
[linuxevent]. The problem is that I no longer have two-fingered 
scrolling and can't disable the touchpad tap without a driver. I tried 
to install the Alps driver but had an error as reported here:


http://ubuntuforums.org/showthread.php?t=1277553#3

any help appreciated

James

Quoth Pedro Lopes, on 20/06/10 11:08:
Yep, it does. When you posted the second reply mentioning xinput I did 
xinput --help and there it was "the --list command".


Thanks for the help,
Pedro

On Sun, Jun 20, 2010 at 6:22 AM, dmotd <mailto:inaudi...@simplesuperlativ.es>> wrote:


'xinput --list' provides a list of all
supported devices.

Pedro Lopes wrote:
> I've never used hid or linuxmouse. And when I saw your message I
gave it a try
> (since I'm also running Ubuntu and have a synaptics touchpad).
>
> I'd like to help but here it seems to be even a bigger mess...
it crashes when
> accessing the mouse evice with hid. (probably because of the
user space issue
> that dmotd mentioned).
>
> How did you get that device list? Is it a print from hid? (the
only things I
> remember is lspci and lsusb)
>
> Best regards to everyone, and big up to Hans-Christoph Steiner
for hid and
> linuxmouse,
> Pedro
>
>
>
> On Sat, Jun 19, 2010 at 4:48 PM, dmotd
mailto:inaudi...@simplesuperlativ.es>> wrote:
>
> also another tip, its possible to configure a
> device dynamically with 'xinput', you can
> toggle off with:
>  xinput --set-prop "name of device" "Device Enabled" 0
> i use this with my wacom tablet to go between
> xorg device and HID, a full set of properties
> can be found with:
>  xinput --list-props "name of device"
> i hope this is of help.
>
> James Dunn wrote:
> > I've tried using [hid] and [linuxmouse] and both objects can
open the
> device
> > but no data is output from either object. [MouseState] and
[cursor] both
> work
> > but I was hoping to get relative values. Is this a driver
issue? I'm
> using
> > Ubuntu 8.04 and Pd version 0.42.5-extended-rc3. Here's the console
> output:
> >
> > [hid] 0.7, written by Hans-Christoph Steiner mailto:h...@eds.org>>
> > compiled on Jun 13 2010 at 11:45:43
> >
> > Device 0: 'Macintosh mouse button emulation' on
'/dev/input/event0'
> > Device 1: 'AT Translated Set 2 keyboard' on '/dev/input/event1'
> > Device 2: 'PC Speaker' on '/dev/input/event2'
> > Device 3: 'Power Button (FF)' on '/dev/input/event3'
> > Device 4: 'Sleep Button (CM)' on '/dev/input/event4'
> > Device 5: 'Lid Switch' on '/dev/input/event5'
> > Device 6: 'SynPS/2 Synaptics TouchPad' on '/dev/input/event6'
> > Device 7: 'Video Bus' on '/dev/input/event7'
> > Device 8: 'PS/2 Generic Mouse' on '/dev/input/event8'
> >
> >
> > Supported events:
> >
> > Detected:
> > [hid] opened device 6 (/dev/input/event6): SynPS/2 Synaptics
TouchPad
> > print: open 1
> > print: device 6
> >
> >
> > Also my xorg.conf has this info:
> >
> > Section "InputDevice"
> > Identifier  "Synaptics Touchpad"
> > Driver  "synaptics"
> > Option"SendCoreEvents" "true"
> > Option"Device" "/dev/psaux"
> > Option"Protocol" "auto-dev"
> > Option"HorizEdgeScroll" "FALSE"
> > Option"VertEdgeScroll" "FALSE"
> > Option"SHMconfig" "on"
> > Option"VertTwoFingerScroll" "TRUE"
> > Option"HorizTwoFingerScroll" "TRUE"
> > EndSection
> >
> >
> > Any ideas?
> >
> > thanks,
> >
> > James



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


Re: [PD] Synaptics touchpad input not working

2010-06-19 Thread James Dunn

Hi dmotd,

that's perfect! thanks a lot

James

Quoth dmotd, on 19/06/10 16:02:

hi james,

the synaptics driver generally steals the focus of the device
so that userspace programs can't directly access it, see if
the Xorg option 'Option "GrabEventDevice" "false"' helps,
see 'man synaptics' for more info.

cheers,
dmotd

James Dunn wrote:
   

I've tried using [hid] and [linuxmouse] and both objects can open the device
but no data is output from either object. [MouseState] and [cursor] both work
but I was hoping to get relative values. Is this a driver issue? I'm using
Ubuntu 8.04 and Pd version 0.42.5-extended-rc3. Here's the console output:

[hid] 0.7, written by Hans-Christoph Steiner
 compiled on Jun 13 2010 at 11:45:43

Device 0: 'Macintosh mouse button emulation' on '/dev/input/event0'
Device 1: 'AT Translated Set 2 keyboard' on '/dev/input/event1'
Device 2: 'PC Speaker' on '/dev/input/event2'
Device 3: 'Power Button (FF)' on '/dev/input/event3'
Device 4: 'Sleep Button (CM)' on '/dev/input/event4'
Device 5: 'Lid Switch' on '/dev/input/event5'
Device 6: 'SynPS/2 Synaptics TouchPad' on '/dev/input/event6'
Device 7: 'Video Bus' on '/dev/input/event7'
Device 8: 'PS/2 Generic Mouse' on '/dev/input/event8'


Supported events:

Detected:
[hid] opened device 6 (/dev/input/event6): SynPS/2 Synaptics TouchPad
print: open 1
print: device 6


Also my xorg.conf has this info:

Section "InputDevice"
 Identifier  "Synaptics Touchpad"
 Driver  "synaptics"
 Option"SendCoreEvents" "true"
 Option"Device" "/dev/psaux"
 Option"Protocol" "auto-dev"
 Option"HorizEdgeScroll" "FALSE"
 Option"VertEdgeScroll" "FALSE"
 Option"SHMconfig" "on"
 Option"VertTwoFingerScroll" "TRUE"
 Option"HorizTwoFingerScroll" "TRUE"
EndSection


Any ideas?

thanks,

James
 
   

___
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] Synaptics touchpad input not working

2010-06-19 Thread James Dunn
I've tried using [hid] and [linuxmouse] and both objects can open the 
device but no data is output from either object. [MouseState] and 
[cursor] both work but I was hoping to get relative values. Is this a 
driver issue? I'm using Ubuntu 8.04 and Pd version 0.42.5-extended-rc3. 
Here's the console output:


[hid] 0.7, written by Hans-Christoph Steiner 
compiled on Jun 13 2010 at 11:45:43

Device 0: 'Macintosh mouse button emulation' on '/dev/input/event0'
Device 1: 'AT Translated Set 2 keyboard' on '/dev/input/event1'
Device 2: 'PC Speaker' on '/dev/input/event2'
Device 3: 'Power Button (FF)' on '/dev/input/event3'
Device 4: 'Sleep Button (CM)' on '/dev/input/event4'
Device 5: 'Lid Switch' on '/dev/input/event5'
Device 6: 'SynPS/2 Synaptics TouchPad' on '/dev/input/event6'
Device 7: 'Video Bus' on '/dev/input/event7'
Device 8: 'PS/2 Generic Mouse' on '/dev/input/event8'


Supported events:

Detected:
[hid] opened device 6 (/dev/input/event6): SynPS/2 Synaptics TouchPad
print: open 1
print: device 6


Also my xorg.conf has this info:

Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver  "synaptics"
Option"SendCoreEvents" "true"
Option"Device" "/dev/psaux"
Option"Protocol" "auto-dev"
Option"HorizEdgeScroll" "FALSE"
Option"VertEdgeScroll" "FALSE"
Option"SHMconfig" "on"
Option"VertTwoFingerScroll" "TRUE"
Option"HorizTwoFingerScroll" "TRUE"
EndSection


Any ideas?

thanks,

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


Re: [PD] HID double event bug

2010-06-15 Thread James Dunn
fromJames Dunn toAndrew Faraday 
date15 June 2010 13:52subjectRe: [PD] HID double event bugmailed-by
googlemail.com
hide details 13:52 (3 minutes ago)
Thanks for the reply. This isn't switch contact bounce as every key
consistently generates two events for each key pressed down and for each key
released. There are certainly ways around it in a patch but I was wondering
if this was a bug that could be fixed?

James

On 15 June 2010 12:48, Andrew Faraday  wrote:

>  I understand it's called a debounce. Not sure precisely what's going on.
> But if you want to make sure only one gets through I always use a [sel 1] or
> [sel 0]. or of course [sel 0 1] followed by [del 10] which only accepts
> bangs, and delays the output by 10 milliseconds, which you won't notice. But
> when it recieves a bang before the previous one has outputted it restarts
> the sequence, result, only one message on each key on or key off.
>
> Hope this helps.
>
> --
> Date: Tue, 15 Jun 2010 12:16:42 +0100
> From: ja...@4thharmonic.com
> To: pd-list@iem.at
> Subject: [PD] HID double event bug
>
>
> I filed a bug report some time ago here:
> https://sourceforge.net/tracker/?func=detail&aid=3002665&group_id=55736&atid=478070
> Just tested this with Pd version 0.42.5-extended-rc2 on Ubuntu 10.04 and
> it's the same. Basically I get two events for each key press like this:
>
> [hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard
> print: key key_space 1
> print: key key_space 1
> print: key key_space 0
> print: key key_space 0
>
> Thought I'd mention here too as surely this is a bug? Not a major problem,
> but it means I always need an [alternate] object or similar. This then
> became a problem when working on a patch for two note chords when the key
> commands do not always arrive in the same order and some notes would stay
> on.
>
> James
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] HID double event bug

2010-06-15 Thread James Dunn
I filed a bug report some time ago here: 
https://sourceforge.net/tracker/?func=detail&aid=3002665&group_id=55736&atid=478070
Just tested this with Pd version 0.42.5-extended-rc2 on Ubuntu 10.04 and 
it's the same. Basically I get two events for each key press like this:


[hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard
print: key key_space 1
print: key key_space 1
print: key key_space 0
print: key key_space 0

Thought I'd mention here too as surely this is a bug? Not a major 
problem, but it means I always need an [alternate] object or similar. 
This then became a problem when working on a patch for two note chords 
when the key commands do not always arrive in the same order and some 
notes would stay on.


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


Re: [PD] problems with an "outburst" recorder

2010-06-10 Thread James Dunn

Quoth O., on 10/06/10 16:13:

The three problems Im having at the moment are:
1) I had "del" or "delay" working for awhile, but then it mysteriously 
stopped working. even when i delete it and repatch it. if you click 
"resets counter" there's a bang both before and after the "del 5000" 
on the lower right. i have no idea why or how to fix it.
2) I'm having a hard time figuring out how to keep the file recording 
when the threshold is broken during duration x. The problem is that 
the way I have it set up, is that if the threshold is broken again, it 
will initialize a new file to be written, which I can't figure out how 
to bypass. Perhaps "load banging" an open message for the initial file 
to be written, and then the subsequent ones can be initialized after 
the previous has finished writing? However I think it would be better is:
3) So far I've only devised a very wonky way of recording the next 
file. If you click on "pd recordingsel" in the upper left, you can see 
how I've set it up with switches and a limited amount of files ready 
to be made. I know there must be a better way to do this, so that it 
will just continuously record new files with virtually no limit.


Thanks for helping a newbie!

Olivia
   


Try this patch. There's also a threshold object which might be useful 
for you. (smlib)


James


oo sleep recorder 3.pd
Description: application/puredata
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd-extended 0.42.5 release candidate 1 released!

2010-06-07 Thread James Dunn
Patch window background was grey for me with pd-gui-rewrite on my ubuntu 
hardy laptop (Ubuntu Studio not installed). I can't test the latest 
0.42.5 as the laptop has since died but previous versions were ok.


James

Quoth Hans-Christoph Steiner, on 06/06/10 22:46:


Strange, not for me.  I tested on:

Ubuntu Karmic 9.10/Netbook
Ubuntu Karmic

Perhaps its part of the Ubuntu Studio theme?

.hc

On Jun 4, 2010, at 6:00 PM, tim vets wrote:

the patcher background is grey (same color as the menu's, 
ubuntu-studio hardy)

is that intentional ?
gr,
Tim

2010/6/4 Hans-Christoph Steiner mailto:h...@at.or.at>>


Ok, its finally time to start the release process of Pd-extended
0.42.5 with the release of 0.42.5-rc1, available now!  There are
of course many bug fixes and additions, here are some highlights:

 * fixing Graph-On-Parent GUI bugs
 * complete 64-bit support for GNU/Linux
 * full support for Mac OS X 10.6 Snow Leopard (32-bit)
 * a brand new Help Browser that shows all installed libraries

For more details, check the notes on the release wiki page:
http://puredata.info/dev/NextRelease


Downloading
---

You can download builds for Debian, Mac OS X, Ubuntu, and Windows:
http://at.or.at/hans/pd/installers.html

You can get the source and build it yourself here:
http://puredata.info/docs/developer/GettingPdSource


BUGS


Test away and file bugs in the bug tracker! Also check the bug
tracker before reporting bugs, and if you find an existing bug
report on the same issue, please add your information there:

http://puredata.info/dev/bugtracker

___
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


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







You can't steal a gift. Bird gave the world his music, and if you can 
hear it, you can have it. - Dizzy Gillespie





___
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 Realtime setup

2010-05-07 Thread James Dunn

See the instructions I wrote here on pdpedia:

http://wiki.puredata.info/en/hid

Works for me on Ubuntu Hardy 8.04 and Lucid 10.04. I think "sudo chmod 
-R 777 /dev/input/" will be reset after reboot / logout.


James

Quoth Pierre Massat, on 07/05/10 10:24:
Does this work on recent distributions? I've tried different things 
involving /dev/input/, to no avail in Fedora 12. It did work in Ubuntu 
Studio 9.04.


Pierre

2010/5/7 Olivier Baudu >


To use [joystick ] which uses [hid ] without having to run Pd as
root I make a "sudo chmod -R 777 /dev/input/" after pluging the
devices...

I'm not sure to answer the question but maybe it'll help someone
else... :-)

01ivier


2010/5/7 Pierre Massat mailto:pimas...@gmail.com>>

Does anybody know how to have access to HIDs in Pd without
having to run as root? I've read that this was considered a
security breach and that newer versions of Ubuntu, Fedora,
etc. had this "fixed".
Anyway, that's nice to have this howto on the wiki. You don't
seem to have mentioned the rt-kernel anywhere, though. That'd
be nice to have another paragraph about it, as i think one
doesn't get the same performances with realtime permissions in
a rt vs. non-rt kernel.

Pierre

2010/5/7 Dan Wilcox mailto:danomat...@gmail.com>>

Howdy,

I added a howto page on the wiki adding realtime
permissions for Ubuntu:

http://puredata.info/docs/tutorials/HowToRunPDWithRealtimePriorityInUbuntu

Please check it for me and make any changes.


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




___
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] change object for symbols?

2010-04-26 Thread James Dunn
thanks, that's a good one to know too!

On 26 April 2010 15:32, tim vets  wrote:
>
> [nchange s]
> gr,
> Tim
>
> 2010/4/26 James Dunn 
>>
>> Hi list,
>>
>> is there something like a change object for symbols?
>>
>> thanks
>>
>> James
>>
>> ___
>> 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] change object for symbols?

2010-04-26 Thread James Dunn

Right after I sent that I found this is in the archives:

http://www.mail-archive.com/pd-list@iem.at/msg24678.html

Quoth James Dunn, on 26/04/10 15:16:

Hi list,

is there something like a change object for symbols?

thanks

James


___
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 object for symbols?

2010-04-26 Thread James Dunn

Hi list,

is there something like a change object for symbols?

thanks

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


Re: [PD] Using Pd to play drums in a band

2010-03-14 Thread James Dunn

Quoth Carlo Trimarchi, on 14/03/10 11:30:

I was thinking if is there a way to make a patch
retrieve the bpm dinamically. For example, when a song starts, I can
tap my fingers on a key and from that it can retrieve the bpm that I
can use in the rest of the song. Can you suggest me a way to do this?

   


Not sure if this is the best way but it might help you. It uses [demux] 
from the zexy library. Hit the spacebar to tap out a tempo.


James


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


Re: [PD] Window focus in gem

2010-02-19 Thread James Dunn

Quoth Hans-Christoph Steiner, on 19/02/10 17:20:
[hid] just outputs the events it gets from /dev/input/event* unless 
you've discovered some obscure bug. What are the full events that you 
are getting in duplicate? (i.e. key key_a 1)




This is the console output of a very basic patch with [hid/keyboard] 
connected directly to [print] and the output generated is from pressing 
the spacebar once:


[hid] 0.7, written by Hans-Christoph Steiner 
compiled on Jan 26 2010 at 13:18:38
[hid] opened device 1 (/dev/input/event1): AT Translated Set 2 keyboard
print: key_space 1
print: key_space 1
print: key_space 0
print: key_space 0

Since you've got [hid] running on GNU/Linux, perhaps you could quickly 
outline the steps you needed to take to get it working on pdpedia. A 
lot of people have had trouble getting it going on recent GNU/Linux 
distros:

http://wiki.puredata.info/en/hid
For editing, the name is 'pdpedia' the password is 'puredata'

.hc


Sure, i'll take a look at that now.

thanks
James

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


Re: [PD] Window focus in gem

2010-02-19 Thread James Dunn

Quoth Justin Glenn Smith, on 18/02/10 19:53:

Hmm, I think [linuxevent] might be the way to go. There's a post from
Hans in the archives that suggests adding the user to the input group to
open the keyboard, but I think the group is root? So is this really the
best way to input my keyboard as an ordinary user in pd? I'd rather not
have my everday user account with root priveleges.

 

The point of a group is not giving out root privileges. Adding a user to the 
input group gives access to input devices, just like adding to the audio group 
gives access to audio devices. The file to edit for this is /etc/group
   


Thanks for the tip. I worked this out in the end, despite temporarily 
disabling root priveliges on all accounts!
So now I'm using [hid], which is great! But it's outputting double 
triggers for each key press - is this normal? I've attached a patch to 
illustrate the problem and how I have worked around it for now, but 
would be interested to hear other options or alternatives.


thanks

James


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


Re: [PD] Window focus in gem

2010-02-18 Thread James Dunn

Quoth John Harrison, on 18/02/10 15:24:
Since you are on Linux one kludge might be to use devilspie 
<http://burtonini.com/blog/computers/devilspie>to force focus to a 
particular window?


On Thu, Feb 18, 2010 at 9:19 AM, James Dunn <mailto:ja...@4thharmonic.com>> wrote:


Hi list,

I have a patch where I'm running the audio in one instance of pd
and gem in another with -noaudio.
I have the audio pd patch sending the output of [keyname] to gem
pd via [netsend], but after starting the patch in fullscreen the
audio pd patch loses the window focus. It works to begin with for
a few keystrokes, then I can no longer control the audio. I have a
[gemkeyname] object in the gem patch which then takes over
(presumably triggered by the gem activity that was controlled from
the audio pd patch), but I lose the audio pd control.
I tried adding another netsend (on a different port) back to the
audio pd, but then I get some double triggers!

So, what is the best way to maintain focus on one particular
window? It would be fine if the gem window has focus all the time,
or the audio pd window but I haven't worked out how and why it
changes. I'm using Ubuntu Hardy and pd-extended-0.42.5.

thanks

James



Hmm, I think [linuxevent] might be the way to go. There's a post from 
Hans in the archives that suggests adding the user to the input group to 
open the keyboard, but I think the group is root? So is this really the 
best way to input my keyboard as an ordinary user in pd? I'd rather not 
have my everday user account with root priveleges.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Window focus in gem

2010-02-18 Thread James Dunn

Hi list,

I have a patch where I'm running the audio in one instance of pd and gem 
in another with -noaudio.
I have the audio pd patch sending the output of [keyname] to gem pd via 
[netsend], but after starting the patch in fullscreen the audio pd patch 
loses the window focus. It works to begin with for a few keystrokes, 
then I can no longer control the audio. I have a [gemkeyname] object in 
the gem patch which then takes over (presumably triggered by the gem 
activity that was controlled from the audio pd patch), but I lose the 
audio pd control.
I tried adding another netsend (on a different port) back to the audio 
pd, but then I get some double triggers!


So, what is the best way to maintain focus on one particular window? It 
would be fine if the gem window has focus all the time, or the audio pd 
window but I haven't worked out how and why it changes. I'm using Ubuntu 
Hardy and pd-extended-0.42.5.


thanks

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


Re: [PD] Netsend and netreceive problems

2010-02-15 Thread James Dunn
Yes those websites always list the public/external IP address for your
WAN. You need the LAN IP address which you can get by right-clicking
your internet connection icon in the panel or typing ifconfig in a
terminal. It should be something like 192.168.0.X or 10.0.0.X.

On 15 February 2010 12:02, Andrew Faraday  wrote:
> For now I'm trying to test the concept by connecting one machine to another
> and see if I can get a message through, although, come to think of it. That
> website might be throwing up the IP of the router/network. How can I find
> the local IP?
>
>
>
>> Date: Mon, 15 Feb 2010 11:54:29 +
>> Subject: Re: [PD] Netsend and netreceive problems
>> From: ja...@4thharmonic.com
>> To: jbtur...@hotmail.com
>> CC: pd-list@iem.at
>>
>> On 15 February 2010 11:12, Andrew Faraday  wrote:
>> > Hey all
>> > I'm trying to get [netsend] and [netreceive] to work on a small group of
>> > computers on Ubuntu 10.04. They are not otherwise networked (IE, they're
>> > not
>> > used for file transfer or internal messaging) although they are all
>> > connected to one router via a switch. So I think netsends should work.
>> > However, after attempting to connect the netsend object to an IP address
>> > (found on the other machine via www.whatsmyip.com, could this be the
>> > same
>> > IP?) PD crashes. I've no idea why, no error messages I can see before
>> > crashing. Help would be appreciated.
>> > Thanks
>> > Andrew
>>
>> So are you trying to send one netsend to multiple netreceives? For
>> computers on the LAN, i just use the local ip address - usually
>> something like 192.168.0.x or 10.0.0.x
>> Perhaps you could have multiple netsend's for the number of computers
>> that need to receive the data?
>> I've not used netsend with an internet ip address, but you might want
>> to look at port forwarding
>
> 
> Not got a Hotmail account? Sign-up now - Free

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


Re: [PD] Netsend and netreceive problems

2010-02-15 Thread James Dunn
On 15 February 2010 11:12, Andrew Faraday  wrote:
> Hey all
> I'm trying to get [netsend] and [netreceive] to work on a small group of
> computers on Ubuntu 10.04. They are not otherwise networked (IE, they're not
> used for file transfer or internal messaging) although they are all
> connected to one router via a switch. So I think netsends should work.
> However, after attempting to connect the netsend object to an IP address
> (found on the other machine via www.whatsmyip.com, could this be the same
> IP?) PD crashes. I've no idea why, no error messages I can see before
> crashing. Help would be appreciated.
> Thanks
> Andrew

So are you trying to send one netsend to multiple netreceives? For
computers on the LAN, i just use the local ip address - usually
something like 192.168.0.x or 10.0.0.x
Perhaps you could have multiple netsend's for the number of computers
that need to receive the data?
I've not used netsend with an internet ip address, but you might want
to look at port forwarding

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


Re: [PD] vsnapshot~ help patch?

2010-02-09 Thread James Dunn

Quoth Hans-Christoph Steiner, on 09/02/10 17:05:


On Feb 9, 2010, at 11:30 AM, Frank Barknecht wrote:


Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:


All this talk about vsnapshot~ makes me want to take a look. Anyone
have a help patch for it?


It's the same as snapshot~, but acts sample-accurate with clock-delayed
messages. Similar to vline~ vs. line~.



I figured something like that, so I made a quick version. An improved 
version would be even better, feel free to commit directly:


http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/doc/pddp/vsnapshot~-help.pd?view=log 



.hc



I get an error when I click [set 5(

error: vsnapshot~: no method for 'set

I'm using pd-extended 42.5 on ubuntu karmic.

James


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


Re: [PD] Small bug with comment

2010-02-09 Thread James Dunn
It's the latest version of pd (still in development) which includes a 
rewrite of the GUI (graphical user interface) and can be downloaded from 
here:


http://pure-data.svn.sourceforge.net/viewvc/pure-data/branches/pd-gui-rewrite/0.43/

James

Quoth Pierre Massat, on 09/02/10 07:59:

Sorry, what is Pd-gui-rewrite/0.43??

2010/2/9 Hans-Christoph Steiner mailto:h...@at.or.at>>


Does this still happen with Pd-gui-rewrite/0.43?

.hc

On Feb 5, 2010, at 1:46 PM, cyrille henry wrote:

thats because it is compiled with TCL 8.5 and not 8.4
c


Pierre Massat a écrit :

hi,
I believe i ve found a (quite unsignificant) bug related
to the comment object. I m using the latest Pd-extended on
laptop with a french keyboard layout, and with the latest
Fedora as OS. Whenever i type "é" in a comment, the line
which contains this letter just disappears. This is no big
deal for most users. But this letter is used fairly often
(to say the least) in French.
Just thought I should report this.
Pierre


___
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










"It is convenient to imagine a power beyond us because that means
we don't have to examine our own lives.", from "The Idols of
Environmentalism", by Curtis White







___
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] routing pix_multiimage images to different geos

2010-01-29 Thread James Dunn
On 29 January 2010 00:53, Claude Heiland-Allen
 wrote:
> James Dunn wrote:
>>
>> Hi all,
>>
>> I have 12 images that I am trying to scroll sequentially up the screen and
>> have tried using multiple gemheads (quite slow, even when turning them on
>> and off as they enter/leave the screen) and also tried using 2 rectangles
>> which follow each other (i.e. when the first one is off the top of the
>> screen, it is sent back to below the screen to follow the second one and
>> re-enters the screen with the next image loaded).
>> I've looked at pix_multiimage and it seems this would be a good option to
>> use as all the images are loaded into ram so this should speed things up
>> (the images are quite large - 1200 x 848). So my question is, is it possible
>> to send the output of pix_multiimage to different geos? Can I send image 1
>> of pix_multiimage to rectangle 1 and image 2 of pix_multiimage to rectangle
>> 2 at the same time? Or would I need to use 2 pix_multiimages? (Which kind of
>> defeats the point)
>>
>> Or is there a better way of doing this?
>
> I'd personally try something horribly inefficient but easier for me to
> understand like this, until GPU memory is filled or CPU->GPU memory
> bandwidth runs out, at which point I'd use the minimum number of rectangles
> that fill the screen and draw only those images:
>
> [gemhead]
>  |
> [t a b]/[0(
>  |       :
> [repeat 12]       << from zexy, or use [gemlist] and [until]
>  |       :
> [t a b]/[f]X[+1]
>  |       :\
> [pix_multiimage]
>  |       :
>  |      [pd index to coordinates etc]
>  |       |
> [translate]
>  |
> [rectangle]
>
>
> Claude
> --
> http://claudiusmaximus.goto10.org
>

I'm not sure I quite understand what you have drawn here...? The use
of repeat will make the counter count up to 12 in each frame from the
gemhead right? So sending this to pix_multiimage will step through all
the images every frame, which is not what I want. I need at least two
rectangles, one with image0 textured on it, the other textured with
image1 (directly below image0). When image0 has scrolled off the top
of the screen, the rectangle should immediately return to the bottom
edge of the screen ready to re-enter with image2 loaded from
pix_multiimage.. hope this makes some sense. I had a thought of making
two pix_multiimages - one with the odd-numbered images loaded and one
with even-numbered images - so I'm going to try this first.
thanks

James

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


[PD] routing pix_multiimage images to different geos

2010-01-28 Thread James Dunn

Hi all,

I have 12 images that I am trying to scroll sequentially up the screen 
and have tried using multiple gemheads (quite slow, even when turning 
them on and off as they enter/leave the screen) and also tried using 2 
rectangles which follow each other (i.e. when the first one is off the 
top of the screen, it is sent back to below the screen to follow the 
second one and re-enters the screen with the next image loaded).
I've looked at pix_multiimage and it seems this would be a good option 
to use as all the images are loaded into ram so this should speed things 
up (the images are quite large - 1200 x 848). So my question is, is it 
possible to send the output of pix_multiimage to different geos? Can I 
send image 1 of pix_multiimage to rectangle 1 and image 2 of 
pix_multiimage to rectangle 2 at the same time? Or would I need to use 2 
pix_multiimages? (Which kind of defeats the point)


Or is there a better way of doing this?

thanks

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


Re: [PD] Latest gem troubles - pix_multiimage and pix_imageInPlace crashing

2010-01-27 Thread James Dunn

Quoth IOhannes m zmoelnig, on 27/01/10 09:11:

hmm.
1st, you obviously had imagemagick installed, because the backtrace
showed that Magick::Image::read() threw an exception which was not
caught by Gem.
now Gem tries it's best to do catch the exception (and normally it does).

this reminds me of an old (though hopefully fixed) issue with ati
drivers (i think) linking to their own libstdc++ which kind of confused
the throw/catch mechanism and led to all kind of weird errors.

which version of Gem are you using? (sorry to repeat myself if you
already answered it)


mfgasdr
IOhannes
  


I was using one of the latest build's of pd-extended and have now 
updated it to 0-42.5-extended-20100126 which has Gem 0.92.2. I also 
tried Pd-0.41.4-extended-ubuntu-hardy-i386.deb from puredata.info but 
the problem was the same in all these versions. When I looked closer at 
the backtrace I assumed that maybe I had some library missing so I 
installed imagemagick via synaptic - although perhaps it just upgraded 
the version, or as you say forced the the ati-driver to use libstdc++. 
However, this seems to have fixed things, and I can now load images in 
pix_multiimage and pix_imageInPlace.


thanks

james

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


Re: [PD] Latest gem troubles - pix_multiimage and pix_imageInPlace crashing

2010-01-26 Thread James Dunn
ah, it seems I didn't have imagemagick installed! Weird that it just
crashed though - a console message could be useful.

2010/1/26 James Dunn :
> After getting text3d working, I've now run into some problems with
> pix_multiimage and pix_imageInplace causing pd to crash. This happens in my
> patch, but also if I open doc/5.reference/Gem/pix_imageInPlace-help.pd or
> pix_multiimage and click the open/preload message. Running pd from a
> terminal I get:
>
> tk scaling is 1.237138508371385
>  : Avifile RELEASE-0.7.47-080115-14:47-4.2.3
>  : Available CPU flags: fpu vme de pse tsc msr mce cx8 sep mtrr pge
> mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up bts est tm2
>  : 1600.00 MHz Intel(R) Pentium(R) M processor 1600MHz detected
> socket receive error: Connection reset by peer (104)
> Segmentation fault
>
> running from gdb I get:
>
> plattfor...@plattformer-laptop:~$ gdb --args /usr/bin/pd -lib ./Gem
> GNU gdb 6.8-debian
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...
> (gdb)
> (gdb) run
> Starting program: /usr/bin/pd -lib ./Gem
> [Thread debugging using libthread_db enabled]
> tk scaling is 1.237138508371385
> [New Thread 0xb7cd16b0 (LWP 12358)]
>  : Avifile RELEASE-0.7.47-080115-14:47-4.2.3
>  : Available CPU flags: fpu vme de pse tsc msr mce cx8 sep mtrr pge
> mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up bts est tm2
>  : 1200.00 MHz Intel(R) Pentium(R) M processor 1600MHz detected
> [New Thread 0xb6660b90 (LWP 12364)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb7cd16b0 (LWP 12358)]
> 0xb76f9e26 in __cxa_allocate_exception () from /usr/lib/libstdc++.so.6
> (gdb) Terminated
> bt
> #0  0xb76f9e26 in __cxa_allocate_exception () from /usr/lib/libstdc++.so.6
> #1  0xb73b3399 in Magick::throwException () from /usr/lib/libMagick++.so.10
> #2  0xb73bdbd7 in Magick::Image::read () from /usr/lib/libMagick++.so.10
> #3  0xb7adb260 in magickImage2mem () from /usr/lib/pd/extra/Gem/Gem.pd_linux
> #4  0xb7adb5fa in image2mem () from /usr/lib/pd/extra/Gem/Gem.pd_linux
> #5  0xb7baa1c1 in pix_multiimage::openMess ()
>    from /usr/lib/pd/extra/Gem/Gem.pd_linux
> #6  0xb7ba9c29 in pix_multiimage::openMessCallback ()
>    from /usr/lib/pd/extra/Gem/Gem.pd_linux
> #7  0x080b2b7b in pd_typedmess (x=0x8527fd0, s=0x8522c00, argc=2,
>     argv=0xbfd05bf8) at m_class.c:794
> #8  0x080b4f29 in outlet_anything (x=0x85280f8, s=0x8522c00, argc=2,
>     argv=0xbfd05bf8) at m_obj.c:442
> #9  0x080b278d in pd_typedmess (x=0x85280e4, s=0x8522c00, argc=2,
>     argv=0xbfd05bf8) at m_class.c:813
> #10 0x080b7542 in binbuf_eval (x=0x8527fc0, target=0x85280e4, argc=1,
>     argv=0xbfd05c54) at m_binbuf.c:726
> #11 0x08077a59 in message_float (x=0x85280c8, f=0) at g_text.c:354
> #12 0x08077a7f in message_click (x=0x85280c8, xpos=146, ypos=143, shift=0,
>     ctrl=0, alt=0) at g_text.c:436
> #13 0x08077bb3 in text_click (z=0x85280c8, glist=0x85279b8, xpix=146,
>     ypix=143, shift=0, alt=0, dbl=0, doit=1) at g_text.c:1126
> #14 0x08099117 in canvas_doclick (x=0x85279b8, xpos=146, ypos=143, which=1,
> ---Type  to continue, or q  to quit---
> #15 0x080998c7 in canvas_mousedown (x=0x85279b8, xpos=146, ypos=143,
> which=1,
>     mod=0) at g_editor.c:1439
> #16 0x080b2bb2 in pd_typedmess (x=0x85279b8, s=0x8516e58, argc=4,
>     argv=0xbfd05f18) at m_class.c:792
> #17 0x080b278d in pd_typedmess (x=0x8527bc8, s=0x8516e58, argc=4,
>     argv=0xbfd05f18) at m_class.c:813
> #18 0x080b7542 in binbuf_eval (x=0x8529168, target=0x8527bc8, argc=0,
> argv=0x0)
>     at m_binbuf.c:726
> #19 0x080c2bad in socketreceiver_read (x=0x8529188, fd=6) at s_inter.c:558
> #20 0x080c1d1f in sys_domicrosleep (microsec=,
>     pollem=) at s_inter.c:196
> #21 0x080c22a1 in sys_pollgui () at s_inter.c:845
> #22 0x080beaf3 in m_mainloop () at m_sched.c:490
> #23 0x080c1389 in sys_main (argc=3, argv=0xbfd07784) at s_main.c:304
> #24 0x080c8ccf in main (argc=Cannot access memory at address 0x8
> ) at s_entry.c:32
> (gdb) Quit
> (gdb)
>
>
>
>
> ___
> 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] Latest gem troubles - pix_multiimage and pix_imageInPlace crashing

2010-01-26 Thread James Dunn
After getting text3d working, I've now run into some problems with 
pix_multiimage and pix_imageInplace causing pd to crash. This happens in 
my patch, but also if I open 
doc/5.reference/Gem/pix_imageInPlace-help.pd or pix_multiimage and click 
the open/preload message. Running pd from a terminal I get:


tk scaling is 1.237138508371385
 : Avifile RELEASE-0.7.47-080115-14:47-4.2.3
 : Available CPU flags: fpu vme de pse tsc msr mce cx8 sep mtrr 
pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up bts est tm2

 : 1600.00 MHz Intel(R) Pentium(R) M processor 1600MHz detected
socket receive error: Connection reset by peer (104)
Segmentation fault

running from gdb I get:

plattfor...@plattformer-laptop:~$ gdb --args /usr/bin/pd -lib ./Gem
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 


This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb)
(gdb) run
Starting program: /usr/bin/pd -lib ./Gem
[Thread debugging using libthread_db enabled]
tk scaling is 1.237138508371385
[New Thread 0xb7cd16b0 (LWP 12358)]
 : Avifile RELEASE-0.7.47-080115-14:47-4.2.3
 : Available CPU flags: fpu vme de pse tsc msr mce cx8 sep mtrr 
pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up bts est tm2

 : 1200.00 MHz Intel(R) Pentium(R) M processor 1600MHz detected
[New Thread 0xb6660b90 (LWP 12364)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7cd16b0 (LWP 12358)]
0xb76f9e26 in __cxa_allocate_exception () from /usr/lib/libstdc++.so.6
(gdb) Terminated
bt
#0  0xb76f9e26 in __cxa_allocate_exception () from /usr/lib/libstdc++.so.6
#1  0xb73b3399 in Magick::throwException () from /usr/lib/libMagick++.so.10
#2  0xb73bdbd7 in Magick::Image::read () from /usr/lib/libMagick++.so.10
#3  0xb7adb260 in magickImage2mem () from /usr/lib/pd/extra/Gem/Gem.pd_linux
#4  0xb7adb5fa in image2mem () from /usr/lib/pd/extra/Gem/Gem.pd_linux
#5  0xb7baa1c1 in pix_multiimage::openMess ()
  from /usr/lib/pd/extra/Gem/Gem.pd_linux
#6  0xb7ba9c29 in pix_multiimage::openMessCallback ()
  from /usr/lib/pd/extra/Gem/Gem.pd_linux
#7  0x080b2b7b in pd_typedmess (x=0x8527fd0, s=0x8522c00, argc=2,
   argv=0xbfd05bf8) at m_class.c:794
#8  0x080b4f29 in outlet_anything (x=0x85280f8, s=0x8522c00, argc=2,
   argv=0xbfd05bf8) at m_obj.c:442
#9  0x080b278d in pd_typedmess (x=0x85280e4, s=0x8522c00, argc=2,
   argv=0xbfd05bf8) at m_class.c:813
#10 0x080b7542 in binbuf_eval (x=0x8527fc0, target=0x85280e4, argc=1,
   argv=0xbfd05c54) at m_binbuf.c:726
#11 0x08077a59 in message_float (x=0x85280c8, f=0) at g_text.c:354
#12 0x08077a7f in message_click (x=0x85280c8, xpos=146, ypos=143, shift=0,
   ctrl=0, alt=0) at g_text.c:436
#13 0x08077bb3 in text_click (z=0x85280c8, glist=0x85279b8, xpix=146,
   ypix=143, shift=0, alt=0, dbl=0, doit=1) at g_text.c:1126
#14 0x08099117 in canvas_doclick (x=0x85279b8, xpos=146, ypos=143, which=1,
---Type  to continue, or q  to quit---
#15 0x080998c7 in canvas_mousedown (x=0x85279b8, xpos=146, ypos=143, 
which=1,

   mod=0) at g_editor.c:1439
#16 0x080b2bb2 in pd_typedmess (x=0x85279b8, s=0x8516e58, argc=4,
   argv=0xbfd05f18) at m_class.c:792
#17 0x080b278d in pd_typedmess (x=0x8527bc8, s=0x8516e58, argc=4,
   argv=0xbfd05f18) at m_class.c:813
#18 0x080b7542 in binbuf_eval (x=0x8529168, target=0x8527bc8, argc=0, 
argv=0x0)

   at m_binbuf.c:726
#19 0x080c2bad in socketreceiver_read (x=0x8529188, fd=6) at s_inter.c:558
#20 0x080c1d1f in sys_domicrosleep (microsec=,
   pollem=) at s_inter.c:196
#21 0x080c22a1 in sys_pollgui () at s_inter.c:845
#22 0x080beaf3 in m_mainloop () at m_sched.c:490
#23 0x080c1389 in sys_main (argc=3, argv=0xbfd07784) at s_main.c:304
#24 0x080c8ccf in main (argc=Cannot access memory at address 0x8
) at s_entry.c:32
(gdb) Quit
(gdb)



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


Re: [PD] text2d / text3d

2010-01-26 Thread James Dunn

Quoth IOhannes m zmoelnig, on 26/01/10 14:57:

i hardly ever use ati, but afaik ati-config will change your xorg.conf,
so i think you have to restart your xserver (sorry if this is obvious)
after running it.

here's an old thread about this:
http://www.rage3d.com/board/showthread.php?t=33851796

  

I also went through every FSAA value sent to gemwin between each
setting. None of these had any effect on the way text3d displays the
text. Is there something else I could do?



you don't need to play with the FSAA in Gem here. this is known to only
work with nvidia on linux.

the idea is to enforce FSAA from outside using the driver specific tools.

mfgasdr
IOhannes
  
Yes I was logging out to restart the X server in between changing 
settings. I also checked /var/log/Xorg.0.log and saw some warnings about 
FSAA could not be enabled so I installed Catalyst 9.3 from ATI and it 
has a control centre where I can set all the FSAA settings which work 
perfectly!! Text3d looks cool! Thanks for your help
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] text2d / text3d

2010-01-26 Thread James Dunn

Quoth IOhannes m zmoelnig, on 26/01/10 13:15:

"fsaa" will (should) only work with nvidia drivers on linux.
for ati cards, see the documentation for the drivers how to enable fsaa.
for nvidia cards, you should be able to set the fsaa via nvidia-settings.

fgmasrd
IOhannes
  


Thanks. I have an ati card and I ran:

ati-config --fsaa=on

then

ati-config --fs=6, 4, 2, and 0 (one at a time with the values 
recommended by ati-config)


and finally

ati-config --fsg=on (for fullscreen gamma).

I also went through every FSAA value sent to gemwin between each 
setting. None of these had any effect on the way text3d displays the 
text. Is there something else I could do?


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


[PD] text2d / text3d

2010-01-26 Thread James Dunn
I recently changed my OS to Ubuntu Hardy to use the proprietary driver
for my graphics card as I was having problems with text3d amongst
other things. However, the rendering of text3d still looks bad
compared to text2d (please see the image below). I've tried sending
FSAA values of 1-16 to gemwin but there's no change - is there
anything else I can try? Otherwise I guess I'll just have to stick
with text3d...

http://www.4thharmonic.com/images/text2d-text3d.png

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


Re: [PD] Drawing lines in gem with alpha fade

2010-01-22 Thread James Dunn
Thanks - it's interesting but doesn't seem to do quite what I need. Even 
with a maximum alpha value, I still want the lines to stay on full 
brightness for longer. Also, I'm drawing some fine lines and there are 
some weird artefacts like blocks appearing in the trail. Is there 
something else I could try?


Quoth cyrille henry, on 22/01/10 21:45:

have a look at example 07.texture/08.MotionBlur.pd
all you have to do is remplace the teapot with a line that you can 
draw or not (to make it fade out)


Cyrille


James Dunn a écrit :
I've been sending x/y values to [curve] to draw some lines in gem and 
the only way I've been able to get them to stay rendered is to use 
single buffer mode using [buffer 1( messaged to [gemwin].


Can someone suggest a better method using double buffer perhaps? I 
would like the lines to fade out after some seconds. I looked at 
pix_snap2tex and gemframebuffer but could only get one line rendered. 
Is this possible with the particle objects?


thanks

James




___
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] Drawing lines in gem with alpha fade

2010-01-22 Thread James Dunn
I've been sending x/y values to [curve] to draw some lines in gem and 
the only way I've been able to get them to stay rendered is to use 
single buffer mode using [buffer 1( messaged to [gemwin].


Can someone suggest a better method using double buffer perhaps? I would 
like the lines to fade out after some seconds. I looked at pix_snap2tex 
and gemframebuffer but could only get one line rendered. Is this 
possible with the particle objects?


thanks

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


Re: [PD] Glitchy problems with gem...

2010-01-15 Thread James Dunn

Quoth Claude Heiland-Allen, on 15/01/10 15:32:

error: GEM: try setting the environment variable GEM_SINGLE_CONTEXT=1


Did you try that? In a terminal run:

GEM_SINGLE_CONTEXT=1 pd -lib Gem

(works with bash shell, other shells may differ)

If that works, then you can add this to your ~/.bashrc or similar:

export GEM_SINGLE_CONTEXT=1


I tried GEM_SINGLE_CONTEXT=1 pd -lib Gem in a terminal and that works 
fine :) but adding export GEM_SINGLE_CONTEXT=1 to ~/.bashrc did 
nothing... do I need to add something else?



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


Re: [PD] Glitchy problems with gem...

2010-01-15 Thread James Dunn
2010/1/14 Marco Donnarumma :
> Hi James,
> I tried your patch on my machine (ubuntu 9.04 ashamed ATI radeon
> non-supported) and it's working fine.
>
> ATI is a crap. If you want to make serious 3d/video stuff in GEM on Linux or
> you change video card, or you go back 8.04.
> Meanwhile you may want to check this tips for a decent configuration of ATI
> cards:
>
> http://www.thinkwiki.org/wiki/Additional_options_for_the_radeon_driver
> https://help.ubuntu.com/community/RadeonDriver
>
> this helped me to not go crazy and throw my video card... but I still can't
> work properly.
> hope this helps..
>
>
> Marco

Ok, here's an update on my gem troubles...
I've repartitioned my hard drive and installed Ubuntu 8.04 and Pd
version 0.42.5-extended-20100114. I've also installed the ATI driver
which is now available in Hardware Drivers. So far so good.
I can open the gem patch I sent yesterday, but when I click [create,
1( I get the following errors in the console:

error: GEM-Xwin: BadAlloc (insufficient resources for operation)

error: GEM-Xwin: GLXBadContext

error: GEM: problems making glX-context current: refusing to continue
error: GEM: try setting the environment variable GEM_SINGLE_CONTEXT=1
error: GEM-Xwin: GLXBadContext

error: GEM: Unable to create window
error: [gemwin]: no window made
... you might be able to track this down from the Find menu.
error: GEM: Create window first!

I tried running pd from gdb as IOhannes suggested and it outputs the following:

Starting program: /usr/bin/pd
[Thread debugging using libthread_db enabled]
tk scaling is 1.237138508371385
[New Thread 0xb7d0f6b0 (LWP 12399)]
 : Avifile RELEASE-0.7.47-080115-14:47-4.2.3
 : Available CPU flags: fpu vme de pse tsc msr mce cx8 sep mtrr
pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up bts est
tm2
 : 1600.00 MHz Intel(R) Pentium(R) M processor 1600MHz detected
[New Thread 0xb66b7b90 (LWP 12405)]
[New Thread 0xb5bc0b90 (LWP 12406)]
[New Thread 0xb53bfb90 (LWP 12407)]
[New Thread 0xb4bbeb90 (LWP 12408)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7d0f6b0 (LWP 12399)]
0xb40bfcc0 in ?? ()
(gdb) socket receive error: Connection reset by peer (104)
quit
The program is running.  Exit anyway? (y or n) y

So it seems that my gem issues are not driver related? Can anyone shed
some light on what is going on?

thanks

James

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


Re: [PD] Glitchy problems with gem...

2010-01-14 Thread James Dunn
2010/1/14 Marco Donnarumma :
>
> ATI is a crap. If you want to make serious 3d/video stuff in GEM on Linux or
> you change video card, or you go back 8.04.
> Meanwhile you may want to check this tips for a decent configuration of ATI
> cards:
>
> http://www.thinkwiki.org/wiki/Additional_options_for_the_radeon_driver
> https://help.ubuntu.com/community/RadeonDriver
>

Thanks for the thinkwiki.org link, I've not seen that one. I'm tempted
to revert to Hardy 8.04 but have read it's also possible to just
downgrade xorg. Might give this a try first. So can someone confirm
it's definitely the driver and nothing to do with gem? Just want to
make sure before I completely hack up my OS! Is there any other test I
could do?

Jack - thanks for the gemhead tip - I had tried numbering them from 1
but it was the same result.

James

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


[PD] Glitchy problems with gem...

2010-01-14 Thread James Dunn

Hi list,

I had a lot of trouble getting [text3d] to work in fullscreen. It sort 
of works now - the main issue is that the fonts look terrible. I have a 
ATI Radeon Mobility 9600 M10 RV350 card in my laptop which no longer has 
linux support by ATI so I'm using the xserver-xorg-video-ati driver in 
Karmic. I think the font problem is to do with FSAA and I don't think I 
can enable it with this driver. Also I think I read somewhere that FSAA 
is only available in gem for nvidia cards on linux. Is this correct?


What's more, with desktop effects enabled gem has a lot of weirdness! 
The window border disappears, the lower half of the window displays a 
garbled image, and it corrupts the rest of my desktop! So I disabled 
desktop effects and am currently now having trouble with multiple 
gemheads - please see the attached patch. If all 3 gemheads are enabled, 
the first two seem to switch places very quickly (many times a second) - 
they should be static and scroll with the key presses. However I've just 
tested this on my desktop box running karmic with an nvidia card and it 
seems fine!


If anyone can help with any of these issues, please let me know - it's 
very frustrating!


thanks,

James


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


Re: [PD] Problems with text2d / text3d

2010-01-12 Thread James Dunn

Quoth IOhannes m zmoelnig, on 12/01/10 16:06:

James Dunn wrote:
  

Quoth IOhannes m zmoelnig, on 12/01/10 13:12:


So I tried using text3d, and
it crashes pd if I try to use fullscreen. 


never encountered something like this (i have seen and run lot's of
installations with [text3d] in fullscreen)
are you sure it is related to [text3d], and not something else?
does fullscreen work in general?
does it still crash if you replace all the [text3d]s by a dummy
abstraction [textdummy] (inlet->outlet)?
  
  

Well [text2d] used to work in fullscreen, as well as [pix_image] ->
[pix_texture] -> [rectangle]...




i haven't found anything yet that works in windowed mode but not in
fullscreen.

an alternative would be to not switch to fullscreen but rather do
[border 0, dimen 1024 768, offset 0 0(

  


Nice idea - although I think the problem is solved.. see below

I running Ubuntu Karmic and Pd-0.42.5-extended20100111 (which I just
installed, but the problem was there in the previous version). My
graphics card is RV350 Mobility Radeon 9600 M10.



which driver do yo use?
  
  

I think the driver is the problem - after some googling I tried an ATI
driver which really messed things up (no x server!). So I removed it and
now it's broken all of Gem! I guess this is a xorg / xserver issue so
not for this list perhaps, but if anyone can help, please let me know!!



i really hate ATI cards (esp. since i'm just trying to get a friends
all-in-wonder running via a remote connection)

  
tell me about it! My graphics card is no longer supported by ATI, but I 
managed to configure xorg.conf to use xserver-xorg-video-radeon to use 
the radeon driver and now [text3d] works in fullscreen! It did crash 
once when I changed font though, but seems stable now. Thanks a lot for 
your help.


James

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


Re: [PD] Problems with text2d / text3d

2010-01-12 Thread James Dunn

Quoth IOhannes m zmoelnig, on 12/01/10 13:12:

So I tried using text3d, and
it crashes pd if I try to use fullscreen. 



never encountered something like this (i have seen and run lot's of
installations with [text3d] in fullscreen)
are you sure it is related to [text3d], and not something else?
does fullscreen work in general?
does it still crash if you replace all the [text3d]s by a dummy
abstraction [textdummy] (inlet->outlet)?
  


Well [text2d] used to work in fullscreen, as well as [pix_image] -> 
[pix_texture] -> [rectangle]...



I running Ubuntu Karmic and Pd-0.42.5-extended20100111 (which I just
installed, but the problem was there in the previous version). My
graphics card is RV350 Mobility Radeon 9600 M10.



which driver do yo use?
  
I think the driver is the problem - after some googling I tried an ATI 
driver which really messed things up (no x server!). So I removed it and 
now it's broken all of Gem! I guess this is a xorg / xserver issue so 
not for this list perhaps, but if anyone can help, please let me know!!


James

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


[PD] Problems with text2d / text3d

2010-01-12 Thread James Dunn
Hi list,

I currently working on a patch which displays many lines of text
(around 25) which then scroll up the screen (hopefully). My first
issue is that when using text2d, neither [translate] or [translateXYZ]
scroll far enough (+/- 4 is the maximum). So I tried using text3d, and
it crashes pd if I try to use fullscreen. Running from a terminal, I
get this error:

socket receive error: Connection reset by peer (104)
Segmentation fault

I running Ubuntu Karmic and Pd-0.42.5-extended20100111 (which I just
installed, but the problem was there in the previous version). My
graphics card is RV350 Mobility Radeon 9600 M10.

So is there a way to get text2d to scroll further? And how can I get
text3d to work in fullscreen?

thanks,

James

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


  1   2   >