Forums > MaxMSP

waveform~ line command

April 20, 2008 | 5:10 pm

Hi,

According to the Max reference, the waveform~ object supports a "line" command, which is supposed to display a vertical line at a position specified in ms. But I can’t seem to get it to work. Has anyone successfully used this command?

Basically, I would like to be able to see on the waveform~ display where I am reading in an audio file.

Thanks,
Miller


April 20, 2008 | 5:27 pm

On 20 avr. 08, at 19:10, Miller Peterson wrote:

> According to the Max reference, the waveform~ object supports a
> "line" command, which is supposed to display a vertical line at a
> position specified in ms. But I can’t seem to get it to work. Has
> anyone successfully used this command?
>
> Basically, I would like to be able to see on the waveform~ display
> where I am reading in an audio file.

Simply send the line message with the time (in ms) as argument.

HTH,
ej


April 20, 2008 | 5:39 pm

Yeah, I tried that but the line doesn’t show up. Here is a sample patch:

max v2;
#N vpatcher 321 125 921 525;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 131 119 41 196617 line $1;
#P number 131 94 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 68 121 45 196617 set test;
#P message 14 61 30 196617 read;
#P newex 14 94 65 196617 buffer~ test;
#P user waveform~ 68 161 200 74 3 9;
#W mode select;
#W mouseoutput continuous;
#W unit ms;
#W grid 1000.;
#W ticks 0;
#W labels 1;
#W vlabels 0;
#W vticks 1;
#W bpm 120. 4.;
#W frgb 33 0 0;
#W brgb 60 178 173;
#W rgb2 0 95 255;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 190 137 255;
#W rgb6 100 100 100;
#W rgb7 100 100 100;
#P fasten 2 0 1 0 19 80;
#P fasten 1 1 3 0 73 112;
#P connect 5 0 0 0;
#P connect 3 0 0 0;
#P connect 4 0 5 0;
#P pop;


April 20, 2008 | 5:48 pm


April 20, 2008 | 5:51 pm

Ah, great. If I send a float it shows up.

Thanks a lot!


April 21, 2008 | 4:24 pm

why isnt stuff like this in the help file!!! This is very useful and Ive wanted something like this before and why is it that 99% of the features are shown in the help files and then very useful ones like this arent there… ?!?!


April 21, 2008 | 4:27 pm

Quote: Axiom-Crux wrote on Mon, 21 April 2008 12:24
—————————————————-
> why isnt stuff like this in the help file!!! This is very useful and Ive wanted something like this before and why is it that 99% of the features are shown in the help files and then very useful ones like this arent there… ?!?!
—————————————————-

Ah, another time it would be nice if my brain held the full contents of the reference manual….oh well, I guess I’m just stuck feeling silly for using the start and/or end points to track position.


April 21, 2008 | 5:09 pm

If you wait a day or two, you will find that this information will be
far more easy to gain access to. Your future is bright…

AB

Nicholas C. Raftis III wrote:
> why isnt stuff like this in the help file!!! This is very useful and Ive wanted something like this before and why is it that 99% of the features are shown in the help files and then very useful ones like this arent there… ?!?!
> –
> -=ili!ili=- http://www.Axiom-Crux.net -=ili!ili=-
>


April 21, 2008 | 5:30 pm



f.e
April 21, 2008 | 6:32 pm


April 21, 2008 | 8:42 pm

On 21 avr. 08, at 19:30, Chris Muir wrote:

> Well the requirement to send a float may be a bug, for one thing.

It’s fixed for Max 5, and the doc will be just under the mouse ;-)

ej


April 21, 2008 | 9:18 pm

Any more fixing done on Waveform~ in M5? It’s a very handy object,
but it’s unfortunately plagued by weird behaviour in its current (Max
4) version.

Best,

Zip

Op 21-apr-2008, om 22:42 heeft Emmanuel Jourdan het volgende geschreven:

> On 21 avr. 08, at 19:30, Chris Muir wrote:
>
>> Well the requirement to send a float may be a bug, for one thing.
>
>
> It’s fixed for Max 5, and the doc will be just under the mouse ;-)
>
> ej
>


April 21, 2008 | 9:28 pm

All UI objects have required re-writes for Max 5.
best,
Tim

On 2008 Apr 21, at 4:18 PM, Zip Boterbloem wrote:
> Any more fixing done on Waveform~ in M5? It’s a very handy object,
> but it’s unfortunately plagued by weird behaviour in its current
> (Max 4) version.
>
> Best,
>
> Zip
>
> Op 21-apr-2008, om 22:42 heeft Emmanuel Jourdan het volgende
> geschreven:
>
>> On 21 avr. 08, at 19:30, Chris Muir wrote:
>>
>>> Well the requirement to send a float may be a bug, for one thing.
>>
>>
>> It’s fixed for Max 5, and the doc will be just under the mouse ;-)
>>
>> ej
>>


April 21, 2008 | 9:57 pm

Just you wait…

AB

Zip Boterbloem wrote:
> Any more fixing done on Waveform~ in M5? It’s a very handy object, but
> it’s unfortunately plagued by weird behaviour in its current (Max 4)
> version.
>
> Best,
>
> Zip


April 22, 2008 | 9:06 am

The suspense is killing me…

Best,

Zip

Op 21-apr-2008, om 23:57 heeft Andrew Benson het volgende geschreven:

> Just you wait…
>
> AB
>
> Zip Boterbloem wrote:
>> Any more fixing done on Waveform~ in M5? It’s a very handy object,
>> but it’s unfortunately plagued by weird behaviour in its current
>> (Max 4) version.
>>
>> Best,
>>
>> Zip
>


Viewing 15 posts - 1 through 15 (of 15 total)