Re: [PD] Rewriting a unified phasor / metro object for reading tables

2014-03-06 Thread Chris McCormick
Hi Brian,

On 07/03/14 08:22, Brian Fay wrote:
 Does anybody know if sample-accurate [metros] are available in libpd?

Looking at x_time.c in libpd it does not seem like those changes from
Miller's branch have been merged into libpd yet. I am sure somebody will
get to it soon, or you could do it yourself and submit a patch.

I would like to take this opportunity to say thanks to Dan and most
especially Peter, and anybody else who is maintaining the libpd branch
of Pd - it really is an amazing resource for the community.

Cheers,

Chris.

-- 
http://mccormick.cx/

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


Re: [PD] Rewriting a unified phasor / metro object for reading tables

2014-03-04 Thread Chris McCormick
Hi,

On 09/05/13 05:00, Ed Kelly wrote:
 I'm rewriting phasor~ and unifying it with metro so that a pulse is
 generated from the boundaries of each ramp - so that bars of music can
 be read using tabread~ objects with a sample-accurate metro.

Not sure if this is relevant or already common knowledge but newer
versions of Pd allow you to specify metro and delay tempo  units,
including in samples. e.g. [metro 500 1 samp].

Cheers,

Chris.

-- 
http://mccormick.cx/

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


Re: [PD] Get name of patch from within the patch

2014-03-03 Thread Chris McCormick
Hello,

On 03/03/14 21:55, Kaj Ailomaa wrote:
 Hi. I've been googling a bit and looking through the library of objects
 that comes with pd-extended, but can't seem to find a way to get the
 name of the patch from within the patch. Anyone know of a nice method to
 do this?

I would use [namecanvas] for this. For example you could have an object
like [namecanvas $0-mypatch] and then you can send messages to the patch
using e.g. [s $0-mypatch].

Cheers,

Chris.

-- 
http://mccormick.cx/

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


Re: [PD] RjDj/ScenePlayer for iOS?

2014-03-02 Thread Chris McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi IOhannes,

On 03/03/14 02:20, IOhannes m zmölnig wrote:
 On 02/28/2014 02:41 PM, Chris McCormick wrote:
 PdDroidParty supports multitouch thanks to Muddu Kishan.
 
 i think i was unclear here: i know that PdDroidParty has
 multi-touch support (as shown in the demo).
 
 but what i really meant was: raw access to (multiple) pointer(s),
 like the #touch message in RdDj,

No, PdDroidParty does not do that. Would be minimal to implement. If
someone submitted a patch to add that I would definitely merge it.

Cheers,

Chris.

- -- 
http://mccormick.cx/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iD8DBQFTE+YZCdjIil9lUVoRAsePAJ0aL4OgPtlyVuQyg0HaGJqG1K6sdwCgoN1k
dqGxbSWOn2rhP3iHo0iPzUo=
=6leu
-END PGP SIGNATURE-

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


Re: [PD] RjDj/ScenePlayer for iOS?

2014-02-28 Thread Chris McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi IOhannes,

On 28/02/14 19:11, IOhannes m zmölnig wrote:
 On 02/28/2014 04:38 AM, Chris McCormick wrote:
 https://github.com/danomatika/PdParty
 
 afaik this is a port of the amazing PdDroidParty.
 
 however, i'm not looking for a generic Pd-patch player, but rather
 for something that can play standard RjDj scenes.

I guess it's not completely clear from the GitHub repository but
PdParty exceeds the amazing PdDroidParty by also playing RjDj scenes.
I am not sure exactly how faithful it is to the original software but
it seems to have all the bits in the right places (e.g. rotating
images demo). Give it a try with your desired scene and see, I guess!

Cheers,

Chris.

- -- 
http://mccormick.cx/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iD8DBQFTEJCQCdjIil9lUVoRAh5MAJ98H2ejyV3xANQPYh/ciX/Sv+HrUwCeNJUg
GsRqmk+QHs1z7cGbpxjjrpU=
=HGcB
-END PGP SIGNATURE-

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


Re: [PD] RjDj/ScenePlayer for iOS?

2014-02-28 Thread Chris McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi IOhannes,

Sorry, I forgot to reply to this bit:

On 28/02/14 19:11, IOhannes m zmölnig wrote:
 anyhow: is there support for accelerometer and multi-touch in 
 Pd(Droid)Party?

There is for both in PdParty, yep.

There is a patch set for PdDroidParty from Antoine Rousseau which
supports accelerometer that I need to merge:

https://github.com/chr15m/PdDroidParty/pull/14

I think the accel support might be incompatible with that in PdParty
which I'll need to fix if so.

PdDroidParty supports multitouch thanks to Muddu Kishan.

Cheers,

Chris.

- -- 
http://mccormick.cx/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iD8DBQFTEJH9CdjIil9lUVoRAmvGAKCuGwTmX+rrXgauNbiXsioxyATmfwCfbfV4
DTWPdQbwOw5wYJ4y3568x3I=
=Szft
-END PGP SIGNATURE-

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


Re: [PD] RjDj/ScenePlayer for iOS?

2014-02-27 Thread Chris McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi IOHannes,

On 28/02/14 00:08, IOhannes m zmoelnig wrote:
 what are the options these days to play old (or new) RjDj scenes on
 an Idevice. RjDj.app is gone, and it seems that there is no
 ScenePlayer for iOS.

https://github.com/danomatika/PdParty

You will need to compile it yourself.

Cheers,

Chris.

- -- 
http://mccormick.cx/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iD8DBQFTEASdCdjIil9lUVoRAgOuAKCsSz4SCZx2p+VQgita9RtmdSIhyQCfdw+i
rojDwtiNIVfyVcJ240fjyds=
=6wOP
-END PGP SIGNATURE-

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


Re: [PD] check mail with pd ?

2014-02-05 Thread Chris McCormick
On 06/02/14 06:29, pured...@11h11.com wrote:
 but pd is not really good with strings afaik

Maybe soon:

https://sourceforge.net/p/pure-data/pure-data/ci/8a02332a5fb68edc2899e2f13513c77f0796d21b/

https://sourceforge.net/p/pure-data/pure-data/ci/49ffcf8ba5cdde7660e82f1e190fcee7c6fa5627/

:)

Cheers,

Chris.

-- 
http://mccormick.cx/
#N canvas 213 266 450 449 10;
#X obj 50 253 list tosymbol;
#X obj 50 87 list fromsymbol;
#X obj 50 275 list prepend set;
#X obj 50 297 list trim;
#X obj 71 133 list split 1;
#X obj 152 133 t l;
#X msg 50 58 symbol dog/cat/mouse;
#X msg 71 177 45;
#X obj 71 155 sel 47;
#X obj 71 200 list append;
#X obj 146 200 t l;
#X obj 50 226 list;
#X obj 50 109 t b a b;
#X obj 220 87 list fromsymbol;
#X obj 241 133 list split 1;
#X obj 322 133 t l;
#X msg 220 58 symbol dog/cat/mouse;
#X obj 241 200 list append;
#X obj 316 200 t l;
#X obj 220 226 list;
#X obj 220 109 t b a b;
#X text 54 30 replace;
#X text 225 24 split;
#X obj 220 253 list tosymbol;
#X obj 220 275 print;
#X obj 241 155 sel 47;
#X obj 241 177 t b b;
#X msg 50 319;
#X connect 0 0 2 0;
#X connect 1 0 12 0;
#X connect 2 0 3 0;
#X connect 3 0 27 0;
#X connect 4 0 8 0;
#X connect 4 1 5 0;
#X connect 5 0 4 0;
#X connect 6 0 1 0;
#X connect 7 0 9 0;
#X connect 8 0 7 0;
#X connect 8 1 9 0;
#X connect 9 0 10 0;
#X connect 9 0 11 1;
#X connect 10 0 9 1;
#X connect 11 0 0 0;
#X connect 12 0 11 0;
#X connect 12 1 4 0;
#X connect 12 2 9 1;
#X connect 13 0 20 0;
#X connect 14 0 25 0;
#X connect 14 1 15 0;
#X connect 15 0 14 0;
#X connect 16 0 13 0;
#X connect 17 0 18 0;
#X connect 17 0 19 1;
#X connect 18 0 17 1;
#X connect 19 0 23 0;
#X connect 20 0 19 0;
#X connect 20 1 14 0;
#X connect 20 2 17 1;
#X connect 23 0 24 0;
#X connect 25 0 26 0;
#X connect 25 1 17 0;
#X connect 26 0 19 0;
#X connect 26 1 17 1;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Multi-input USB audio into Raspberry Pi

2014-01-23 Thread Chris McCormick
Hi all,

I might be really pushing my luck here, what with all the reports of
audio issues on the Pi, but has anyone heard of somebody getting
multi-input audio working with a multi-input USB 2.0 audio device?

I have a dream of running one of these mixers (which does 8 channel
audio out over USB 2.0) into Pd and being able to manipulate all of the
channels from the mixer in Pd:

http://www.alesis.com/multimix8usb20

Cheers,

Chris.

-- 
http://mccormick.cx/

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


Re: [PD] Multi-input USB audio into Raspberry Pi

2014-01-23 Thread Chris McCormick
Hey Jaime,

On 24/01/14 01:48, Jaime E Oliver wrote:
 there was a thread on this just a while back and someone reported multiple 
 inputs, I cannot find it right now, but it;s there!

I spent a fair bit of time reading back through the archives and various
other sources yesterday and I did see mention of someone running four
inputs but a later post seemed to contradict what they'd said, and I
couldn't find anything on pd-list about that in particular.

Would love to be wrong about that of course!

In any case, I will report back here if successful.

Cheers,

Chris.

-- 
http://mccormick.cx/

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


Re: [PD] new feature for ponies to spit floats at objects

2013-11-07 Thread Chris McCormick

On 03/11/13 09:46, Jonathan Wilkes wrote:

This will finally make it possible for Pure Data objects to receive any
message a pony happens to spit at it:

https://puredata.info/Members/jancsika/pony-spits-numbers-at-Pd.webm/view


This is the single greatest non-audio thing I have ever seen Pd do.

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] [WebPd] Status update

2013-11-06 Thread Chris McCormick

On 23/10/13 22:23, s p wrote:

For those interested in WebPd, here is a short status update about the
project : http://funktion.fm/#post/webpd-refactor


Very cool!

Cheers,

Chris.

--
http://mccormick.cx/

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


[PD] A giant step sideways for Pd on Android

2013-09-03 Thread Chris McCormick

Hey all,

Just got MIDI input working in PdDroidParty thanks to Peter Brinkmann's 
new libpd midi glue code.


This means you can plug a MIDI controller or keyboard into your Android 
tablet/phone using the OTG cable, and use it to control Pd on the 
device. Which means yr gigging setup just shrank to pocket size.


Almost certainly bugs.

Have at it!

http://droidparty.net/

Now I must sleep.

Cheers,

Chris.

PS after you load a patch it's under a menu option.

PPS crashes phones/tablets that don't do USB in ( Android 2.3.4 I think).

PPS I recently found a really good 7 tablet from Shenzen for $US 88 so 
we are getting down to Raspberry Pi kinds of prices. Email me if you 
want the link.

--
http://mccormick.cx/

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


[PD] PdDroidParty lazer show

2013-08-16 Thread Chris McCormick

Hey all,

A PdDroidParty user sent me this video - controlling a lazer projector 
with their smartphone using Pd[DroidParty].


http://www.youtube.com/watch?v=7wN9U_laoUM

Chris.

--
http://mccormick.cx/

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


Re: [PD] [PD-announce] pointillism @ ICMC2013

2013-08-12 Thread Chris McCormick

On 12/08/13 15:51, Simon Wise wrote:

On 12/08/13 15:35, IOhannes m zmölnig wrote:

the ICMC2013 has started this morning in Perth/Australia.

since i'm performing my piece pointillism tomorrow night at The
Bakery/artrage (233 James Street Northbridge), it'd be great to meet
with people who happen to be in the area.


It would be great to meet up .. I'll try to get to the performance,
maybe meet up for a beer or coffee?


I'll be in on that! See you guys there.

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] [PD-announce] pointillism @ ICMC2013

2013-08-12 Thread Chris McCormick

On 13/08/13 10:23, Simon Wise wrote:

Perth being the kind of town it is, I can't stay late since I'm limited
by the last bus home (and 4 years on a student income!) but I'll be
there about 9pm.


I'd offer to dinkie you on my bike but may not be that stable after 
beers + pointillism. ;)


Cheers,

Chris.

--
http://mccormick.cx/

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


[PD] New PdDroidParty version

2013-05-31 Thread Chris McCormick

Hi all,

Just pushed a new version with Peter Brinkmann's latest latency tweaks. 
Seems pretty solid and subjectively much faster. Also bundled are a 
bunch of tweaks and fixes from Antoine Rousseau.


http://droidparty.net/

Have fun!

Cheers,

Chris.

--
http://mccormick.cx/

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


[PD] PdDroidParty news + new release

2013-04-17 Thread Chris McCormick

Hello,

 * I've moved PdDroidParty development to GitHub. Fork away and feel 
free to submit pull requests! http://github.com/chr15m/PdDroidParty/


 * There is a new version up online for you to download: 
http://droidparty.net/


 * This version includes multitouch! Huge thanks to Kishan and Antoine 
for their work on that. It's lemurtastic. I played a live set with this 
new feature the other night and it was a lot of fun to get on stage with 
just a $150 Shanzai Android tablet - super minimal way to rock yr Pd 
patches live.


 * Antoine also contributed a huge patch with lots of really nice 
stuff, bugfixes, widget colours, close-patch-confirmation, 
partial-patch-view (i.e. multiple UIs on one screen) and other great 
things. 
https://github.com/chr15m/PdDroidParty/commit/da6a5bf97c1e96fe84873233564f5f44c88ff72f


 * Kishan has expressed an interest in further paid work on this 
project and I would love it if we could send more work his way. Maybe 
this is something we can crowdfund together? Are there features people 
want to see urgently in PdDroidParty that they would be willing to pay 
Kishan to code?


 * If you are generally in search of a very competitively priced and 
high quality Android freelance developer, please contact Kishan directly 
(CC'ed).


Have fun!

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] question about MIDI

2013-04-17 Thread Chris McCormick

Hi Michael,

On 18/04/13 12:51, michael noble wrote:

On Mon, Apr 15, 2013 at 4:41 PM, Chris McCormick ch...@mccormick.cx
mailto:ch...@mccormick.cx wrote:
  * Use netsend to send the values over the network.
Is the reverse working at the moment with netreceive?


I haven't tested that recently but last time I did netreceive was 
working except for broadcast UDP packets. Probably Antoine knows more 
about this than me because he has been working on something called 
[droidnetreceive] and I have not asked him why yet. :)


If you get a chance to do some tests yourself please post the results!

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] question about MIDI

2013-04-15 Thread Chris McCormick

Hi,

On 15/04/13 15:20, Sdrgf Sd wrote:

If this works out then aplication like TouchOSC are not needed anymore. We can 
then make anything . Cant wait for the reply.


You can already use PdDroidParty like TouchOSC.

 * Create a patch with sliders etc.
 * Use netsend to send the values over the network.
 * Receive the values in Pd on your laptop.
 * Turn those values into whatever format you like (osc, midi, sounds, 
etc.)


Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] Pddroidparty on samsung galaxy ace 2

2013-04-15 Thread Chris McCormick

On 15/04/13 16:29, nachoe...@gmail.com wrote:

Hi Chris. Now, with the new update, it works perfect.


Rock and roll!

Also had a report it's working on the Samsung Galaxy Note now.

Cheers,

Chris.

--
http://mccormick.cx/

___
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-03 Thread Chris McCormick

On 07/04/2012 05:11 AM, Miller Puckette wrote:

The thing I'm actually looking forward to doing is to extend textfiles and
message boxes and data structures to be able to spit lists of atoms around
much more flexibly than now.

Also pd vanilla needs tilde objects to do interpolating signal snapshots,
phase-syncable oscillators, and other stuff on that level, also likely
to be a lot of fun.


Sounds awesome, I am excited!

Chris.

--
http://mccormick.cx/

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


[PD] Miller in Melbourne (and Brisbane?)

2012-06-28 Thread Chris McCormick

Hey all!

I don't think I saw this posted yet: Miller will be at the Melbourne 
patching circle Sat July 7th, 2pm to 8pm.


Miller, is there anywhere we can find an itinerary of what you are up 
to? I think you will be at other events in Australia too, right? I read 
Brisbane somewhere.


Wish I could be at one of the events but alas I am on the other side of 
the country.


Cheers,

Chris.

--
http://mccormick.cx/

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


[PD] Pd geeks in Glasgow?

2012-06-23 Thread Chris McCormick

Hello Pure Dataz,

I will be in Glasgow for a couple of weeks at the end of July 2012 as 
the technical guy on an art project. Will you be there and do you want 
to drink a beer and we can regale eachother with tales of the Pd patches 
we have made? Let's do that!


Also, sorry to everyone who has sent me PdDroidParty emails that I have 
not replied to. You are great and I am not great at replying to emails 
right now. :(


Cheers,

Chris.

PS here is the art project i helped develop the software for: 
http://mccormick.cx/news/entries/recent-work-and-a-glasgow-2012-trip


--
http://mccormick.cx/

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


Re: [PD] make droidparty app

2012-06-01 Thread Chris McCormick

Hello!

I think if you are using a more recent version of the Android SDK you 
need to do ant debug install / ant release install instead of just 
ant install. Maybe that's the issue?


Cheers,

Chris.

On 05/21/2012 08:31 PM, Matthias Moos wrote:

Dear pd-listeners

I tried to make an android-app with the walkthrough on droidparty.net
http://droidparty.net (OS: Ubuntu)... I could get till the last step,
but after using ant install i got the error

/home/mativa/android-sdk-linux/tools/ant/build.xml:1194: The following
error occurred while executing this line:
/home/mativa/android-sdk-linux/tools/ant/build.xml:1261: No message

does anyone have an Idea know what might have gone wrong???

I guess that's a very noob question...


greetingsmatt



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



--
http://mccormick.cx/

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


[PD] NPR in Gem

2012-05-01 Thread Chris McCormick

Hi all,

Has anyone done any work with non-photorealistic rendering in Gem? I am 
specifically looking for sketch renderers implemented in Gem. Web search 
did not help me.


Cheers!

Chris.

--
http://mccormick.cx/

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


Re: [PD] PdDroidParty closes on screen lock

2012-04-30 Thread Chris McCormick

Hi Tim,

On 04/14/2012 07:39 AM, tim vets wrote:

I was testing PdDroidParty on an HTC Desire HD phone, and
I noticed that as soon as the phone's screen times out
and locks (goes black) any running PdDroidParty patch closes down.
Is there a way to prevent this (other than setting screen timeout to
'never')?


That's odd. I have in the TODO list to implement the screen wake lock 
thing but I didn't get around to it yet. Hopefully some time soon!


Cheers,

Chris.

--
http://mccormick.cx/

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


[PD] squeakyshoecore ep out - 100% Pure Data!

2012-04-29 Thread Chris McCormick

Hey Pd-people and Linux Audio User's list,

I'm excited to let you know that my new EP, made 100% with Pure Data, is 
out now on UK algorave label ChordPunch! If you liked the previous 
squeakyshoecore releases this was made with the same software and 
represents an evolution in that direction.


iTunes:
http://itunes.apple.com/gb/album/squeakyshoecore-ep/id517096205

Amazon:
http://www.amazon.co.uk/gp/product/B007RX7GJG/

Spotify:
spotify:search:squeakyshoecore

ChordPunch info:
http://chordpunch.com/releases/cp0x07/

I would really appreciate it if you would give it a review, share, 
listen, buy, etc.


Visit this page to like/share it on Facebook, Twitter, Google Plus:
http://sciencegirlrecords.com/chr15m/squeakyshoecore

Any help you can give me getting the word out would be very appreciated.

Thank you so much!

Oh, and here are the (GPL) patches, which are midi-learn friendly :)
http://mccormick.cx/projects/GarageAcidLab/

Have fun!

Cheers,

Chris.

--
http://mccormick.cx/

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


[PD] WebPd - Re: Webkit and firefox support

2012-03-29 Thread Chris McCormick

Hi Sébastien,

On 03/20/2012 03:18 PM, s p wrote:

Did you have time to take a look at the work done ?


Seems like I am not going to have time to keep up with your pace of 
development. I have put a note on my WebPd project page 
http://mccormick.cx/projects/WebPd/ that the latest development is 
happening at your GitHub fork:


https://github.com/sebpiq/WebPd

Anybody interested in the new stuff being added to WebPd should look there.

Really great to see this moving forward so quickly. :)

Cheers,

Chris.

--
http://mccormick.cx/

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


[PD] New PdDroidParty version up

2012-03-07 Thread Chris McCormick

Hi,

I pushed a new version to http://droidparty.net/

 * Includes the stuff to try and get multicast UDP packets receiving 
correctly - might work for someone else.

 * Fix for $0 in send/receive names.

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] cool ways to use pd in keyboard rig

2012-03-07 Thread Chris McCormick

On Wed, Mar 7, 2012 at 10:08 PM, Andrew Faradaywrote:
Basically, feel free to throw ideas at me


http://www.youtube.com/watch?v=zjmdWdHdKKs

Chris.

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


Re: [PD] WebPd - Need a small clarification

2012-03-06 Thread Chris McCormick

On 03/06/2012 04:15 PM, sebastien piquemal wrote:

  my preference would be for there to be an option to download a
monolithic pd.js

This goes without saying !!! That's actually what a CI server is meant
for : automating builds. Basically, the split files would be only
development files.


Cool!


  My other philosophy is to have it run with as few dependencies as
possible

That also goes without saying ! When I talked about prototype, I was
not at all talking about prototype.js, I was talking about object's
prototype. When you do like this :

function PdObject() {
this.tofloat = function(data) {
//bla
};
};

You basically give a copy of tofloat function to each instance of
PdObject. The proper way to do that would be to use prototype :

function PdObject() {
// bla
};
PdObject.prototype.tofloat = function(data) {
//bla
};

That way, all instances of PdObject share the same method (same can be
done for all methods to save a bit of memory). By using prototype, you
can also implement a nice inheritance mechanism, which would make
writing new objects a bit simpler.


Yep, that's much better.


  At the end of the day I guess it's kind of obvious that if there was
a way to make a patch in Pd and then put that patch on a website for as
many people as possible to play with

Yep !!! I definitely share that vision ! Anyways there's not other
solution currently, since you need to prototype your patch with
PureData, before porting it to web.

About all the TODOs, there's definitely a lot to do !!! I understood
most of them, but some are a bit unclear ... I have my own favorites -
like a driver for Webkit browsers -, and some that I already know I
won't do - like flash stuff : berk ... let's look towards the future for
Pete's sake !!! IE will hopefully end-up implementing an audio API as
well !!!


When a user puts a patch online I am sure they want as many people as 
possible to be able to use that patch, that's my only point. It's a 
reality that more people on the planet use IE than any other browser (as 
horrible as that fact is). If it's possible to support IE then we 
should, for the sake of users.


Anyway, I think it just means I will have to maintain the Flash driver 
myself, which is horrible, but I realise nobody else will want to touch 
this. :)


Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] WebPd - Need a small clarification

2012-03-06 Thread Chris McCormick

On 03/06/2012 04:18 PM, sebastien piquemal wrote:

Let's see how things go. It's just that now I'm more careful, because I
had the bad experience of coding a lot of stuff in a fork, and the
author never pulling it, or pulling then reverting all the work done.


I understand your concern. However, in the age of distributed version 
control I think it's not such an issue. Imagine the situation where the 
scenario above happens:


 * You start implementing lots of cool stuff.
 * I turn into a jerk and stop merging it or revert it.
 * People see that your version has lots more features.
 * People run your version instead of mine.

In any case, I am happy to put a link from the current WebPd site to 
your GitHub repository as soon as you make your first commit saying 
this is where the latest active development is now happening.


Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] Editing CSS style, make pd.info better? [WAS: puredata.info site design provocation]

2012-03-06 Thread Chris McCormick

Hi Marco,

Love it!

A couple of ideas (bike shed opinions only of course):

 * Larger fonts look friendlier.
 * How many people have ever clicked the print/email icons? My guess is 
somewhere close to zero.

 * RSS icon should look like one, and maybe bigger.
 * Like the idea of a big fat download button (example attached but 
don't use it as it's not mine).


Kind of hilarious to imagine how users will feel after finding Pd 
through a lovely friendly pure-data.info site and then being confronted 
with Pd's blank canvas and then lines-and-boxes for the first time. ;)


Cheers,

Chris.

On 03/07/2012 07:57 AM, Marco Donnarumma wrote:

this is what I'm working on, started with the exhibition page, but it
could be generalized.
I only added now the background pattern of the ubuntu website, following
on the ubuntu font by chris.

This is only CSS editing, but I had to delete the navigation tab on the
top from the html.
I say so, because apparently it's easy to edit the plone css custom
theme, but edit the structure might be more painful.

Next I want to display images for each project and a slightly longer
description.

attached there's a screenshot..

M




On Tue, Mar 6, 2012 at 10:45 PM, Marco Donnarumma de...@thesaddj.com
mailto:de...@thesaddj.com wrote:

Hey folks,

I got my head around the CSS editing of PLONE.
I can do the CSS job, the only downside is that it has to be done
with Plone in development mode.
This apparently would slow down the site a bit.

However, fact is, if we modify a css class, this will affect the
whole website.

How should we handle this?
Voting for the best style, collecting ideas, or

I can join Chris and send over some styles I've been trying.
It would be great to give a better look, at least to the extent that
the css allows.

M



On Tue, Mar 6, 2012 at 11:13 AM, Marco Donnarumma
de...@thesaddj.com mailto:de...@thesaddj.com wrote:

Hi Chris,

I'm glad you did that.
It is what I'm also doing following the discussion in the past
week about the website.
However, apparently it's a pain to be able to change only the
css in the plone template.
I'm looking into that, if somebody is more experienced than me
in Plone, give me a shout!

But, yes, your is a good example of how the same website could
look much friendlier.

talk soon,
M


On 03/06/2012 10:35 AM, Jonathan Wilkes wrote:
  The one thing I miss is the news section.

Yeah for sure.

  It's probably a little too heavy for the frontpage, but
how has webpd progressed?
 
  Is it possible to link that picture of a patch on the
frontpage to a page with a webpd
 
  version of that patch?

Yes but it almost certainly won't run and WebPd has no GUI. :)

Maybe a simpler patch could work.

Cheers,

Chris.

--
http://mccormick.cx/



--
Marco Donnarumma
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http://marcodonnarumma.com http://marcodonnarumma.com/
Research: http://res.marcodonnarumma.com
http://res.marcodonnarumma.com/ | http://www.thesaddj.com
http://www.thesaddj.com/ | http://www.flxer.net
http://www.flxer.net/
Director: http://www.liveperformersmeeting.net
http://www.liveperformersmeeting.net/




--
Marco Donnarumma
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http://marcodonnarumma.com http://marcodonnarumma.com/
Research: http://res.marcodonnarumma.com
http://res.marcodonnarumma.com/ | http://www.thesaddj.com
http://www.thesaddj.com/ | http://www.flxer.net http://www.flxer.net/
Director: http://www.liveperformersmeeting.net
http://www.liveperformersmeeting.net/



--
http://mccormick.cx/
attachment: Download-Now-button.jpg___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pddroidparty netsend and netreceive

2012-03-05 Thread Chris McCormick

Hi Orm and Bérenger,

I'm sorry to report that I tried several things but couldn't get libpd 
to receive broadcast UDP packets on Android. I tried adding some 
WiFi/network/multicast permissions to the apk, and also used 
WifiManager.MulticastLock to acquire the multicast lock, but these 
changes did not help. If anyone else has any suggestions I would love to 
hear them.


In terms of debugging the multiple bang issue, you could try plugging 
your phone in by USB and running 'adb logcat' (from the Android SDK) to 
see what Pd is printing out on the console before it crashes.


If you send me your patch I might find time to look at it.

Cheers,

Chris.

On 03/02/2012 04:40 PM, Orm Finnendahl wrote:

Hi Chris,

  just as a note: I've got it working in one direction (from phone to
computer), but only with a metro object scheduling events. When I
touch a bang object on the mobile to send a single message, this
message arrives *many* times on the remote computer and pddroidparty
crashes. The phone is a Samsung Galaxy and it might be an issue of the
touch display. It's difficult to debug the behaviour on the phone as
there is no pd window, but I thought, I'd let you know anyways.

--
Orm

Am Friday, den 02. March 2012 um 13:50:14 Uhr (+0800) schrieb Chris McCormick:

Hi Orm,

On 02/29/2012 07:41 PM, Orm Finnendahl wrote:

Does anybody know about this issue or has anybody successfully
established netconnections between pddroidparty and another computer
and could give some advice?


I would love to have this working for [netro] and I think I might
have a fix. I will try to find some time to push out a new release
soon with the possible fix for testing.

Cheers,

Chris.

--
http://mccormick.cx/



--
http://mccormick.cx/

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


Re: [PD] WebPd - Need a small clarification

2012-03-05 Thread Chris McCormick

Hi Sébastien,

On 03/06/2012 03:04 PM, s p wrote:

I was wondering, what's the status of the project ?


Although I am often thinking about it, the project is effectively on 
hiatus since I had a kid and moved on to other projects like 
PdDroidParty and relaxing infront of the TV with a beer.


 What are your plans?

My plan is to continue to merge patches from people who submit them. :)

 Because there are many more changes and optimizations I'd like to

make. Mostly some Javascript stuff : better use of prototype for saving
memory, splitting the big fat file in several (probably using
require.js, or something like that), writing real unittests (probably
using QUnit) and then I can get a CI server to run them.


Sounds great!

In terms of splitting the big fat file, my preference would be for there 
to be an option to download a monolithic pd.js to make the end-user's 
life easier. This could easily be accomplished by a script on the 
download section of the webpd website or by a Makefile in the project. 
If you go ahead and split the file I am happy to take care of a way of 
putting it back together again for the user. I would prefer not to use a 
dependency on the client side.


Really the best thing would be if it worked like processing.js where the 
user can include a single JS file and then party time.



Well, basically, I'm very motivated to push this project forward. So how
should we handle that ? Are you still active ? Would you like to give me
admin rights on the github repo, or should I just fork (as a different
project) to go my way ?


Great to hear somebody motivated wants to work on this.

I would love to remain active in so far as maintaining, and creating a 
proper website for the project and to continue to merge patches into my 
branch, and also maybe to help with architecture issues as they arise. I 
think the best way forward is if you fork and go for it, and issue pull 
requests, or if that's too much of a hassle I can watch your fork and 
merge things as you do them.


This is already how I have been working with the great patches from 
Brandon and Spencer over the last couple of years. They each moved the 
project forward nicely with a whole bunch of objects and changes.


The webpd site really needs a makeover and I can commit to doing that 
and general maintenance tasks on the project.


In terms of what needs doing in pd.js itself, I think the following are 
the most important (this is a general summary of TODO.txt with some 
other stuff I just thought of):


 * Architecture issue - connection fanning should be supported 
(connecting multiple wires to a single audio inlet). This means that 
inlet and outlet data structures should become an array instead of a 
pointer to a single object.


 * fix [random] and [noise~] to use Pd's exact algorithm.

 * pd.receive() callback registration which should work a bit like 
libpd's - a [send x] in Pd should be caught with: pd.receive(x, 
function(msg) { console.log(msg); });.


 * Add an AudioDriver entry for Chromium browser. There is a new audio 
API in Chromium to use for that. This would give us major browser coverage.


 * More testing of the flash AudioDriver fallback. This is reported to 
work in Safari but I would also like to make sure it works in Internet 
Explorer. I had been trying to support ie6 and forwards but maybe I am 
being a little too conservative on that and ie8 is probably sufficient 
in the modern internet. But hell, if it works on ie6 too we win at internet.


 * Architecture issue - abstractions and subpatches should work. At the 
moment only a single patch can be run at a time. This one is probably 
difficult, but maybe not so much if you modularize things out into 
separate files.


 * Lots more unit tests!

In general my philosophy with WebPd is to try to get everything as 
[sample] accurate and close as possible to the behaviour of real Pd. 
That way a user can rely on their patches running in the same way online 
after authoring them in Pd.


My other philosophy is to have it run with as few dependencies as 
possible. For example, it should not depend upon jQuery or prototype.js 
or anything like that. It's not so hard to re-implement things like Ajax 
GET as you can see from the code. Core Pd itself has very few 
dependencies and I really like that about it. It helps a lot with 
portability. Which is another thing - the more browsers this runs on, 
the better!


At the end of the day I guess it's kind of obvious that if there was a 
way to make a patch in Pd and then put that patch on a website for as 
many people as possible to play with, we all win. So all of the above is 
just detail if you share that same basic vision.


Go nuts!

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] WebPd - Need a small clarification

2012-03-05 Thread Chris McCormick

On 03/06/2012 03:31 PM, s p wrote:

Staying with your github repo as master (in
which case it would be good to have admin rights) ? Creating a new repo
? Because that would be cool to have on repo that people can trustfully
get the last version from.


Yep, gotcha. Why don't we try it with a fork and my merging pull 
requests. If that turns out to be too slow/annoying I am happy to give 
you commit rights. Or if you are really moving the project forward and I 
am holding things back you can become maintainer to do what you like. :)


Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] puredata.info site design provocation

2012-03-05 Thread Chris McCormick

On 03/06/2012 10:35 AM, Jonathan Wilkes wrote:

The one thing I miss is the news section.


Yeah for sure.


It's probably a little too heavy for the frontpage, but how has webpd 
progressed?



Is it possible to link that picture of a patch on the frontpage to a page with 
a webpd

version of that patch?


Yes but it almost certainly won't run and WebPd has no GUI. :)

Maybe a simpler patch could work.

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] pddroidparty netsend and netreceive

2012-03-01 Thread Chris McCormick

Hi Orm,

On 02/29/2012 07:41 PM, Orm Finnendahl wrote:

Does anybody know about this issue or has anybody successfully
established netconnections between pddroidparty and another computer
and could give some advice?


I would love to have this working for [netro] and I think I might have a 
fix. I will try to find some time to push out a new release soon with 
the possible fix for testing.


Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] no pd?? WTF ????

2012-01-06 Thread Chris McCormick

On 01/06/2012 02:11 PM, ydego...@gmail.com wrote:

Chris McCormick wrote:

On 01/05/2012 01:04 PM, ydego...@gmail.com wrote:

Chris McCormick wrote:

On 01/04/2012 03:36 PM, ydego...@gmail.com wrote:

productivity? that's what we should hate...


fuck yes!

i define success as not working, and i live like a king. (nofx)


hey chris, i'm droiding party, i see it as the major kewl thing in pd
these past years sooo great  keep the good work ...


I'm glad you are enjoying the port of Pd.

Thank you very much for CC'ing the list with my private message and
outing me as a closet capitalism-hating punk.


bah you know it's no secret
and an honour for you,
but if i missed the point,
are they any capitalist-loving people on this list ?
hum ok maybe...


I must say I hate money, but it’s the lack of it that I hate most. 
Katherine Mansfield



i'd like to think people make things because
they like to do it, not because they are pushed and oppressed
by market needs that's what we meant no?


Yeh, I know what you mean. I guess we all can't help being pushed by the 
market. I think these are the reasons I write Software Libre:


 * I like the feeling when my peers tell me what I am doing is cool (so 
thank you for that, Yves!).

 * I think something would be fun/cool to do.
 * I think I might profit in some way from doing something (either 
directly earning money or later employment).

 * Traveling and meeting interesting people at conferences is awesome.

Well thanks very much to you and everyone else who said nice things.

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] no pd?? WTF ????

2012-01-05 Thread Chris McCormick

On 01/05/2012 01:04 PM, ydego...@gmail.com wrote:

Chris McCormick wrote:

On 01/04/2012 03:36 PM, ydego...@gmail.com wrote:

productivity? that's what we should hate...


fuck yes!

i define success as not working, and i live like a king. (nofx)


hey chris, i'm droiding party, i see it as the major kewl thing in pd
these past years sooo great  keep the good work ...


Hi Yves,

I'm glad you are enjoying the port of Pd.

Thank you very much for CC'ing the list with my private message and 
outing me as a closet capitalism-hating punk.


http://mccormick.cx/gfx/cas405-180bpm.gif

Cheers,

Chris.

--
http://mccormick.cx/

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


Re: [PD] get method for Pd

2011-11-17 Thread Chris McCormick
On Thu, Nov 17, 2011 at 05:21:29AM -0800, Jonathan Wilkes wrote:
 - Original Message -
 
  From: Andy Farnell padawa...@obiwannabe.co.uk
  To: pd-list@iem.at
  Cc: 
  Sent: Thursday, November 17, 2011 8:12 AM
  Subject: Re: [PD] get method for Pd
  
  
  
  How about 
  
  [; pd get self rcv-name(
 
 Not sure I understand this one-- what comes out of [r rcv-name] here?
 
 -Jonathan
 
  
  Dumps itself. Once I wanted to get Pd patches to print themselves,
  can't remember how it was solved now, but the above would have 
  been quite clear.

I think what Andy means here is the actual text of the patch itself as you 
would find by looking at the .pd file in a text editor.

e.g.
#N canvas 218 94 842 634 10;
#X obj 63 84 t a a;
#X obj 63 241 spigot;
#X obj 102 149 bang;
#X obj 102 168 1;
#X obj 223 149 route bang;
#X obj 183 150 bang;
...

Making 'self' a settable property would open up all kinds of lovely madness!

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] get method for Pd

2011-11-17 Thread Chris McCormick
On Thu, Nov 17, 2011 at 12:45:57PM -0800, Jonathan Wilkes wrote:
 Hm, how about this:
 
 [info symbol]
 
 where symbol is pd for pd, an array name, subpatch or abstraction name, the 
 receive symbol of an iemgui, 
 
 or no args for this canvas
 
 
 the only inlet takes:
 get attribute to output an attribute value(s) message
 get to get a sequence of all attribute value(s) messages
 
 symbol receive-symbol to set a new receive symbol
 pointer to set it to query a scalarpointer-to-head-of-list to query a 
 particular canvas
 
 It might be too complex with that many disparate classes, but it sure would 
 simplify the process of getting pure data :)

I think DesireData had a facility for receiving error messages back into the 
patch. While we are thinking about this type of thing, what about [info errors] 
or [info console] which outputs everything that goes to console or all errors 
generated by Pd?

Cheers,

Chris.

---
http://mccormick.cx

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


[PD] do you know what time it is party time

2011-11-15 Thread Chris McCormick

Hi all,

PdDroidParty (Pure Data for Android with emulated GUIs) is online again: 
http://droidparty.net/


Sorry i have not replied to anybody's emails since my server crashed and 
burned. Hope to catch up soon!


Beep beep crunch beep,

Chris.


http://mccormick.cx/

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


Re: [PD] do you know what time it is party time

2011-11-15 Thread Chris McCormick

Hi Hans,

I hope any revenue you generate from Pd work, using PdDroidParty or 
otherwise, goes towards helping your own continued work on pd-extended. 
That would make me happiest and I think it would be of most use to the 
community since that project has many more users.


I made sure the license I chose for PdDroidParty allows people to fork 
it and sell their own creations in the market for profit, and that is 
why there are instructions for doing that on the home page. If that 
means more people can spend more time contributing to Pd I will be stoked!


I will put a donate button on the PdDroidParty homepage for people who 
want to contribute in that way.


Thanks for the kind thought!

Cheers,

Chris.

On Tue, Nov 15, 2011 at 11:54:52AM -0500, Hans-Christoph Steiner wrote:


Awesome, thanks Chris!  I hope to bang out some apps for the marketplace soon, 
then hopefully generate some revenue to sponsor your continued work on 
PdDroidParty :)

.hc

On Nov 15, 2011, at 3:21 AM, Chris McCormick wrote:

 Hi all,

 PdDroidParty (Pure Data for Android with emulated GUIs) is online again: 
http://droidparty.net/

 Sorry i have not replied to anybody's emails since my server crashed and 
burned. Hope to catch up soon!

 Beep beep crunch beep,

 Chris.

 
 http://mccormick.cx/

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






kill your television



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

---
http://mccormick.cx

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


Re: [PD] PdDroidParty v154 (+ CanOfBeats)

2011-10-27 Thread Chris McCormick
the server is down
wind through trees; ripples on pond
all data is gone

:(

On Wed, Oct 26, 2011 at 7:52 AM, Hans-Christoph Steiner h...@at.or.at wrote:

 Aw, was going to play with this during the patching circle, but the site
 seems to be down...

 .hc

 On Oct 7, 2011, at 6:41 AM, Chris McCormick wrote:

 Hey All,

 The first Pd app based on the PdDroidParty source is now in the Android
 Marketplace. It's a re-boot of my old patch CanOfBeats, with a nicer
 interface and some features people were asking for like loading and saving:

 https://market.android.com/details?id=cx.mccormick.canofbeats

 So that is basically just a Pd patch packaged up and turned into a
 standalone Android app. The source code is nearly identical to the original
 PdDroidParty source.

 PdDroidParty release 154 is now online here, with instructions for how to
 do that for your own Pd patches:

 http://mccormick.cx/projects/PdDroidParty/

 Have fun!

 Cheers,

 Chris.

 ---
 http://mccormick.cx

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



 

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



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


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


[PD] Android latency tester

2011-10-23 Thread Chris McCormick
Hi all,

In an effort to discover which Android devices are going to be best to run Pd 
on, here is an app and a page you can help contribute to. Please test your 
Android device and submit the outcome! :)

http://puredata.info/AndroidLatency

Cheers,

Chris.

---
http://mccormick.cx

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


[PD] PdDroidParty v154 (+ CanOfBeats)

2011-10-07 Thread Chris McCormick
Hey All,

The first Pd app based on the PdDroidParty source is now in the Android 
Marketplace. It's a re-boot of my old patch CanOfBeats, with a nicer interface 
and some features people were asking for like loading and saving:

https://market.android.com/details?id=cx.mccormick.canofbeats

So that is basically just a Pd patch packaged up and turned into a standalone 
Android app. The source code is nearly identical to the original PdDroidParty 
source.

PdDroidParty release 154 is now online here, with instructions for how to do 
that for your own Pd patches:

http://mccormick.cx/projects/PdDroidParty/

Have fun!

Cheers,

Chris.

---
http://mccormick.cx

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


[PD] very compressed chip sounds

2011-10-07 Thread Chris McCormick
http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-line-of.html

Surely we can do stuff like this in Pd?

Smallest Pd patch that makes an interesting tune?

Chris.

---
http://mccormick.cx

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


[PD] PdDroidParty in Pd SVN

2011-10-05 Thread Chris McCormick
Hey Hans,

I want to start pushing PdDroidParty src into Pd's SVN. Is that ok? Where 
should I put it in the tree?

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty in Pd SVN

2011-10-05 Thread Chris McCormick
Hi Hans,

Yep, I am using bazaar, which can use SVN sub-trees as a storage back-end.
I am currently hosting it on the PdDroidParty site on my server, but I
thought it might be good to have the code also in the SVN as it is part of
the Pd ecosystem (and for redundancy too). I am happy to continue
maintaining it in my own repo though. Because bzr is a DVCS I can still
merge stuff from other contributors and retain their information in the
commit log.

Oh well, sorry for the noise!

Cheers,

Chris.

 Its fine by me.  But perhaps there is a better place for it.  If I
 remember correctly, you were using bazaar.  Sourceforge supports
 bazaar, so you could use that.

 I think it would make the most sense to have it in its own repo,
 whether on Sourceforge or elsewhere, whether on SVN or bzr.  Then it
 is easy to manage the list of committers.

 .hc

 On Oct 5, 2011, at 10:54 PM, Chris McCormick wrote:

 Hey Hans,

 I want to start pushing PdDroidParty src into Pd's SVN. Is that ok?
 Where should I put it in the tree?

 Cheers,

 Chris.

 ---
 http://mccormick.cx

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





 

 Programs should be written for people to read, and only incidentally
 for machines to execute.
   - from Structure and Interpretation of Computer Programs




---
http://mccormick.cx



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


Re: [PD] Keyboard shortcuts for nudge, done editing

2011-09-26 Thread Chris McCormick
Hi,

On 26/09/11 12:54, Marvin Humphrey wrote:
 Well, controlling entities for open source projects have to be responsive to
 their communities.  If they are not, they get forked, or people move on to
 other things.

I would say controlling entity is the least accurate description of Miller I 
have heard.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty v126

2011-09-26 Thread Chris McCormick
On Thu, Sep 22, 2011 at 03:08:21PM +0800, Chris McCormick wrote:
 http://mccormick.cx/projects/PdDroidParty/
 
 http://mccormick.cx/projects/PdDroidParty/PdDroidParty.png
 
 Sorry, this feature is undocumented. I will document it soon hopefully, but
 in the mean time you can check droidparty-tests/svg-widgets/ to see how it
 works.

The SVG-widgets feature is now documented on the website.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] speaker recognition with pd ?

2011-09-26 Thread Chris McCormick
On Fri, Sep 23, 2011 at 09:33:59AM +0800, Chris McCormick wrote:
 On Thu, Sep 22, 2011 at 07:42:54PM +0200, g...@itchybit.org wrote:
  The task would be to identify from a live-talk the voice of the current
  speaker amongst several. Training before is also possible .. i guess this
  could be done for sure by utilizing a simple neural network trained on a
  FFT docemposition of the voices..  so there must be some software out for
  sure...
 
 You will probably need this:
 http://en.wikipedia.org/wiki/Mel-frequency_cepstrum
 
 The problem you are describing is incredibly difficult.

I just realised that you are probably not talking about overlapping voices, 
which is orders of magnitude more difficult than sequential voices.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty v126

2011-09-23 Thread Chris McCormick
Hi Pierre,

On Fri, Sep 23, 2011 at 09:06:12AM +0200, Pierre Massat wrote:
 I couldn't test it yesterday because Eclipse still complains about missing
 PdUtils...

I will try to update my copy of libpd soon. I think mostly the references to 
PdUtils need to be replaced with references to PdBase. You could fix it and 
submit a patch.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty Load and save...

2011-09-22 Thread Chris McCormick
Hi Pierre,

On Tue, Sep 20, 2011 at 09:40:55AM +0200, Pierre Massat wrote:
 Incidentally, I tried importing the source code in Eclipse in order to run
 PdDroidParty on a virtual device, but I get errors (I think Pdutils is now
 missing in PdCore, plus some other errors).

Ah, I use the command line to compile with 'ant' so I don't know much about the 
eclipse issues, but I will try upgrading my copy of libpd some time and see if 
the PdUtils thing can be fixed some how.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty Load and save...

2011-09-22 Thread Chris McCormick
Hi András,

On Tue, Sep 20, 2011 at 02:33:09PM +0200, András Murányi wrote:
 On Tue, Sep 20, 2011 at 08:03, Chris McCormick ch...@mccormick.cx wrote:
 
  It should work on Android 2.2 as that is my current testing device's OS
  version.
 
 Sorry if i'm getting it wrong - is it that you currently need a physical
 device to test?

No, I have a device again now. I had to go through a couple of phones though as 
I accidentally bought one which does not support logging (!) and had to return 
it. Note to anyone interested in doing Android development, do not get the 
Huawei U8650 Sonic as it lacks that logging facility!

Cheers,

Chris.

---
http://mccormick.cx

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


[PD] PdDroidParty v126

2011-09-22 Thread Chris McCormick
Hi all!

I have uploaded v126 of PdDroidParty here:

http://mccormick.cx/projects/PdDroidParty/

The biggest new feature is SVG theming of widgets + fonts:

http://mccormick.cx/projects/PdDroidParty/PdDroidParty.png

Sorry, this feature is undocumented. I will document it soon hopefully, but in 
the mean time you can check droidparty-tests/svg-widgets/ to see how it works. 
I need to get a couple of apps based on this into the Android Market so I can 
pay for my daughter's banana milk rusk habit, and then I will document it. ;)

Have fun!

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty v126

2011-09-22 Thread Chris McCormick
On Thu, Sep 22, 2011 at 02:40:34PM -0400, Hans-Christoph Steiner wrote:
 Looks very nice, I hope you have a lot of success in the Android market, 
 so you can give your daughter what she wants as well as make a living 
 doing Pd :)

:D

My two current apps are making about $20 per month total so there is a long way 
to go.

On that topic, it's now trivially easy to use PdDroidParty to generate 
standalone apps from your Pd patches, assuming you have the Android SDK 
installed. Here are the steps:

 * Clone the source code with bazaar:
bzr branch http://mccormick.cx/dev/PdDroidParty/
 * Convert the app name to whatever you like:
./convert-app-name mysynth My Synthesizer
 * Replace your own icon 72x72 PNG icon over res/drawable/icon.png
 * Place your patch and files with a droidparty_main.pd in the patch 
subfolder.
 * Pack the patch subfolder into an Android zip resource:
./pack-patch
 * Install on your device for testing:
ant install

There are probably still bugs I need to work out but this works for me at the 
moment. Bug reports welcome!

Cheers,

Chris.

 On Sep 22, 2011, at 3:08 AM, Chris McCormick wrote:

 Hi all!

 I have uploaded v126 of PdDroidParty here:

 http://mccormick.cx/projects/PdDroidParty/

 The biggest new feature is SVG theming of widgets + fonts:

 http://mccormick.cx/projects/PdDroidParty/PdDroidParty.png

 Sorry, this feature is undocumented. I will document it soon  
 hopefully, but in the mean time you can check droidparty-tests/svg- 
 widgets/ to see how it works. I need to get a couple of apps based on 
 this into the Android Market so I can pay for my daughter's banana milk 
 rusk habit, and then I will document it. ;)

 Have fun!

 Chris.

 ---
 http://mccormick.cx

 ___
 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




---
http://mccormick.cx

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


Re: [PD] PdDroidParty Load and save...

2011-09-22 Thread Chris McCormick
On Thu, Sep 22, 2011 at 04:59:35PM +0200, András Murányi wrote:
 Ah you may be right. I've downloaded this thing called android-sdk-linux_x86
 and it's practically an emulator.

The emulator packaged with the Android SDK is the wonderful Qemu by Fabrice 
Bellard:
http://wiki.qemu.org/Main_Page
www.wikipedia.org/wiki/Fabrice_Bellard

It is GPLv2.

I have found testing audio stuff on Android is much better on a real device.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] speaker recognition with pd ?

2011-09-22 Thread Chris McCormick
On Thu, Sep 22, 2011 at 07:42:54PM +0200, g...@itchybit.org wrote:
 have some1 ever tried to do speaker recognition on *nix in any kind of
 software ? Im trying to find out if its possible to find at least
 rudimentary-working software that would be able to send data to pd ?
 
 The task would be to identify from a live-talk the voice of the current
 speaker amongst several. Training before is also possible .. i guess this
 could be done for sure by utilizing a simple neural network trained on a
 FFT docemposition of the voices..  so there must be some software out for
 sure...

You will probably need this:
http://en.wikipedia.org/wiki/Mel-frequency_cepstrum

The problem you are describing is incredibly difficult.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty Load and save...

2011-09-20 Thread Chris McCormick
Hi Pierre,

It should work on Android 2.2 as that is my current testing device's OS version.

Can you try droidparty-tests/loadsave/ and tell me if it works? What are the 
symptoms you are experiencing, and what do you expect to happen?

Cheers,

Chris.

On Tue, Sep 13, 2011 at 02:07:13PM +0200, Pierre Massat wrote:
 Hi,
 
 I tried using the [loadsave] abstraction that Chris McCormick wrote for
 PdDroidParty yesterday. It doesn't work...
 Does anyone know if it is supposed to work with any version of Android? I
 think my girlfriend's phone uses 2.2.
 
 Cheers!
 
 Pierre

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

---
http://mccormick.cx

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


Re: [PD] Pd on Android

2011-09-06 Thread Chris McCormick
On Mon, Sep 05, 2011 at 11:39:37PM -0400, Peter Brinkmann wrote:
 On Mon, Sep 5, 2011 at 7:46 PM, Chris McCormick ch...@mccormick.cx wrote:
 
  On Mon, Sep 05, 2011 at 06:20:26PM -0400, Hans-Christoph Steiner wrote:
   [shell] is in ggee and [system] is in motex, both of those use the
   Makefile Template, so they should be really easy to compile for Android.
   How are you installing externals with PdDroidParty? It'd be nice to have
   a simple, common folder to drop the whole library in, say something like
   /sdcard/pd-externals.
 
  Hm, that's a good idea, and then the user could put the externals they want
  in that folder themselves. I guess I just use libpd's command to add that
  folder to Pd's path?
 
 
 You'll probably need to copy the binaries to internal storage because
 /sdcard is mounted as noexec.  I ran into that problem last year and it took
 me ages to make sense of the error message...

Yikes, thanks for the heads-up!

Chris.

---
http://mccormick.cx

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


Re: [PD] Pd on Android

2011-09-06 Thread Chris McCormick
On Mon, Sep 05, 2011 at 11:26:27PM -0400, Hans-Christoph Steiner wrote:
 Should be easy if you start with the code in Peter Brinkmann's  
 ScenePlayer.

Ah yes, great idea. I have noted this now.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] Pd on Android

2011-09-05 Thread Chris McCormick
Hi Pierre,

 Hi Chris, I tried PdDroidParty on my cousin's phone over the week-end.
 It's
 so easy to install and use it's scary. Thank you for sharing this!

Great stuff, I'm glad it works easily for you. These kind words make me
motivated to get the new release out ASAP! :)

(My Android phone died last night unfortunately but I will try to buy a
new one today as the new release is very close and I might just be able to
fit it into the family budget with some stretching heheheh).

 Now two questions :
 - Do you plan on improving the GUI just a little bit? (I like the rough
 look
 of Pd's native GUI, but i think it'd be nice if we could have a little
 color
 on the sliders, bangs and toggles).

Attached is a screenshot of what I am working on right now. You can theme
the supported widgets with SVGs. E.g. an SVG image for toggle-on and a
different one for toggle-off. You can have different SVGs according to
labels and sendname too. So for example you could have all toggles themed
with one look, and then give one toggle the send field of record
themed differently with an SVG (Toggle-record-off.svg) that looks like a
record button.

 - Can i use [shell] in Android in order to delete and create folders, and
 generally manage the tracks i record on the phone?

I have made an abstraction called [loadsave] which wraps openpanel and
savepanel in desktop Pd and lets you have a nice Android style interface
on the device. That gives you a small amount of access to the filesystem,
but not everything you mention. If you use the [menubutton] abstraction
you can put things in the Android menu too. See the other screenshot for
that.

However, your question begs a larger one which is support for a limited
number of externals. It would be cool to support [shell] and also the OSC
externals in PdDroidParty, but it really depends on whether they have used
Hans' Makefile-template which makes compiling for Android trivial. I will
put this on the TODO list to investigate.

In the end I would like to keep the number of externals as small as
possible so that things work on vanilla Pd on the desktop, but if someone
really needs something I am happy to look at putting it in. This is
especially true if you get the PdDroidParty code checked out and do the
work of making an external compile in yourself. :D

Cheers,

Chris.

---
http://mccormick.cx
attachment: device-2011-08-30-100028.pngattachment: device-2011-08-30-101515.png___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Android

2011-09-05 Thread Chris McCormick
On Mon, Sep 05, 2011 at 06:20:26PM -0400, Hans-Christoph Steiner wrote:
 [shell] is in ggee and [system] is in motex, both of those use the  
 Makefile Template, so they should be really easy to compile for Android.  
 How are you installing externals with PdDroidParty? It'd be nice to have 
 a simple, common folder to drop the whole library in, say something like 
 /sdcard/pd-externals.

Hm, that's a good idea, and then the user could put the externals they want in 
that folder themselves. I guess I just use libpd's command to add that folder 
to Pd's path?

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] Pd on Android

2011-09-05 Thread Chris McCormick
On Mon, Sep 05, 2011 at 02:49:41PM +0200, Pierre Massat wrote:
 I forgot to ask : can i use the tilt-sensor in PdDroidParty?

Not yet, but it is on my TODO list. Also multitouch support, which people have 
requested too.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] (breaking symbols) was Re: find a list of numbers in a text file

2011-09-04 Thread Chris McCormick
On Sun, Sep 04, 2011 at 02:23:59PM -0400, Hans-Christoph Steiner wrote:
 After looking at Jonathan's ratio splitting abstraction I think this  
 might actually be possible with [makefilename] madness, but it's much 
 uglier than what you propose:
 http://lists.puredata.info/pipermail/pd-list/2011-08/090196.html

 Definitely check out Bryan Jurish's moocow with its bytes2any and  
 any2bytes.  They work quite nicely for converting between messages and  
 lists of byte floats and are easy to use.

I only want to use externals that I can guarantee every user who I distribute 
my patches to will have, or can easily get, including people on mobile devices. 
Do those externals compile with your Makefile-template?

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] pd-la Patching Circle/Workshop With Peter Kirn

2011-09-03 Thread Chris McCormick
On Fri, Sep 02, 2011 at 04:58:03PM -0700, Theron Trowbridge wrote:
 Peter is a musician, Create Digital Music blogger
 (http://createdigitalmusic.com/), and is involved in porting pdlib to
 Processing and the design of the hackable synthesizer, the MeeBlip
 (http://meeblip.noisepages.com/).
 
 On Thursday, September 8th, from 7-10 PM, Peter will be teaching a
 workshop about using pdlib within Processing.

...
 
 The patching circle meets at CRASHspace (10526 Venice Blvd, Culver
 City CA 90232) and is open and free to all.  Donations to support
 CRASHspace are of course welcome.

This should be excellent. Wish I could make it!

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] receiving messages in [expr] ?

2011-09-01 Thread Chris McCormick
On Sat, Aug 27, 2011 at 03:59:14PM -0400, Mathieu Bouchard wrote:
 You'll have to come up with a more phenomenological approach than picking 
 whatever currently looks the most impredictable thing in the science 
 book.

Why? Randomness is epistemic.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] receiving messages in [expr] ?

2011-09-01 Thread Chris McCormick
On Thu, Sep 01, 2011 at 07:38:32PM -0400, Mathieu Bouchard wrote:
 On Fri, 2 Sep 2011, Chris McCormick wrote:

 On Sat, Aug 27, 2011 at 03:59:14PM -0400, Mathieu Bouchard wrote:
 You'll have to come up with a more phenomenological approach than picking
 whatever currently looks the most impredictable thing in the science
 book.

 Why? Randomness is epistemic.

 What does that mean to you ?

Epistemic: Adjective - Of or relating to knowledge or to the degree of its 
validation.

It means I think that taking whatever currently looks the most impredictable 
thing in the science book is a good approach.

Don't run a lottery with Miller's [noise~] unless you like giving away money.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] receiving messages in [expr] ?

2011-09-01 Thread Chris McCormick
On Thu, Sep 01, 2011 at 07:48:26PM -0400, Mathieu Bouchard wrote:
 On Fri, 2 Sep 2011, Chris McCormick wrote:

 Epistemic: Adjective - Of or relating to knowledge or to the degree of 
 its validation. It means I think that taking whatever currently looks  
 the most impredictable thing in the science book is a good approach.  
 Don't run a lottery with Miller's [noise~] unless you like giving away  
 money.

 But in music, what is called noise has little to do with predictability 
 of its samples, be it a snare drum sound, a white noise, or something 
 from reality tv.

Yes that's true.

Chris.

---
http://mccormick.cx

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


Re: [PD] (breaking symbols) was Re: find a list of numbers in a text file

2011-08-31 Thread Chris McCormick
On Tue, Aug 30, 2011 at 11:19:46PM -0700, Miller Puckette wrote:
  I am in favour of having that functionality as part of [list] and those 
  names look good to me. For the functionality you describe maybe something 
  like [list ascii2symbol] and [list symbol2ascii]? Those would also be 
  pretty useful!
  
  I am currently making a [split] abstraction based on Jamie's work. I will 
  send it through when I am done - or you can just look at symbol2list's 
  source which IOhannes has re-licensed in a message to this list for use in 
  Pd:
  
 
 hmm... another possibility, as in lisp: list explode and list implode ?

Also good!

 My idea is that, once this is in Pd vanilla, the  2/3 - 2 3 type
 of split is easy enough to program in an abstraction, but it's presently
 not possible at all; meanwhile, the funtionality I'm describing is pretty
 canonical and hard to split up into finer components in any way I can see.

Ah, ok, so you could do:

bat/cat/rat - 98 97 116 47 99 97 116 47 114 97 116

and then you would run through the number list finding 47 (/) and re-building 
the separate symbols using the reverse operation.

I guess this would be cool because it would also allow you to store proper 
strings with all kinds of characters in regular Pd arrays, which might be fun. 
Hmmm, also many other things!

 easy enough to program in an abstraction, but it's presently
 not possible at all;

After looking at Jonathan's ratio splitting abstraction I think this might 
actually be possible with [makefilename] madness, but it's much uglier than 
what you propose:
http://lists.puredata.info/pipermail/pd-list/2011-08/090196.html

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] making puredata headphone-safe

2011-08-31 Thread Chris McCormick
On Wed, Aug 31, 2011 at 12:59:39PM -0400, Hans-Christoph Steiner wrote:
 On Aug 31, 2011, at 8:09 AM, Roman Haefeli wrote:

 I always had the feeling, that on OS X on MacBooks (Pro) the sound
 coming from the speakers is heavily processed. Audio sounds a lot
 'punchier' than for example the same audio played on the same machine
 from Linux. I haven't had a chance to play around with it, since I  
 don't
 own a MacBook, but from what Hans says, to me it sounds as the
 application output is not clipped to -1/1 before going to the  
 (CoreAudio
 internal?) dynamics stage, but processed and limited first and only  
 then
 sent to the speakers. This would also explain, why the setup Hans
 explained above would completely shutdown the sound output.  Probably,
 if you wait long enough, sound would come back again, assuming that  
 it's
 the limiter's release time, that becomes very long due to the very  
 high
 level coming in...


 Yes, CoreAudio does do processing on the audio before outputting it.  I 
 forget all the details.

Is this true of the iOS devices too? I always got the impression there was some 
mad compression going on there. I could just imagine Steve Jobs issuing a 
directive: My favorite crunk mp3s do not POP enough. Make everything POP more 
immediately. The resulting ear fatigue must explain why I get blank looks when 
I yell about how great GNU/Linux is to Apple users.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] Pd on Android

2011-08-31 Thread Chris McCormick
Hi,

On Wed, Aug 31, 2011 at 06:00:12PM +0200, athos bacchiocchi wrote:
 2011/8/31 Chris McCormick ch...@mccormick.cx
 
  As Michael Noble mentioned, I really think PdDroidParty could help you
  here.
 
 
 hey, that's really nice, thanks for sharing!  I'm thinkering with it, is
 there a way to get data from the phone's accelerometer?

No there isn't. Maybe this is something I should add. I will put it on the TODO 
list.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] (breaking symbols) was Re: find a list of numbers in a text file

2011-08-30 Thread Chris McCormick
Hi Miller,

On Tue, Aug 30, 2011 at 01:21:29PM -0700, Miller Puckette wrote:
 belated response...
 
 how about 'list tosymbol' and 'list fromsymbol'?  I.e.
 
 98 97 116 - bat - 98 97 116

I don't think this would accomodate the same use-cases as zexy's [symbol2list] 
or the hypothetical [split]. It doesn't really help in the original 
ratio-parsing case which started this thread.

I was thinking more of:

(symbol) this/is/my/path/symbol.txt - (list) this is my path 
symbol.txt - (symbol) this/is/my/path/symbol.txt

Or in the ratios case cited:

2/3 - 2 3 - 2/3

This would give it a great deal of general usefulness.

I am in favour of having that functionality as part of [list] and those names 
look good to me. For the functionality you describe maybe something like [list 
ascii2symbol] and [list symbol2ascii]? Those would also be pretty useful!

I am currently making a [split] abstraction based on Jamie's work. I will send 
it through when I am done - or you can just look at symbol2list's source which 
IOhannes has re-licensed in a message to this list for use in Pd:

http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/zexy/src/symbol2list.c?revision=15284content-type=text%2Fplain

http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/zexy/reference/symbol2list-help.pd?revision=15284

i hereby grant miller s. puckette (the authore of pure-data) the
right to use (and modify) the code of zexy's symbol2list objectn to
integrate it into puredata under the terms of the revised BSD license
under which puredata is currently distributed.

IOhannes - http://lists.puredata.info/pipermail/pd-list/2011-08/090184.html

Cheers,

Chris.

 On Wed, Aug 03, 2011 at 10:45:24PM +0100, Andy Farnell wrote:
  
  
  
  
  On Wed, 3 Aug 2011 17:12:49 -0400
  Hans-Christoph Steiner h...@at.or.at wrote:
  
   
   On Aug 3, 2011, at 3:29 PM, Andy Farnell wrote:
   
On Wed, 3 Aug 2011 14:21:09 +0800
Chris McCormick ch...@mccormick.cx wrote:
   
Would you consider adding a more generally useful [split] object
   
I agree this would be a useful core object.
   
What problems, if any, do you forsee?
   
Would those outputs implicitly be symbols? Or would we venture
the types in advance like
   
[split f / f]
   
to obtain two floats
   
Turning the symbol 5/7 to a real number
would then be
   
[symbol 5/7(
|
[split f / f]
|/
[/  ]
|
[number 0.714285]
   
   
   I think to fit with the Pd type system in general, it should  
   automatically interpret things into floats and symbols 
   (http://puredata.info/dev/PdDefinitions 
   ):
   
 Pd Manual 2.1.2
   
   The text is divided into atoms separated by white space.
   
   Atoms are either numbers or symbols like '+'. 
   
   Pd Manual 2.1.2
   
   Anything that is not a valid number is considered a symbol.
  
  
  That seems unambiguous. So I guess if you wanted your numbers as 
  symbols, you'd explicitly convert them back to symbols. 
  
  I used to use [symbol2list] a lot, so Iohannes suggestion
  is interesting. But could that split on an arbitary 
  symbol like Chris suggests for the proposed [split] ?
  
  a.
  
  -- 
  Andy Farnell padawa...@obiwannabe.co.uk
  
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
---
http://mccormick.cx

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


Re: [PD] Pd on Android

2011-08-30 Thread Chris McCormick
Hi Pierre,

On Tue, Aug 30, 2011 at 09:32:31AM +0200, Pierre Massat wrote:
 Now regarding my use of Pd in Android. I don't need to do anything fancy,
 all i'd like to develop for now is a small 2 or 4-track recorder, to help me
 work on my new songs in a more flexible way than with my old cassette
 recorder. So how should i go about it? Can i use ScenePlayer with a patch
 that does just that? Or should i develop my own native app in android using
 libpd (which is still very obscure to me at the moment)?

As Michael Noble mentioned, I really think PdDroidParty could help you here.

Bascially you can make your 4-track recorder in regular old Pd, then copy your 
4-track recorder patch to your Android device's sdcard via USB or whatever, 
start PdDroidParty, et voilà.

http://mccormick.cx/projects/PdDroidParty

I genuinely beleive this is the easiest way to get your Pd patches running on 
Android.

I am just about to do a new release of PdDroidParty which has a bunch of great 
stuff like SVG themable Pd widgets, and makes it easier to distribute your 
patch as a standalone Android app. Will post here when that happens.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] receiving messages in [expr] ?

2011-08-25 Thread Chris McCormick
On Thu, Aug 25, 2011 at 11:20:47PM +0200, Thomas Grill wrote:
 Am 25.08.2011 um 19:40 schrieb Andrew Faraday:
  you can't hear noise against noise :p
 
 Interesting - but then again, what is noise?

http://en.wikipedia.org/wiki/Wave_function_collapse

Chris.

---
http://mccormick.cx

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


Re: [PD] notes/questions from a beginner

2011-08-23 Thread Chris McCormick
On Tue, Aug 23, 2011 at 03:09:04PM +0100, Stephen Lavelle wrote:
  click on the number box and type the numberbox.
  this is a runmode operation (that's why you probably missed it)
 
 Wow.  Thanks for this.  Possibly editmode, but also because there's no
 indication that the box contents are editable by pressing keys (no caret,
 c.).  Is there a reason it's disabled in editmode?

You can do it from editmode by ctrl-clicking the numberbox and then typing 
(ctrl key puts you in run mode while it is held down).

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] making puredata headphone-safe

2011-08-23 Thread Chris McCormick
On Tue, Aug 23, 2011 at 06:48:05PM -0400, Martin Peach wrote:
 An [osc~] multiplied by  will sound louder  
 but it won't actually be louder than an osc multiplied by one (the  
 amplitude at the output will still be between 1 and -1).

I think it actually depends on your sound card whether or not this is true with 
Pd. I might be mistaken but I am pretty sure some sound cards will let you 
output abs(x)  1. Hmmm actually this doesn't make sense to me if the driver is 
accepting a 16 bit signed int. Can someone confirm whether this is the case?

Incidentally, if I recall correctly, Miller told me that he uses a set of 
small, cheap speakers when doing experimental stuff so as to save ear damage. 
At least I think it was Miller.

My own ears are a lost cause after years of punk gigs so I don't have this 
problem.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] (breaking symbols) was Re: find a list of numbers in a text file

2011-08-03 Thread Chris McCormick
Hi Miller,

On Tue, Aug 02, 2011 at 09:35:14PM -0700, Miller Puckette wrote:
 Nope... there needs to be a string-to-binary-list-and-back function somewhere
 but I can't figure out what to name it :)

Would you consider adding a more generally useful [split] object to Pd for this 
type of thing? Something like this is present in Perl, Python, Javascript, etc. 
It has two inlets and one argument. The right inlet and argument both specify 
the character or sequence of characters (symbol) to split the incoming symbol 
on. The left inlet accepts a symbol and the single outlet outputs a list, which 
is the symbol that came in, split into a list of atoms using the specified 
character or symbol as a divider.

 On Wed, Aug 03, 2011 at 01:26:21AM -0300, Alexandre Torres Porres wrote:
  now, some files come in ratios as one symbol like this
  
  5/4
  3/2
  7/4

Here you would use [split /] and filter those atoms like 5/4 through to get 
lists like 5 4.

This would make a whole bunch of behaviour possible in Pd that is currently 
only possible with externals.

Hm, I should just contribute a patch.

Cheers,

Chris.


---
http://mccormick.cx

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


Re: [PD] [PD-announce] Pd Convention - Data structures workshop: Taking your requests

2011-08-03 Thread Chris McCormick
On Tue, Aug 02, 2011 at 03:02:47PM -0700, Jonathan Wilkes wrote:
 If you look at the canvas get method I added to the tracker, you'll see I 
 have a get parent RECEIVE-SYMBOL message that returns a pointer to the 
 parent canvas (or a zero if there isn't one).  This allows you to:
 
 [bng]
 |
 [f $0]
 
 |
 
 [get parent $1-rcv]
 |
 [s pd-$0-mysubpatch]
 
 [r $0-rcv]
 |
 [route parent]
 |
 [route 0]
     |
 
 [pointer]
 
 
 Now [pointer] is pointing at the parent of [pd $0-mysubpatch], so if I 
 immediately follow this by sending the message send-window obj 20 20 clip 
 to [pointer], I get a [clip] object on it's parent.  That's just a silly 
 example, but notice it's different than sending to pd-PATCH-FILENAME.pd, 
 which would draw a [clip] on every instance of that patch that is open.
 
 Put this in an abstraction and it obsoletes [namecanvas].  Or create an 
 abstraction to climb to the root, or the toplevel, etc.
  

Amazing!

Chris.

---
http://mccormick.cx

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


Re: [PD] (breaking symbols) was Re: find a list of numbers in a text file

2011-08-03 Thread Chris McCormick
On Wed, Aug 03, 2011 at 09:34:50AM +0200, IOhannes m zmoelnig wrote:
 On 2011-08-03 08:21, Chris McCormick wrote:
  
  Hm, I should just contribute a patch.
  
 
 you could also just take the code of zexy's [symbol2list] object.
 it does exactly what you describe.
 
 PS: i hereby grant miller s. puckette (the authore of pure-data) the
 right to use (and modify) the code of zexy's symbol2list objectn to
 integrate it into puredata under the terms of the revised BSD license
 under which puredata is currently distributed.

What do you reckon, Miller? Would it help if I did the aforementioned work of 
integrating it and submitting a nice clean patch with helpfile and all?

Heck, I will just do it and see.

Chris.

---
http://mccormick.cx

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


Re: [PD] Redis sync, async and subscriber client: Puredis

2011-07-25 Thread Chris McCormick
On Mon, Jul 25, 2011 at 09:27:39AM -0400, Louis-Philippe wrote:
 I'm still quite new to the Pure Data world, so please be indulgent to my
 first hacked external offering: puredis.
 Any of you heard of Redis? http://antirez.com/post/redis-manifesto.html

Hi,

Very cool, thanks for sharing!

Chris.

---
http://mccormick.cx

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


[PD] PdDroidParty v97 release

2011-07-24 Thread Chris McCormick
Hi,

v97 includes the following internals emulated (not feature complete but the 
basics work): comment, numberbox, numberbox2, sliders, toggle, bang, canvas.

The following special abstractions are also natively emulated on the device. 
You can find out more about these in droidparty-abstractions/_OVERVIEW.pd:

[wordbutton] - It's like a bang, but on the device it is a box with a word in 
it.

[numberbox] - It's like a numberbox, but on the device it stretches to fit a 
rectangle. (better layout).

[taplist] - Lets the user tap through a list of symbols/floats to select one.

[touch] - Kaospad style 2d touch surface.

[menubang] - Puts an entry into the application menu which sends a bang when he 
user selects it. Optional icon is called menubang-.png where  is the 
name of your menubang.

[loadsave] - Wraps an openpanel/savepanel type of interface into a single 
abstraction that lets the user specify or choose filenames on Android (works 
well with sssad).

http://mccormick.cx/projects/PdDroidParty/

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] iphone or android for pd?

2011-07-23 Thread Chris McCormick
Hi Ronni,

On Thu, Jul 21, 2011 at 06:47:23AM -0700, ronni montoya wrote:
 Hi, i was wondering which mobile phone do you recommend for working
 with pd and rjdj?  Should i get an iphone?
 
 What do you recommend me?

If you are most interested in RjDj, you should get an iThing. If you are 
interested in greater freedom and hackability you should get an Android 
device. It is easier to make your own non-RjDj Pd-based applications and 
distribute them to users on Android than it is on iPhone for example. Peter 
Brinkmann's ScenePlayer application for Android does basically what the RjDj 
application does on iPhone, but it does not feature the same connectivity to 
the official RjDj universe and might not be 100% feature-complete with all RjDj 
patches (although as far as I can tell it runs the scenes that I have tried 
very well).

Of course, there are other things you might consider apart from Pd when buying 
a smart phone, but you can find all of the politics and opinions you like on 
this topic so I won't write anything here. :)

Freedom, freedom, freedom, oi,

Chris.

---
http://mccormick.cx

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


Re: [PD] iphone or android for pd?

2011-07-23 Thread Chris McCormick
Cheers, Andy!

Here is the link: http://mccormick.cx/projects/PdDroidParty/

Chris.

On Sat, Jul 23, 2011 at 10:49:22AM +0100, Andy Farnell wrote:
 
 Have a look at the droid party port
 by Chis McCormick. It's not as flexible 
 and complete as rjdj, but because you are not
 locked in (or out) of a system devised
 for Apples benefit, not yours, it has greater
 potential for creative ideas in the long run.
 
 
 On Sat, 23 Jul 2011 11:34:22 +0200
 Charles Goyard c...@fsck.fr wrote:
 
  Hi,
  
  ronni montoya wrote:
   Hi, i was wondering which mobile phone do you recommend for working
   with pd and rjdj?  Should i get an iphone?
   
   What do you recommend me?
  
  I would recommend an open source/free software operating system.
  
  
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
 
 
 -- 
 Andy Farnell padawa...@obiwannabe.co.uk
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
---
http://mccormick.cx

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


Re: [PD] iphone or android for pd?

2011-07-23 Thread Chris McCormick
On Sat, Jul 23, 2011 at 08:02:31PM +0800, Chris McCormick wrote:
 Hi Ronni,
 
 On Thu, Jul 21, 2011 at 06:47:23AM -0700, ronni montoya wrote:
  Hi, i was wondering which mobile phone do you recommend for working
  with pd and rjdj?  Should i get an iphone?
  
  What do you recommend me?
 
 Freedom, freedom, freedom, oi,

As a fundamentalist cheapskate, I have to also point out that it's possible to 
get an Android phone for $99 that runs Pd. My wife's phone, the Huawei Ideos, 
is $99 AUD out of contract and it runs PdDroidParty's drum machine demo 
flawlessly.

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] Controlling pd patch from mobile phone

2011-07-10 Thread Chris McCormick
On Sat, Jul 09, 2011 at 09:14:25AM +0200, Frank Barknecht wrote:
 You probably need to know the IP-number of your computer, though.

[netsend] now does broadcast UDP so I don't think this is true. For example 
[netro] works automagically on the systems I have tested it on. 
http://code.google.com/p/pd-netro/

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty v72

2011-07-08 Thread Chris McCormick
On Fri, Jul 08, 2011 at 05:14:03PM -0400, Mathieu Bouchard wrote:
 On Fri, 8 Jul 2011, Chris McCormick wrote:

 PdDroidParty is libpd under the hood, which is vanilla Pd. Basically  
 anything which works in Miller's Pd should work in PdDroidParty  
 (although not every GUI is fully emulated yet, and there are  
 restrictions on patching style - you have to use send/receive instead 
 of directly connecting GUIs).

 Do you mean that it's doing something different than just -nogui in  
 vanilla ?

 AFAIK, there are no differences between the g_*.c files in libpd and 
 those in vanilla.

 But I do remember seeing that GUI classes in ZenGarden were just throwing 
 away all messages they received. Perhaps you are thinking about this ?

What I mean by not every GUI is fully emulated yet is that my Android/Java 
code, which draws an emulation of the tcl/tk GUIs of the built-ins on the 
device, does not have coverage of every object yet and does not have coverage 
of all features of the objects that it does emulate.

The built-in GUI objects from g_*.c are still running in -nogui mode exactly 
as they do in vanilla Pd.

Cheers,

Chris.

---
http://mccormick.cx

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


[PD] PdDroidParty v72

2011-07-07 Thread Chris McCormick
Hello,

PdDroidParty v72 is available here:

http://mccormick.cx/projects/PdDroidParty/

It emulates some new built-in GUIS and some abstractions like [touch w h 
sendname], which is a 2d touch surface.

Enjoy.

Ouch, I have a headache,

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty v72

2011-07-07 Thread Chris McCormick
Hi Pedro,

I hope you don't mind me posting this back to the list.

On Thu, Jul 07, 2011 at 04:11:05PM +0100, Pedro Lopes wrote:
 Also I wanted to ask you this: how tough would it be to have multi-touch
 support? (just dreaming a bit maybe).

Yes! That would be awesome. Let's get this thing all Lemur-ed up.

I have no multitouch device myself but I will figure out what this means in the 
code and send you an updated build to test some time, hopefully soon. It's in 
the TODO list! :)

By the way, what happens now if you e.g. try to slide two sliders at once?

Cheers,

Chris.

---
http://mccormick.cx

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


Re: [PD] PdDroidParty v72

2011-07-07 Thread Chris McCormick
Hi Patrick,

On Thu, Jul 07, 2011 at 10:29:20PM +, Pagano, Patrick wrote:
 Will droid party work with udpsend?

As Pedro said, yep.

PdDroidParty is libpd under the hood, which is vanilla Pd. Basically anything 
which works in Miller's Pd should work in PdDroidParty (although not every GUI 
is fully emulated yet, and there are restrictions on patching style - you have 
to use send/receive instead of directly connecting GUIs).

I am now also bundling a few abstractions on the website 
(droidparty-abstractions.zip) and most those are also emulated in 
PdDroidParty's GUI. This means you can put e.g. a 2d [touch] surface in your 
patch in vanilla Pd and also have it show up in PdDroidParty on your device 
(i.e. kaospad). I am also working on [menubang] which is a bang in Pd that gets 
it's own menu entry on the device and a bang is sent when it is pressed - good 
for saving patch parameters for example. Another one I am using a bit is called 
[wordbutton] which is a bang in Pd that shows up as a button with a word on it 
on the device.

My aim is to really make things work exactly the same way whether you are 
developing on your PC or playing on your device. Hopefully write once, run 
everywhere - every device that is. This was born out of a frustration with 
trying to port patches to the RjDj platform and having to build my own GUIs 
there from images and #touch events.

http://mccormick.cx/projects/PdDroidParty

At some point I expect it to be trivial to package up Pd patches as standalone 
Android applications.

Cheers,

Chris.

---
http://mccormick.cx

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


[PD] Extracting RGB components of iemgui's

2011-07-03 Thread Chris McCormick
Hello,

Despite reading several posts in the archive and the source code in 
g_all_guis.c I am embarrassed to say that I am completely stumped by the 
problem of extracting the individual RGB components from the IEM saved color 
value in the .pd file, as ints between 0 and 255.

What I am doing (in the case where the saved value is negative) is:

iemcolor = -1 - iemcolor;
r = (iemcolor  0x3f000)  14;
g = (iemcolor  0xfc0)  4;
b = (iemcolor  0x3f)  2;

I would really appreciate it if someone gave me the opportunity to facepalm by 
illustraing the simple mistake in my approach.

Cheers!

Chris.

---
http://mccormick.cx

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


Re: [PD] Extracting RGB components of iemgui's

2011-07-03 Thread Chris McCormick
Hi Mathieu.

On Sun, Jul 03, 2011 at 01:36:50PM -0400, Mathieu Bouchard wrote:
 On Sun, 3 Jul 2011, Chris McCormick wrote:

 Despite reading several posts in the archive and the source code in  
 g_all_guis.c I am embarrassed to say that I am completely stumped by 
 the problem of extracting the individual RGB components from the IEM 
 saved color value in the .pd file, as ints between 0 and 255.

 as a reference, [#to_iem] supports both iem colour formats, the 18-bit  
 format for files, and the 24-bit format for messages. Such a patch is 
 very simple :

   http://gridflow.ca/svn/trunk/abstractions/%23to_iem.pd
   http://gridflow.ca/help/%23to_iem-help.html

 But it does the opposite conversion of what you are trying to do.

Thanks for the tip. I did have a look at [#to_iem] as well but all examples and 
documentation on this topic seems to be around converting to IEM numbers as you 
point out.

 What I am doing (in the case where the saved value is negative) is:
  iemcolor = -1 - iemcolor;
  r = (iemcolor  0x3f000)  14;
  g = (iemcolor  0xfc0)  4;
  b = (iemcolor  0x3f)  2;

 this is the 18 bit iem format that you are trying to convert to a 3*8 bit 
 component format. You are correctly extracting blue and green, where the  
 shift is 0*6-2 for blue, 1*6-2 for green, but it has to be 2*6-2 for red.

 For the 24 bit iem format, instead, you have to shift by 0*8, 1*8, 2*8.

 -2 is the difference between 6 bits per component and 8 bits per  
 component.

 Note that those conversions scale in a crude way, such that 63 is scaled  
 to 252, instead of the maximum 255. If you want to scale more  
 appropriately to fill the whole range, you need to post-process those  
 components a little bit(s) :

 r = r | (r6)
 g = g | (g6)
 b = b | (b6)

Ah, this is great. Thanks for this information! One last thing I am confused 
about is how I can tell the difference between the 18 bit iem format and the 24 
bit format? In g_all_guis.c I can only see a check for positive/negative 
numbers. Also, what is the iemgui_modulo_color() function all about? I have 
implemented it for consistency but I don't understand why it is there.

Thanks for your help.

Cheers,

Chris.

---
http://mccormick.cx

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


[PD] PdDroidParty - now with [bng]

2011-06-27 Thread Chris McCormick
Hi,

There is a new version of PdDroidParty (Pd with emulated GUIs for Android) 
online - now with bang support.

http://mccormick.cx/projects/PdDroidParty

Have fun!

Cheers,

Chris.

---
http://mccormick.cx

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


[PD] 2d touch abstraction

2011-06-27 Thread Chris McCormick
Hi,

For the PdDroidParty GUI I wanted to support some kind of 2d touch surface
in patches so I made this little GOP datastructure abstraction. Hopefully
this is useful to someone else. Support for this should hopefully be in
the app soon!

Instantiate it in an object box like this:
[touch x-size y-size receiver-name]

Cheers,

Chris.

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


Re: [PD] CVs

2011-06-20 Thread Chris McCormick
On Tue, Jun 21, 2011 at 09:51:23AM +0800, Chris McCormick wrote:
 On Mon, Jun 20, 2011 at 09:15:01PM -0400, Mathieu Bouchard wrote:
  On Mon, 20 Jun 2011, Andy Farnell wrote:
 
  What Plato tried to address in thought, like Godel in logic was that we 
  are incomplete, if there is universality, a one, a good, and there is 
  an I to observe it, but still be of the one, it must invoke a third  
  concept, an existential relation. And that's where the tear begins. 
  Here in the 21st Century the wound still bleeds.
 
  Is it bleeding or is that just something said from the perspective of  
  innocence, as if in a previous world, logic would have been complete ?
 
  If a complete and consistent self-referential logic system is impossible, 
  then this is something that has to be accepted as having been always 
  true, and our conception of the world has to be rebraided according to 
  that truth. It's not useful to keep holding an old ideal of universality 
  that looks like a measuring stick with which we assess an increasing rift 
  between our fantasies and the consciousness of our own limits.
 
  Gödel in the Garden of Eden bites into the fruit of [...] and it all went 
  downhill from there. ;)
 
 Oh I just Kant take any more of this.

Look, I know it's a terrible joke but at least Immanuel.

Chris.

---
http://mccormick.cx

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


Re: [PD] CVs

2011-06-20 Thread Chris McCormick
On Mon, Jun 20, 2011 at 09:15:01PM -0400, Mathieu Bouchard wrote:
 On Mon, 20 Jun 2011, Andy Farnell wrote:

 What Plato tried to address in thought, like Godel in logic was that we 
 are incomplete, if there is universality, a one, a good, and there is 
 an I to observe it, but still be of the one, it must invoke a third  
 concept, an existential relation. And that's where the tear begins. 
 Here in the 21st Century the wound still bleeds.

 Is it bleeding or is that just something said from the perspective of  
 innocence, as if in a previous world, logic would have been complete ?

 If a complete and consistent self-referential logic system is impossible, 
 then this is something that has to be accepted as having been always 
 true, and our conception of the world has to be rebraided according to 
 that truth. It's not useful to keep holding an old ideal of universality 
 that looks like a measuring stick with which we assess an increasing rift 
 between our fantasies and the consciousness of our own limits.

 Gödel in the Garden of Eden bites into the fruit of [...] and it all went 
 downhill from there. ;)

Oh I just Kant take any more of this.

Chris.

---
http://mccormick.cx

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


Re: [PD] RJDJ,sceneplayer Xoom

2011-06-08 Thread Chris McCormick
Hi Joe,

On Wed, Jun 08, 2011 at 01:59:44PM +0100, Joe White wrote:
 Couldn't we just update the [rj_image] external in the ScenePlayer on Android
 to accept any sized image?

Sure, but then scenes you make and run with ScenePlayer would be incompatible 
with RjDj on iOS. There are other things to be taken into account too, like 
what happens if your user has a tablet with a different aspect ratio? How 
should images be stretched etc.? A fixed 320x320 bitmap is not a great starting 
point to make things more flexible and still look good. Basically you have to 
break the existing RjDj format if you want those features.

With PdDroidParty I am going to provide a facility to bundle SVGs (Scalable 
Vector Graphic) for your patch background and for each GUI type in order to 
theme them. I was also thinking about 9-patch graphics[1]. Hopefully this means 
that patches with fancy graphics will look reasonable on all devices. I am some 
way off from doing that though, and I may run out of steam before I get to it. 
:)

Cheers,

Chris.

[1] http://developer.android.com/guide/developing/tools/draw9patch.html

---
http://mccormick.cx

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


  1   2   3   4   5   >