Simple note value interface?

Brian H.'s icon

Am I missing where a basic pre-made note value selector is (from Time Syntax list)? Say, with [umenu] including adding dotted values? Seems like a really basic thing that would often be needed, and doesn't need to be re-invented. I've seen the example in [ubutton], which is a little larger and involved than I need. I've searched, as well.

Thanks,

brian

Christopher Dobrian's icon

I don't think there is one, but you can quickly make (a text-based) one with umenu or live.dial, etc.

Max Patch
Copy patch and select New From Clipboard in Max.

Brian H.'s icon

Well, sorta– nothing in Max is quick (at least for me). :)

Seems like kind of no-brainer to have something we can paste, especially If they're talking about "rapid prototyping."

Anyway, there's my venting, and thanks very much.

EDIT: I didn't see your code– Thanks. Does seem easier with live.dial than umenu.

Holland Hopson's icon

Make a new umenu object, then right-click and choose Prototype>M4L.notevalues.Live or M4L.notevalues.Max

Brian H.'s icon

Ah ha! This is perfect. Is there a difference between the Max or Live one? I didn't see one. I really need to look into Prototypes, I guess. Thanks so much!

Holland Hopson's icon

Use Max notevalues with [translate] to convert them to some other unit (ticks, Hz, ms).

Live notevalues are expressed as fractions of a bar (1/2, 1/4D, 1/8T) and don't seem to work with the [translate] object. I'd bet they're useful with Live, but I don't currently use it so can't say how.

charles spencer's icon

Is there a visual (music notation) version of this somewhere?

Roman Thilenius's icon

i´ve always wondered why [nslider] doenst allow to be used as such a display for different note lengths.

but using a pictureslider with custom pictures is doable, and then it is exactly like you want it to be.