Re: [PD] confused about $1 in messages

2014-01-21 Thread IOhannes m zmölnig
On 01/20/2014 10:01 PM, Jonathan Wilkes wrote:
 
 It might help some if the selector inside a message box were visually
 distinct from the rest of the message.

+1

 
 You could also have different colors for built-ins vs. custom selectors.

-1

gfmadsr
IOhannes



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


Re: [PD] problem with sort object

2014-01-21 Thread IOhannes m zmölnig
On 01/20/2014 10:16 PM, D G wrote:
 Does this make any sense to anybody? can you replicate the error with the
 same numbers?

yes, i can reproduce the problem.
seems you found a bug.

please report it on
  http://bugs.puredata.info/

it would be great if you could provide a *patch* (.pd-file) that
reproduces the problem.


fgdms
IOhannes



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


[PD] ALSA MIDI problem

2014-01-21 Thread Jack
Hello,

I need your help :)

I try to use my M-Audio Uno MIDI interface with Pd, but it doesn't work.

I tried this three command to be sure that my MIDI interface works.

$ lsusb
...
Bus 001 Device 007: ID 0763:0150 Midiman M-Audio Uno
...

$ dmesg | tail
[  389.178324] usb 1-1.2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[  389.178328] usb 1-1.2: Product: USB Uno MIDI Interface
[  389.178331] usb 1-1.2: Manufacturer: M-Audio

$ amidi -p hw:1 -S 'F0 43 10 4C 00 00 7E 00 F7'
and i can see the LED MIDI out blinking.

Now with Pd, i tried :
$ pd -nosleep -noaudio -alsamidi -midiindev 0 -midioutdev 0
or
$ pd -nosleep -noaudio -alsamidi -midiindev 1 -midioutdev 1

but after checking the toggle MIDI OUT in media - test Audio and
MIDI, and can't see LED blinking on my interface.
Even after media - ALSA MIDI : In Ports : 1, Out Ports : 1 - Apply
and OK, I get nothing.

I am sure i miss something...
Any help is welcome.
Thanx.
++

Jack



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


Re: [PD] ALSA MIDI problem

2014-01-21 Thread Jack
Ok, I find a solution :

$ aconnect -i
client 0: 'System' [type=noyau]
0 'Timer   '
1 'Announce'
client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
client 20: 'USB Uno MIDI Interface' [type=noyau]
0 'USB Uno MIDI Interface MIDI 1'
client 128: 'Pure Data' [type=utilisateur]
1 'Pure Data Midi-Out 1'

$ aconnect -o
client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
client 20: 'USB Uno MIDI Interface' [type=noyau]
0 'USB Uno MIDI Interface MIDI 1'
client 128: 'Pure Data' [type=utilisateur]
0 'Pure Data Midi-In 1'

then :
$ aconnect 128:1 20:0

Now, how can i keep this configuration each time i reboot my laptop ?
++

Jack



Le 21/01/2014 12:18, Jack a écrit :
 Hello,

 I need your help :)

 I try to use my M-Audio Uno MIDI interface with Pd, but it doesn't work.

 I tried this three command to be sure that my MIDI interface works.

 $ lsusb
 ...
 Bus 001 Device 007: ID 0763:0150 Midiman M-Audio Uno
 ...

 $ dmesg | tail
 [  389.178324] usb 1-1.2: New USB device strings: Mfr=1, Product=2,
 SerialNumber=0
 [  389.178328] usb 1-1.2: Product: USB Uno MIDI Interface
 [  389.178331] usb 1-1.2: Manufacturer: M-Audio

 $ amidi -p hw:1 -S 'F0 43 10 4C 00 00 7E 00 F7'
 and i can see the LED MIDI out blinking.

 Now with Pd, i tried :
 $ pd -nosleep -noaudio -alsamidi -midiindev 0 -midioutdev 0
 or
 $ pd -nosleep -noaudio -alsamidi -midiindev 1 -midioutdev 1

 but after checking the toggle MIDI OUT in media - test Audio and
 MIDI, and can't see LED blinking on my interface.
 Even after media - ALSA MIDI : In Ports : 1, Out Ports : 1 - Apply
 and OK, I get nothing.

 I am sure i miss something...
 Any help is welcome.
 Thanx.
 ++

 Jack



 ___
 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] [OT] invitation to take part in research study

2014-01-21 Thread Pedro Ângelo

Dear friends,

I apologise in advance for any duplicate copies of this email you might 
receive.


As part of my PHD research on heterogeneous systems and creativity I'm 
running an online questionnaire about the needs and work practices of 
artists and creatives who develop technology-based projects with a 
special focus on interactive systems as those used in art installations 
and live performance:


http://goo.gl/PLTMRd

I would like to kindly ask for your help with this work, both by 
responding to the questionnaire and by spreading the word about it to 
people and collectives you feel might have an interesting contribution 
to this effort.


If you'd like to have a bit more info about it, I've also written a 
small blog post outlining the context and motivation for this study:


http://dataflower.org/blog/collaborative-practices-in-creative-computing/

Thank you very much for your help.

Best regards,

Pedro Ângelo.

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


Re: [PD] [OT] invitation to take part in research study

2014-01-21 Thread Pierre Massat
Hey,

How long does it take to respond to it ?

Cheers,

Pierre.


2014/1/21 Pedro Ângelo pang...@void.io

 Dear friends,

 I apologise in advance for any duplicate copies of this email you might
 receive.

 As part of my PHD research on heterogeneous systems and creativity I'm
 running an online questionnaire about the needs and work practices of
 artists and creatives who develop technology-based projects with a special
 focus on interactive systems as those used in art installations and live
 performance:

 http://goo.gl/PLTMRd

 I would like to kindly ask for your help with this work, both by
 responding to the questionnaire and by spreading the word about it to
 people and collectives you feel might have an interesting contribution to
 this effort.

 If you'd like to have a bit more info about it, I've also written a small
 blog post outlining the context and motivation for this study:

 http://dataflower.org/blog/collaborative-practices-in-creative-computing/

 Thank you very much for your help.

 Best regards,

 Pedro Ângelo.

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

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


Re: [PD] confused about $1 in messages

2014-01-21 Thread Funs Seelen
On Mon, Jan 20, 2014 at 7:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote:

 I'm not sure why the people replying to you are feigning ignorance on how
 this situation could possibly be confusing.


I'm not aware of feigning or having feigned ignorance. I was just pointing
out about the same as you did, although I must say that your explanation
was a bit more elaborate. Where I used the word indicator I meant
selector of course.

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


Re: [PD] ALSA MIDI problem

2014-01-21 Thread IOhannes m zmölnig
On 01/21/2014 02:20 PM, Jack wrote:
 
 Now, how can i keep this configuration each time i reboot my laptop ?
 ++

if you have a desktop, use qjackctl (which despite it's name can also
handle alsa-midi routing):
- create a new patchbay that connects your audio-device with Pd
- enable the patchbay
- start qjackctl at startup.

fgmdsart
IOhannes




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


Re: [PD] ALSA MIDI problem

2014-01-21 Thread Dan Wilcox
Here's a portion of a startup script I use:



echo rc_starts_pd: strating pd
pd -rt -nogui -alsa -audiodev 4 -audiobuf 10 -alsamidi $PATCH 

# renice pd for much higher priority
renice -10 $(pidof pd)

# wait for pd to initialize
KA=$(aconnect -i -o | grep Pure Data)
while [ $KA =  ]
do
sleep 1
echo rc_starts_pd: pd alsamidi not ready
KA=$(aconnect -i -o | grep Pure Data)
done
echo rc_starts_pd: pd alsmidi is ready

# connect the UA-25 midi to Pure Data
echo rc_starts_pd: alsa midi connect 'UA-25' - 'Pure Data'
aconnect 'UA-25' 'Pure Data'
aconnect 'Pure Data':1 'UA-25':0

# connect the VIEWCON dongle midi to Pure Data
echo rc_starts_pd: alsa midi connect 'VIEWCON..' - 'Pure Data'
aconnect 'VIEWCON..' 'Pure Data'
aconnect 'Pure Data':1 'VIEWCON..':0

--

It starts Pd, then waits until the PD midi device is registered with ALSA 
before trying to connect two Midi devices: UA-25  VIEWCON..

You could run the script from you ~/.bash_profile which would call it as soon 
as the user is logged in. I use this:

-

# do nothing if this is a ssh session
if [ $SSH_CLIENT !=  ] ; then
exit
fi

rc_starts_pd

-

It's important to ignore ssh sessions since, if you're like me, and you want to 
login to your (wearable) computer via SSH to check something, you don't want to 
launch a new instance of pd.

On Jan 21, 2014, at 1:37 PM, pd-list-requ...@iem.at wrote:

 From: Jack j...@rybn.org
 Subject: Re: [PD] ALSA MIDI problem
 Date: January 21, 2014 at 8:20:27 AM EST
 To: pd-list@iem.at pd-list@iem.at
 
 
 Ok, I find a solution :
 
 $ aconnect -i
 client 0: 'System' [type=noyau]
0 'Timer   '
1 'Announce'
 client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
 client 20: 'USB Uno MIDI Interface' [type=noyau]
0 'USB Uno MIDI Interface MIDI 1'
 client 128: 'Pure Data' [type=utilisateur]
1 'Pure Data Midi-Out 1'
 
 $ aconnect -o
 client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
 client 20: 'USB Uno MIDI Interface' [type=noyau]
0 'USB Uno MIDI Interface MIDI 1'
 client 128: 'Pure Data' [type=utilisateur]
0 'Pure Data Midi-In 1'
 
 then :
 $ aconnect 128:1 20:0
 
 Now, how can i keep this configuration each time i reboot my laptop ?
 ++
 
 Jack


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





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


Re: [PD] confused about $1 in messages

2014-01-21 Thread Jonathan Wilkes

On 01/21/2014 04:02 AM, IOhannes m zmölnig wrote:

On 01/20/2014 10:01 PM, Jonathan Wilkes wrote:

It might help some if the selector inside a message box were visually
distinct from the rest of the message.

+1


You could also have different colors for built-ins vs. custom selectors.

-1


Hm... care to explain your votes?  Is it the word colors that got a 
-1, or

the idea of visually distinguishing between the two groups?

-Jonathan



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


Re: [PD] ALSA MIDI problem

2014-01-21 Thread Dan Wilcox
Oh woops. You want to call that in ~/.bash_login, not ~/bash_profile.

On Jan 21, 2014, at 3:17 PM, Dan Wilcox danomat...@gmail.com wrote:

 Here's a portion of a startup script I use:
 
 
 
 echo rc_starts_pd: strating pd
 pd -rt -nogui -alsa -audiodev 4 -audiobuf 10 -alsamidi $PATCH 
 
 # renice pd for much higher priority
 renice -10 $(pidof pd)
 
 # wait for pd to initialize
 KA=$(aconnect -i -o | grep Pure Data)
 while [ $KA =  ]
 do
   sleep 1
   echo rc_starts_pd: pd alsamidi not ready
   KA=$(aconnect -i -o | grep Pure Data)
 done
 echo rc_starts_pd: pd alsmidi is ready
 
 # connect the UA-25 midi to Pure Data
 echo rc_starts_pd: alsa midi connect 'UA-25' - 'Pure Data'
 aconnect 'UA-25' 'Pure Data'
 aconnect 'Pure Data':1 'UA-25':0
 
 # connect the VIEWCON dongle midi to Pure Data
 echo rc_starts_pd: alsa midi connect 'VIEWCON..' - 'Pure Data'
 aconnect 'VIEWCON..' 'Pure Data'
 aconnect 'Pure Data':1 'VIEWCON..':0
 
 --
 
 It starts Pd, then waits until the PD midi device is registered with ALSA 
 before trying to connect two Midi devices: UA-25  VIEWCON..
 
 You could run the script from you ~/.bash_profile which would call it as soon 
 as the user is logged in. I use this:
 
 -
 
 # do nothing if this is a ssh session
 if [ $SSH_CLIENT !=  ] ; then
 exit
 fi
 
 rc_starts_pd
 
 -
 
 It's important to ignore ssh sessions since, if you're like me, and you want 
 to login to your (wearable) computer via SSH to check something, you don't 
 want to launch a new instance of pd.
 
 On Jan 21, 2014, at 1:37 PM, pd-list-requ...@iem.at wrote:
 
 From: Jack j...@rybn.org
 Subject: Re: [PD] ALSA MIDI problem
 Date: January 21, 2014 at 8:20:27 AM EST
 To: pd-list@iem.at pd-list@iem.at
 
 
 Ok, I find a solution :
 
 $ aconnect -i
 client 0: 'System' [type=noyau]
0 'Timer   '
1 'Announce'
 client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
 client 20: 'USB Uno MIDI Interface' [type=noyau]
0 'USB Uno MIDI Interface MIDI 1'
 client 128: 'Pure Data' [type=utilisateur]
1 'Pure Data Midi-Out 1'
 
 $ aconnect -o
 client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
 client 20: 'USB Uno MIDI Interface' [type=noyau]
0 'USB Uno MIDI Interface MIDI 1'
 client 128: 'Pure Data' [type=utilisateur]
0 'Pure Data Midi-In 1'
 
 then :
 $ aconnect 128:1 20:0
 
 Now, how can i keep this configuration each time i reboot my laptop ?
 ++
 
 Jack
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





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


Re: [PD] ALSA MIDI problem

2014-01-21 Thread Jack
Thanx Dan and IOhannes for your solutions !
I will try them as soon as possible.
++

Jack



Le 21/01/2014 23:09, Dan Wilcox a écrit :
 Oh woops. You want to call that in ~/.bash_login, not ~/bash_profile.

 On Jan 21, 2014, at 3:17 PM, Dan Wilcox danomat...@gmail.com
 mailto:danomat...@gmail.com wrote:

 Here's a portion of a startup script I use:

 

 echo rc_starts_pd: strating pd
 pd -rt -nogui -alsa -audiodev 4 -audiobuf 10 -alsamidi $PATCH 

 # renice pd for much higher priority
 renice -10 $(pidof pd)

 # wait for pd to initialize
 KA=$(aconnect -i -o | grep Pure Data)
 while [ $KA =  ]
 do
 sleep 1
 echo rc_starts_pd: pd alsamidi not ready
 KA=$(aconnect -i -o | grep Pure Data)
 done
 echo rc_starts_pd: pd alsmidi is ready

 # connect the UA-25 midi to Pure Data
 echo rc_starts_pd: alsa midi connect 'UA-25' - 'Pure Data'
 aconnect 'UA-25' 'Pure Data'
 aconnect 'Pure Data':1 'UA-25':0

 # connect the VIEWCON dongle midi to Pure Data
 echo rc_starts_pd: alsa midi connect 'VIEWCON..' - 'Pure Data'
 aconnect 'VIEWCON..' 'Pure Data'
 aconnect 'Pure Data':1 'VIEWCON..':0

 --

 It starts Pd, then waits until the PD midi device is registered with
 ALSA before trying to connect two Midi devices: UA-25  VIEWCON..

 You could run the script from you ~/.bash_profile which would call it
 as soon as the user is logged in. I use this:

 -

 # do nothing if this is a ssh session
 if [ $SSH_CLIENT !=  ] ; then
 exit
 fi

 rc_starts_pd

 -

 It's important to ignore ssh sessions since, if you're like me, and
 you want to login to your (wearable) computer via SSH to check
 something, you don't want to launch a new instance of pd.

 On Jan 21, 2014, at 1:37 PM, pd-list-requ...@iem.at
 mailto:pd-list-requ...@iem.at wrote:

 *From: *Jack j...@rybn.org mailto:j...@rybn.org
 *Subject: **Re: [PD] ALSA MIDI problem*
 *Date: *January 21, 2014 at 8:20:27 AM EST
 *To: *pd-list@iem.at mailto:pd-list@iem.at pd-list@iem.at
 mailto:pd-list@iem.at


 Ok, I find a solution :

 $ aconnect -i
 client 0: 'System' [type=noyau]
0 'Timer   '
1 'Announce'
 client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
 client 20: 'USB Uno MIDI Interface' [type=noyau]
0 'USB Uno MIDI Interface MIDI 1'
 client 128: 'Pure Data' [type=utilisateur]
1 'Pure Data Midi-Out 1'

 $ aconnect -o
 client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
 client 20: 'USB Uno MIDI Interface' [type=noyau]
0 'USB Uno MIDI Interface MIDI 1'
 client 128: 'Pure Data' [type=utilisateur]
0 'Pure Data Midi-In 1'

 then :
 $ aconnect 128:1 20:0

 Now, how can i keep this configuration each time i reboot my laptop ?
 ++

 Jack

 
 Dan Wilcox
 @danomatika
 danomatika.com http://danomatika.com/
 robotcowboy.com http://robotcowboy.com/






 
 Dan Wilcox
 @danomatika
 danomatika.com http://danomatika.com
 robotcowboy.com http://robotcowboy.com






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


Re: [PD] Selectors was: confused about $1 in messages

2014-01-21 Thread Jonathan Wilkes

On 01/21/2014 11:23 AM, Funs Seelen wrote:
On Tue, Jan 21, 2014 at 10:02 AM, IOhannes m zmölnig zmoel...@iem.at 
mailto:zmoel...@iem.at wrote:


On 01/20/2014 10:01 PM, Jonathan Wilkes wrote:

 It might help some if the selector inside a message box were
visually
 distinct from the rest of the message.

+1

I don't see how this would prevent the mentioned confusion.


It wouldn't prevent it.  But it would still help.

For an example: IDE syntax highlighting can't prevent confusion when 
learning C or Java or anything else.  But it can cut down on mistakes 
and make things easier/quicker to read.  This would be the same.  Aside 
from the [list] objects, the selector is treated special in message 
passing (in fact it usually determines what happens next), so giving a 
visual clue would be quite helpful.


Additionally, because of implicit float messages the first thing one 
sees in a message box is not necessarily the selector.  One of the 
sources of confusion is looking at [1 2 3( and deducing that the first 
atom is $1, the second atom is $2, and so on.  That's fine but it 
doesn't work for the general case.  And that's when someone has to 
understand how selectors work.  They aren't very complex, and I try to 
be consistent when describing the anatomy of a message-- but in a visual 
programming environment it's really great to connect the dots by saying 
the word in the little rounded box there. Furthermore, it serves as a 
reminder of what the user just learned.


It might seem superfluous or even distracting.  But look back at the 
OP's message: one two three.  That's a message which implicitly 
assumes all atoms of the message are created and treated equally. Again 
it doesn't prevent confusion, but having the word one visually 
distinguished from two three is one step closer to understanding 
what's going on.


In essence, it helps to create a low latency learning environment by 
removing unnecessary round trips through the Pd-list.



And how would you like to do this? Italics, size, colors, different font?


I like the little token widgets that are used in email apps and other 
places.  That's hard to do in a tk canvas, easier in tkpath (Pd-l2ork).


Of course it's complicated by nonlocal message-passing when using 
semicolons, so it may prove to be rather troublesome to implement. But I 
still like the idea and will look into what it would take to do it.


-Jonathan



It seems that [list] classes (e.g. [list split]) turn words into 
symbols and multiple words into a list automatically, just as numbers 
are turned into floats and multiple numbers into a list everywhere in 
Pd. The confusion is not that people cannot remember the words float, 
list, bang, symbol to be reserved, but that they are used to the 
convenience of how Pd handles floats and list of floats. You would 
almost forget that dog is not a symbol and that dog cat bear is 
not a list, particularly because [list split] doesn't complain and 
just returns a real list.


--Funs


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


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


Re: [PD] confused about $1 in messages

2014-01-21 Thread Jonathan Wilkes

On 01/21/2014 11:07 AM, Funs Seelen wrote:




On Mon, Jan 20, 2014 at 7:30 PM, Jonathan Wilkes jancs...@yahoo.com 
mailto:jancs...@yahoo.com wrote:


I'm not sure why the people replying to you are feigning ignorance
on how this situation could possibly be confusing.


I'm not aware of feigning or having feigned ignorance.


Sorry, I didn't see your reply there when I wrote that, just Jack's and 
IOhannes'.  I have a hard time believing they were unable to use their 
knowledge of Pd to deduce with great certainty that the OP thought [one 
two three([$1 $2([print] would output one two.


In fact when I looked back at rolf's ASCII art and did the data flow in 
my head my brain initially flashed one two erroneously.


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


Re: [PD] PdDroidParty release

2014-01-21 Thread puredata

Hi Chris,

Wicked project! Runs well on my upad (yes upad = cheap Android  
tablet): gui is fast, no glitch - but the Android latency is very high  
(471ms).


Yes, making videos would help promote this project (uploading them on  
the vimeo pure data channel):

https://vimeo.com/groups/puredata/

Thanks!!

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