2 latest midi notes


    Aug 30 2006 | 3:55 pm
    hi
    not sure if it is because of summer holidays or what, but I am looking for soemthing which must be really simple, and cannot find it:
    _I am playing notes on a midi keyboard (defining an ambitus), and want to have the latest 2 displayed (note and velocity) - only note ons, but stripnote is made for that
    for instance if I play 60 100, then 70 100, then 57 99, i want to have 70 100 57 99
    must be some very easy way (zl?? Lobjects??)
    many thanks
    kasper -- Kasper T. Toeplitz noise, composition, bass, computer http://www.sleazeArt.com

    • Aug 30 2006 | 4:12 pm
      maybe trigger a counter (low 0 hi 1), that sets the write index of a small (x = 2) table module, then writes to the table? or something like that, maybe a coll is better so you can avoid having to use seperate tables for pitch and velocity.
    • Aug 30 2006 | 4:23 pm
      maybe bucket?
      greetings h Am 30.08.2006 um 18:12 schrieb kid_sputnik:
      > > maybe trigger a counter (low 0 hi 1), that sets the write index of > a small (x = 2) table module, then writes to the table? or > something like that, maybe a coll is better so you can avoid having > to use seperate tables for pitch and velocity. > -- > daniel b
      hans w. koch im krahnenhof 11 d-50668 koeln +49-221-554902 www.hans-w-koch.net
    • Aug 30 2006 | 9:38 pm
      yes, zl reg is the way to go.
    • Aug 31 2006 | 9:42 am
      >yes, zl reg is the way to go. >
      many thanks - yes, of course that was the way to go
      kasper -- Kasper T. Toeplitz noise, composition, bass, computer http://www.sleazeArt.com
    • Aug 31 2006 | 10:47 am
      Hi,
      How do my fellow-maxers keep 'state' in a Max patch? I have a patch that 1. records and 2. plays back. If someone is recording, I want to disable the playback related GUI elements, and vice versa. Switch between 2 screens? Intercept and redirect the send receive messages that are connected to the GUI elements?
      Best,
      Zip(hates doing GUI stuff in Max)
    • Aug 31 2006 | 11:23 am
      Many of the GUI elements have inactive states that can be set (e.g. for pictctrl, send an 'active 0' to it). You can even have graphics associated with the inactive state. Take a look at the pictctrl help file for an example.
      Dan
      At 12:47 PM +0200 8/31/06, Zip Boterbloem wrote: >Hi, > >How do my fellow-maxers keep 'state' in a Max patch? I have a patch >that 1. records and 2. plays back. If someone is recording, I want >to disable the playback related GUI elements, and vice versa. Switch >between 2 screens? Intercept and redirect the send receive messages >that are connected to the GUI elements? > >Best, > >Zip(hates doing GUI stuff in Max) > >
      -- Dan Nigrin Defective Records 202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X http://www.defectiverecords.com http://www.jackosx.com
    • Aug 31 2006 | 11:50 am
      Hi Dan,
      Thanks for your reply. I'm testing the thispatcher object for enabling/disabling stuff right now. The ignoreclick and respondtoclick messages are supposed to do the trick. That and maybe switching screens might be all I need. Hope this stuff works reliably. Over the years I've come to love some, and fear other Max objects. This is new terrain for me.
      Maybe I should try using more javascript and less Max.
      Zip Boterbloem Media Mechanics Zwaluwstraat 54 2025 VR Haarlem The Netherlands +31627014758 zip@knoware.nl
      Op 31-aug-2006, om 13:23 heeft Dan Nigrin het volgende geschreven:
      > Many of the GUI elements have inactive states that can be set (e.g. > for pictctrl, send an 'active 0' to it). You can even have > graphics associated with the inactive state. Take a look at the > pictctrl help file for an example. > > Dan > > At 12:47 PM +0200 8/31/06, Zip Boterbloem wrote: >> Hi, >> >> How do my fellow-maxers keep 'state' in a Max patch? I have a >> patch that 1. records and 2. plays back. If someone is recording, >> I want to disable the playback related GUI elements, and vice >> versa. Switch between 2 screens? Intercept and redirect the send >> receive messages that are connected to the GUI elements? >> >> Best, >> >> Zip(hates doing GUI stuff in Max) >> >> > > > -- > Dan Nigrin > Defective Records > 202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X > http://www.defectiverecords.com > http://www.jackosx.com >
    • Aug 31 2006 | 5:03 pm
      >Hi, > >How do my fellow-maxers keep 'state' in a Max patch? I have a patch >that 1. records and 2. plays back. If someone is recording, I want >to disable the playback related GUI elements, and vice versa. Switch >between 2 screens? Intercept and redirect the send receive messages >that are connected to the GUI elements?
      changing the visible part of a bpatcher???
      kasper -- Kasper T. Toeplitz noise, composition, bass, computer http://www.sleazeArt.com
    • Aug 31 2006 | 6:04 pm
      Hi Kasper,
      Thanks for your reply. Maybe changing the visible part of a bpatcher is an idea. Switching screens (what I'm trying now) is a bit like going back and forth between frames in Flash(ugh), but with more computational overhead because both screens are 'active'. Hmm.
      Zip Boterbloem Media Mechanics Zwaluwstraat 54 2025 VR Haarlem The Netherlands +31627014758 zip@knoware.nl
      Op 31-aug-2006, om 19:03 heeft Kasper T Toeplitz het volgende geschreven:
      >> Hi, >> >> How do my fellow-maxers keep 'state' in a Max patch? I have a >> patch that 1. records and 2. plays back. If someone is recording, >> I want to disable the playback related GUI elements, and vice >> versa. Switch between 2 screens? Intercept and redirect the send >> receive messages that are connected to the GUI elements? > > > changing the visible part of a bpatcher??? > > kasper > -- > Kasper T. Toeplitz > noise, composition, bass, computer > http://www.sleazeArt.com > >
    • Aug 31 2006 | 6:12 pm
      Kasper T Toeplitz wrote: > for instance if I play 60 100, then 70 100, then 57 99, i want to have > 70 100 57 99
      1 unpack, 2 bucket...
      Stefan
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com
    • Aug 31 2006 | 8:02 pm
      If all you want are a few controls that can switch from being active to inactive, the easiest way is to use pictctl buttons/toggles including inactive images (greyed out or whatever). When your patch is in play mode, you can send a message to deactivate the record button, and so on. If you need more complexity for a changing UI, then changing the visible part of a bpatcher is a good idea.
    • Aug 31 2006 | 8:38 pm
      >Kasper T Toeplitz wrote: >>for instance if I play 60 100, then 70 100, then 57 99, i want to >>have 70 100 57 99 > >1 unpack, 2 bucket...
      ok, thanks
      kasper -- Kasper T. Toeplitz noise, composition, bass, computer http://www.sleazeArt.com