Re: [PD] list.element in mtl?

2012-05-26 Thread Frank Barknecht
On Wed, May 23, 2012 at 02:34:13PM -0400, Dafydd Hughes wrote:
 Hi folks
 
 I may be wrong here: is mtl meant to replace pdmtl?
 
 If that's the case, am I crazy or is list.element missing? Is there a good
 replacement for it?

The list.element.pd I have here is just an atom-thin wrapper around [packel
$1], so you could use that instead.  If you want to avoid externals, you could
build something with two [list split] objects or message boxes with set,
adddollar. For negative indices, just substract the index from [list length]

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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


Re: [PD] list.element in mtl?

2012-05-26 Thread Frank Barknecht
On Sat, May 26, 2012 at 09:45:38AM +0200, Frank Barknecht wrote:
 On Wed, May 23, 2012 at 02:34:13PM -0400, Dafydd Hughes wrote:
  Hi folks
  
  I may be wrong here: is mtl meant to replace pdmtl?
  
  If that's the case, am I crazy or is list.element missing? Is there a good
  replacement for it?
 
 The list.element.pd I have here is just an atom-thin wrapper around [packel
 $1], so you could use that instead.  If you want to avoid externals, you could
 build something with two [list split] objects or message boxes with set,
 adddollar. For negative indices, just substract the index from [list length]

Forgot to mention: [list-idx] from list-abs is similar. It has zero-based
indexing, so it's one off compared to list.element and doesn't spit out the
full list on n=0.

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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


Re: [PD] use alsa-midi by default?

2012-05-26 Thread James Mckernon
Thanks!

Incidentally, I understand from previous correspondence on this list that
if you change the number of input or output ports to 2 or more then pd no
longer autoconnects to everything (a very frustrating behaviour, imo).

On Fri, May 25, 2012 at 3:07 PM, Lorenzo Sutton lorenzofsut...@gmail.comwrote:

 On 25/05/12 14:35, James Mckernon wrote:

 Hi all. Just a quick one: does anyone know of a way to have pure data
 default to using alsa midi instead of (ahem) default midi? I couldn't
 find a way to permanently set this from the GUI, so I'm wondering if
 it's possible. Ideally, I'm looking for something I can put in my
 .pdextended file to effect this, rather than flags to start pd with each
 time.


 The .pdextended file has a flags parameter at the bottom which accepts the
 usual command line flags.

 For alsa-midi this is what I have in my .pdextended:

 flags: -alsamidi -midiindev 0 -midioutdev 0

 Drawback is that it will auto-connect to all alsa-midi stuff available in
 and out (but that happens anyway when you select alsa-midi)

 Lorenzo.


 Cheers!
 J


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



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

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