Collin, Pat, thanks for your replies.
Collin, I will try the route method in a short while...
Pat, that's interesting you use Messenger. I considered it but as I got SMS working quite quickly I've since disregarded it. I will give it a go. Do you mean to apply the identifier at the arduino stage, and if so, what does the code look like? And how does Pd decipher it? I'm sorry, but nothing is obvious to me at this stage - it's all new and I'm trying to make sense of it.
Many thanks
On 28 September 2010 06:43, pd-list-request@iem.at wrote:
Send Pd-list mailing list submissions to pd-list@iem.at
To subscribe or unsubscribe via the World Wide Web, visit http://lists.puredata.info/listinfo/pd-list or, via email, send a message with subject or body 'help' to pd-list-request@iem.at
You can reach the person managing the list at pd-list-owner@iem.at
When replying, please edit your Subject line so it is more specific than "Re: Contents of Pd-list digest..."
Today's Topics:
- Re: GUI speed (Ivica Ico Bukvic)
- Re: [PD-announce] dither8 (tramage) (ydegoyon@gmail.com)
- Re: [PD-announce] dither8 (tramage) (ydegoyon@gmail.com)
- Re: [PD-announce] dither8 (tramage) (ydegoyon@gmail.com)
- Re: [PD-announce] dither8 (tramage) (ydegoyon@gmail.com)
- Re: Arduino, Pd and ultrasonics: HELP needed for degree project! (patrick)
- Re: Arduino, Pd and ultrasonics: HELP needed for degree project! (Collin)
Message: 1 Date: Mon, 27 Sep 2010 23:21:36 -0400 From: Ivica Ico Bukvic ico@vt.edu Subject: Re: [PD] GUI speed To: PD List pd-list@iem.at Message-ID: jx4f636ctdxm1owk5r1u9h7r.1285644096103@email.android.com Content-Type: text/plain; charset=utf-8
Another thing to consider is if you have large GUI objects that are updating quickly (e.g. number2 with huge fonts). This will also potentially tax the cpu.
Bernardo Barros bernardobarros2@gmail.com wrote:
you can post your patch, so maybe we will discover the problem. for the abstraction one solution is to change the name of your hacked abstractions and send them as well.
2010/9/27 Andr?s Mur?nyi muranyia@gmail.com:
well, i meant a bug in my patch... what i understood was that it overloaded the CPU on Jo?o's box too
2010/9/28 Bernardo Barros bernardobarros2@gmail.com
maybe this is a bug od pd-gui? (well, poor performance *is* a bug)
2010/9/27 Andr?s Mur?nyi muranyia@gmail.com:
On Mon, Sep 27, 2010 at 11:45 AM, Jo?o Pais <jmmmpais@googlemail.com
wrote:
> > Well, it's not very exportable as i have modified/overwritten some > abstractions made by others. Baaad practice! > I'm trying to attach it now and i hope i works. Need pd-extended
and
> many > libs from it, moonlib for sure.
not much, some abstractions are missing.
anyway, even with the patch not working, I can see something is definitively wrong. just by opening it with audio off, I get
consistent
50% cpu usage - which means it's using a whole processor of my dual
core.
unless one of the missing abs is the problem, I would suggest you spend
some
hours bug tracking.
yes, i've spent some nights bug tracking, and at one point i thought
ask
the list too... :o) something is definitely wrong!
On Mon, Sep 27, 2010 at 3:34 PM, Ivica Ico Bukvic ico@vt.edu
wrote:
FWIW you may want to try to simply cut pieces of the patch while it
is
running and observe the cpu load meter until it drops. That way you should be able to locate the problem quicker.
yes, i was trying thing like this, and will go on until i find what i messed up. I was just starting to think that it's normal and i have to live with
it
(or get a few more CPU cores) but now you guys reassured me that the bug
is
somewhere... in the haystack
Andras
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Muranyi Andras
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Message: 2 Date: Tue, 28 Sep 2010 05:45:48 +0200 From: "ydegoyon@gmail.com" ydegoyon@gmail.com Subject: Re: [PD] [PD-announce] dither8 (tramage) To: pd-list@iem.at Cc: gridflow-dev@artengine.ca, pd-announce@iem.at Message-ID: 4CA164EC.2020000@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed
are you naked-?
Mathieu Bouchard wrote:
http://gridflow.ca/gallery/dither8.png http://gridflow.ca/gallery/dither8b.png
made with dither.pd (the new version found in GridFlow 9.12)
| Mathieu Bouchard ------------------------------ Villeray, Montr?al, QC
Pd-announce mailing list Pd-announce@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
Message: 3 Date: Tue, 28 Sep 2010 05:45:48 +0200 From: "ydegoyon@gmail.com" ydegoyon@gmail.com Subject: Re: [PD] [PD-announce] dither8 (tramage) To: pd-list@iem.at Cc: gridflow-dev@artengine.ca, pd-announce@iem.at Message-ID: 4CA164EC.2020000@gmail.com Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
are you naked-?
Mathieu Bouchard wrote:
http://gridflow.ca/gallery/dither8.png http://gridflow.ca/gallery/dither8b.png
made with dither.pd (the new version found in GridFlow 9.12)
| Mathieu Bouchard ------------------------------ Villeray, Montr?al, QC
Pd-announce mailing list Pd-announce@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-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Message: 4 Date: Tue, 28 Sep 2010 05:45:48 +0200 From: "ydegoyon@gmail.com" ydegoyon@gmail.com Subject: Re: [PD] [PD-announce] dither8 (tramage) To: pd-list@iem.at Cc: gridflow-dev@artengine.ca, pd-announce@iem.at Message-ID: 4CA164EC.2020000@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed
are you naked-?
Mathieu Bouchard wrote:
http://gridflow.ca/gallery/dither8.png http://gridflow.ca/gallery/dither8b.png
made with dither.pd (the new version found in GridFlow 9.12)
| Mathieu Bouchard ------------------------------ Villeray, Montr?al, QC
Pd-announce mailing list Pd-announce@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
Message: 5 Date: Tue, 28 Sep 2010 05:45:48 +0200 From: "ydegoyon@gmail.com" ydegoyon@gmail.com Subject: Re: [PD] [PD-announce] dither8 (tramage) To: pd-list@iem.at Cc: gridflow-dev@artengine.ca, pd-announce@iem.at Message-ID: 4CA164EC.2020000@gmail.com Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
are you naked-?
Mathieu Bouchard wrote:
http://gridflow.ca/gallery/dither8.png http://gridflow.ca/gallery/dither8b.png
made with dither.pd (the new version found in GridFlow 9.12)
| Mathieu Bouchard ------------------------------ Villeray, Montr?al, QC
Pd-announce mailing list Pd-announce@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-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Message: 6 Date: Tue, 28 Sep 2010 14:32:13 +0900 From: patrick puredata@11h11.com Subject: Re: [PD] Arduino, Pd and ultrasonics: HELP needed for degree project! To: pd-list@iem.at Message-ID: 4CA17DDD.8090203@11h11.com Content-Type: text/plain; charset=windows-1252; format=flowed
hi,
i use Messenger instead of Simple Message System: http://www.arduino.cc/playground/Code/Messenger
as for sending multiple sensors, just add an identifier: ... sensor1 789 sensor2 345 ...
pat
Message: 7 Date: Mon, 27 Sep 2010 22:43:08 -0700 From: Collin coldham@mac.com Subject: Re: [PD] Arduino, Pd and ultrasonics: HELP needed for degree project! To: itsmrjack@gmail.com, pd-list@iem.at Message-ID: 871A3ACF-74E2-4427-BB5D-432503E1DED2@mac.com Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
I've done this a few times adding a char and a space before the value and sorting it out with a [route] The char goes in quotes, and don't forget the space!
On Sep 27, 2010, at 10:59 AM, pd-list-request@iem.at wrote:
// SRF02 READING //
sendCommand(sensorAddress, readInches);
delay(70);
setRegister(sensorAddress, resultRegister);
int sensorReading = readData(sensorAddress, 2);
Serial.print("s ");
Serial.println(sensorReading);
delay (200);
// GPD12 READING //
sensorValue = analogRead(sensorPin);
int range = (6787 / sensorValue);
Serial.print("r ");
Serial.println(range);
then in the patch:
[comport 8 9600] | [ascii2pd CR] | [route list] | [route s r]
Collin
collinoldham.com