Forums > MaxMSP

[Problem] Time Value Syntax

May 27, 2008 | 2:45 pm

The new timing syntax is really great but I’ve got a problem.

Taking an example :

How can I make a metro that send a bang every 4 whole notes ?
It’s good to be able to go as fast as 128n but sometimes a very slow metro is useful too.

I just got an idea, using a counter. I set the metro to 1n and I had a counter just after it that counts 4 bang.
Maybe there’s some other nicer ways.

But it would be nice to be able to send metro something like 1/4n for 4 whole notes…


May 27, 2008 | 4:08 pm

What you want is probably a transport : check the inside of the Global
Transport extra, under the Extras menus (cmd or ctrl-click into the
interface, then cmd or ctrl-click onto the "view" toggle object inside
the unlocked patch).

_M

On 27 mai 08, at 16:46, Bertrand Fraysse wrote:

>
> The new timing syntax is really great but I’ve got a problem.
>
> Taking an example :
>
> How can I make a metro that send a bang every 4 whole notes ?
> It’s good to be able to go as fast as 128n but sometimes a very slow
> metro is useful too.
>
> I just got an idea, using a counter. I set the metro to 1n and I had
> a counter just after it that counts 4 bang.
> Maybe there’s some other nicer ways.
>
> But it would be nice to be able to send metro something like 1/4n
> for 4 whole notes…


May 27, 2008 | 5:13 pm

1nd – Dotted whole note – 2880 ticks
1n – Whole note – 1920 ticks
1nt – Whole note triplet – 1280 ticks
2nd – Dotted half note – 1440 ticks
2n – Half note – 960 ticks
2nt – Half note triplet – 640 ticks
4nd – Dotted quarter note – 720 ticks
4n – Quarter note – 480 ticks
4nt – Quarter note triplet – 320 ticks
8nd – Dotted eighth note – 360 ticks
8n – Eighth note – 240 ticks
8nt – Eighth note triplet – 160 ticks
16nd – Dotted sixteenth note – 180 ticks
16n – Sixteenth note – 120 ticks
16nt – Sixteenth note triplet – 80 ticks
32nd – Dotted thirty-second note – 90 ticks
32n – thirty-second note – 60 ticks
32nt – thirty-second-note triplet – 40 ticks
64nd – Dotted sixty-fourth note – 45 ticks
64n – Sixty-fourth note – 30 ticks
128n – One-hundred-twenty-eighth note – 15 ticks

What about more than a whole note (or a dotted whole) ?


May 27, 2008 | 6:38 pm

On 27 mai 08, at 19:13, Bertrand Fraysse wrote:

> What about more than a whole note (or a dotted whole) ?

You can use the ticks format to define the length of any note.

ej


May 27, 2008 | 8:10 pm

Quote: Emmanuel Jourdan wrote on Tue, 27 May 2008 12:38
—————————————————-
> On 27 mai 08, at 19:13, Bertrand Fraysse wrote:
>
> > What about more than a whole note (or a dotted whole) ?
>
> You can use the ticks format to define the length of any note.
>
> ej
>
>
>
—————————————————-

Sorry, I looked "everywhere" and I don’t see how to change the ticks format to define the length of any note.


May 27, 2008 | 8:34 pm

On 27 mai 08, at 22:10, Bertrand Fraysse wrote:

> Sorry, I looked "everywhere" and I don’t see how to change the ticks
> format to define the length of any note.

It’s there, in the the Time Value Syntax vignette:

http://www.cycling74.com/docs/max5/vignettes/core/maxtime_syntax.html

In short, you can use [metro 480 ticks].

HTH,
ej


May 27, 2008 | 8:45 pm

Quote: Bertrand Fraysse wrote on Tue, 27 May 2008 13:10
—————————————————-
> Sorry, I looked "everywhere" and I don’t see how to change the ticks format to define the length of any note.
—————————————————-

ticks are tempo independent, so simple multiplication suffices.
1920 = 1n
* 4
7680 = four measures

-C


May 27, 2008 | 9:18 pm

Quote: Chris Muir wrote on Tue, 27 May 2008 14:45
—————————————————-
> Quote: Bertrand Fraysse wrote on Tue, 27 May 2008 13:10
> —————————————————-
> > Sorry, I looked "everywhere" and I don’t see how to change the ticks format to define the length of any note.
> —————————————————-
>
> ticks are tempo independent, so simple multiplication suffices.
> 1920 = 1n
> * 4
> 7680 = four measures
>
> -C
>
>
—————————————————-

But I want it to be tempo dependent, in sync with transport.
Just like 1n or 4n but longer…


May 27, 2008 | 9:33 pm

Ok so if I understand, I forget about the 4n, 1n… and I use the ticks system only.
Good, thank you.
Sorry for my slow understanding.


May 27, 2008 | 10:05 pm

On May 27, 2008, at 2:18 PM, Bertrand Fraysse wrote:

> But I want it to be tempo dependent, in sync with transport.
> Just like 1n or 4n but longer…

ticks and note values are the same at any tempo. 4n == 480 ticks at
any tempo. multiplying ticks values for larger (> 1n, 1nt, 1nd) values
works fine.

-C

Chris Muir
cbm@well.com

http://www.xfade.com


May 27, 2008 | 10:23 pm

Ok ok, it’s just that I tried [metro 480 ticks] and in fact it understand [metro 480].
I have to send [480 ticks] to [metro] and it understand it.
Fine, thank you.


May 28, 2008 | 8:35 am

On 27 May 2008, at 21:45, Chris Muir wrote:

> 1920 = 1n
> * 4
> 7680 = four measures

If I recall correctly, "4.0.0" should mean the same thing.

– N.

nick rothwell — composition, systems, performance — http://
http://www.cassiel.com


May 28, 2008 | 9:16 am

Quote: nick rothwell / cassiel wrote on Wed, 28 May 2008 02:35
—————————————————-
>
> On 27 May 2008, at 21:45, Chris Muir wrote:
>
> > 1920 = 1n
> > * 4
> > 7680 = four measures
>
> If I recall correctly, "4.0.0" should mean the same thing.
>
> – N.
>
>
> nick rothwell — composition, systems, performance — http://
> http://www.cassiel.com
>
>
>
>
—————————————————-

Yes, I think I’ll opt for this one.
Thanks.


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