folder object: file ordering bug?


    Jun 19 2008 | 5:28 am
    When dealing with numerical tags on files the folder object seems to only look at the first character and orders the file/append output accordingly, for instance the file group:
    1.jpg
    2.jpg
    110.jpg
    comes out like this:
    1.jpg
    110.jpg
    2.jpg
    is this by design? is there a arg i can pass to get a strict numerical order?
    what the deal?
    i upgraded so this is in max 5
    thanks in advance,
    jston

    • Jun 19 2008 | 5:57 am
      Quote: jston wrote on Wed, 18 June 2008 22:28
      ----------------------------------------------------
      > is this by design? ... what the deal?
      It's doing alphanumeric ordering. Sort of like alphabetical order but where numbers and symbols are treated like letters and have a specific order in the alphabet.
      The "letter" 1 *always* comes before 2, so 11 or 1-anything comes before 2. Just like "aa" comes before "b". Actually the term "letter" is misleading, because everything is a number to a computer. Anyway... get the idea?
      Definitely not what we want in a lot of cases, but that's how computers work by default. I don't think you can change the behavior in Max.
    • Jun 19 2008 | 12:39 pm
      This is just how computers order things -- poke around on your machine
      & you'll see any set of files the designers want in a particular order
      to have leading zeros:
      01.jpg
      02.jpg
      11.jpg
      etc.
      M
      On Jun 19, 2008, at 1:28, justin downs wrote:
      >
      > When dealing with numerical tags on files the folder object seems to
      > only look at the first character and orders the file/append output
      > accordingly, for instance the file group:
      > 1.jpg
      > 2.jpg
      > 110.jpg
      > comes out like this:
      > 1.jpg
      > 110.jpg
      > 2.jpg
      > is this by design? is there a arg i can pass to get a strict
      > numerical order?
      > what the deal?
      > i upgraded so this is in max 5
      > thanks in advance,
      > jston
    • Jun 19 2008 | 1:15 pm
      I've got a rack of midi synthesizers and I'd like to make all the synths
      in the rack available to either of two computers. I have no need to
      access the synths simultaneously from both computers; only to be able to
      route either of the computers to any device in the rack. The obvious
      solution would be to use a midi patchbay, but no one seems to make them
      any more.
      Can anyone suggest a solution other than to try to find a used MIDI
      patchbay?
      Jon
      --
      Jon Hallstrom
      Dept. of Music, Colby College
      5674 Mayflower Hill
      Waterville, ME 04901
      207-859-5674
    • Jun 19 2008 | 1:42 pm
      Surely any balanced (3 conductor) patch bay or
      switcher will do - you'll just have to make up some
      midi to bantam/XLR/stereo jack leads. to connect to
      it,
      cheers
      Roger
      --- Jon Hallstrom wrote:
      > I've got a rack of midi synthesizers and I'd like to
      > make all the synths
      > in the rack available to either of two computers.
      > I have no need to
      > access the synths simultaneously from both
      > computers; only to be able to
      > route either of the computers to any device in the
      > rack. The obvious
      > solution would be to use a midi patchbay, but no one
      > seems to make them
      > any more.
      >
      > Can anyone suggest a solution other than to try to
      > find a used MIDI
      > patchbay?
      >
      > Jon
      >
      > --
      > Jon Hallstrom
      > Dept. of Music, Colby College
      > 5674 Mayflower Hill
      > Waterville, ME 04901
      > 207-859-5674
      >
      >
    • Jun 19 2008 | 3:54 pm
      >
      >
      >> I've got a rack of midi synthesizers and I'd like to
      >> make all the synths
      >> in the rack available to either of two computers.
      >> I have no need to
      >> access the synths simultaneously from both
      >> computers; only to be able to
      >> route either of the computers to any device in the
      >> rack. The obvious
      >> solution would be to use a midi patchbay, but no one
      >> seems to make them
      >> any more.
      >>
      >> Can anyone suggest a solution other than to try to
      >> find a used MIDI
      > > patchbay?
      why not send midi from computer1 to computer2 and then to the rack?
      kasper
      --
      Kasper T. Toeplitz
      noise, composition, bass, computer
    • Jun 19 2008 | 9:18 pm
      > Can anyone suggest a solution other than to try to find a used MIDI
      > patchbay?
      How about a 2 to 1 MIDI Merger.
      Rick Williamson
    • Jun 21 2008 | 3:58 pm
      Thanks guys that makes unfortunate sense.
      jston
    • Jun 26 2008 | 5:56 pm
      you can make small patch that routes the midi from one computer to the
      other, then you can choose which synth you want to send where in a
      'host-client' - like relationship
      i can send a patch i use if you want... i just don't have it with me now
      Cheers,
      carey
      On Thu, Jun 19, 2008 at 10:18 PM, Rick Williamson wrote:
      >
      >> Can anyone suggest a solution other than to try to find a used MIDI
      >> patchbay?
      >
      > How about a 2 to 1 MIDI Merger.
      > http://www.midisolutions.com/prodmrg.htm
      >
      > Rick Williamson
      >
    • Jun 30 2008 | 1:21 am
      Thanks Carey,
      It sounds like what you're talking about is routing data from Max to Max
      . What I (or rather my students) need to be able to do is to access
      the synths from any application in a fairly straightforward manner.
      I ultimately solved the problem by putting TRS plugs on one end of some
      MIDI cables and then used them to set up patchpoints between each
      computer's midi interface and the synths via my patchbay. Now my
      students can simply patch between a computer and any of the synths.
      It's rather lo-tech, but it works nicely.
      I am however curious to know how you route the data between the
      computers (ethernet?) and would therefore love to look at the patch even
      though the other problem is solved.
      Thanks!
      Jon
      carey dodge wrote:
      > you can make small patch that routes the midi from one computer to the
      > other, then you can choose which synth you want to send where in a
      > 'host-client' - like relationship
      >
      > i can send a patch i use if you want... i just don't have it with me now
      >
      > Cheers,
      >
      > carey
      >
      > On Thu, Jun 19, 2008 at 10:18 PM, Rick Williamson wrote:
      >
      >>> Can anyone suggest a solution other than to try to find a used MIDI
      >>> patchbay?
      >>>
      >> How about a 2 to 1 MIDI Merger.
      >> http://www.midisolutions.com/prodmrg.htm
      >>
      >> Rick Williamson
      >>
      >>
      >
      >
      --
      Jon Hallstrom
      Dept. of Music, Colby College
      5674 Mayflower Hill
      Waterville, ME 04901
      207-859-5674
    • Jun 30 2008 | 3:23 pm
      Hi Jon,
      Here is the patch. It is Max4 but should open fine in Max5. It is
      rough but did what i needed it to do. It was also an audio tester for
      a show i was working on just to make sure all the hardware was working
      ship-shape before the show. It also has some idiosyncrasies as i was
      automating parameters with midi knobs and faders on the fly but I
      think you can understand the basic principal. You could set it up
      more intuitively with a better GUI, some more gate and/or route
      objects or use a matrix object and have all your midi devices
      accessible to any program using max as a virtual hub or router. One
      thing you have to always be aware of is that your midi setup in max
      can cause some confusion especially if you start using presets and
      such.
      Cheers,
      Carey
      On Mon, Jun 30, 2008 at 2:21 AM, Jon Hallstrom wrote:
      > Thanks Carey,
      >
      > It sounds like what you're talking about is routing data from Max to Max .
      > What I (or rather my students) need to be able to do is to access the
      > synths from any application in a fairly straightforward manner.
      > I ultimately solved the problem by putting TRS plugs on one end of some MIDI
      > cables and then used them to set up patchpoints between each computer's midi
      > interface and the synths via my patchbay. Now my students can simply patch
      > between a computer and any of the synths. It's rather lo-tech, but it
      > works nicely.
      >
      > I am however curious to know how you route the data between the computers
      > (ethernet?) and would therefore love to look at the patch even though the
      > other problem is solved.
      >
      > Thanks!
      >
      > Jon
      >
      > carey dodge wrote:
      >>
      >> you can make small patch that routes the midi from one computer to the
      >> other, then you can choose which synth you want to send where in a
      >> 'host-client' - like relationship
      >>
      >> i can send a patch i use if you want... i just don't have it with me now
      >>
      >> Cheers,
      >>
      >> carey
      >>
      >> On Thu, Jun 19, 2008 at 10:18 PM, Rick Williamson
      >> wrote:
      >>
      >>>>
      >>>> Can anyone suggest a solution other than to try to find a used MIDI
      >>>> patchbay?
      >>>>
      >>>
      >>> How about a 2 to 1 MIDI Merger.
      >>> http://www.midisolutions.com/prodmrg.htm
      >>>
      >>> Rick Williamson
      >>>
      >>>
      >>
      >>
      >>
      >
      > --
      > Jon Hallstrom
      > Dept. of Music, Colby College
      > 5674 Mayflower Hill
      > Waterville, ME 04901
      > 207-859-5674
      >
      >
    • Jun 30 2008 | 3:25 pm
      oh yeah and i routed the data via midi and audio cables but you could
      just as easily route it with netsend, netreceive or maxhole or osc
      or...
      On Mon, Jun 30, 2008 at 2:21 AM, Jon Hallstrom wrote:
      > Thanks Carey,
      >
      > It sounds like what you're talking about is routing data from Max to Max .
      > What I (or rather my students) need to be able to do is to access the
      > synths from any application in a fairly straightforward manner.
      > I ultimately solved the problem by putting TRS plugs on one end of some MIDI
      > cables and then used them to set up patchpoints between each computer's midi
      > interface and the synths via my patchbay. Now my students can simply patch
      > between a computer and any of the synths. It's rather lo-tech, but it
      > works nicely.
      >
      > I am however curious to know how you route the data between the computers
      > (ethernet?) and would therefore love to look at the patch even though the
      > other problem is solved.
      >
      > Thanks!
      >
      > Jon
      >
      > carey dodge wrote:
      >>
      >> you can make small patch that routes the midi from one computer to the
      >> other, then you can choose which synth you want to send where in a
      >> 'host-client' - like relationship
      >>
      >> i can send a patch i use if you want... i just don't have it with me now
      >>
      >> Cheers,
      >>
      >> carey
      >>
      >> On Thu, Jun 19, 2008 at 10:18 PM, Rick Williamson
      >> wrote:
      >>
      >>>>
      >>>> Can anyone suggest a solution other than to try to find a used MIDI
      >>>> patchbay?
      >>>>
      >>>
      >>> How about a 2 to 1 MIDI Merger.
      >>> http://www.midisolutions.com/prodmrg.htm
      >>>
      >>> Rick Williamson
      >>>
      >>>
      >>
      >>
      >>
      >
      > --
      > Jon Hallstrom
      > Dept. of Music, Colby College
      > 5674 Mayflower Hill
      > Waterville, ME 04901
      > 207-859-5674
      >
      >