Forums > MaxMSP

### Log Function…I think?

Aug 16 2007 | 12:01 am

Hi all,

I have a brain cracking equation I can’t workout, but I’m sure someone
here can.

I want to work out a formula for scaling bpm to milliseconds.

example: 30 bpm = 2000 milliseconds (argument in metro)
60 bpm = 1000
120 bpm = 500
240 bpm = 250
etc.

I believe this could placed in expr but I have no knowledge of that
kind of language. Any thoughts?

Kel

Aug 16 2007 | 12:06 am

60,000/bpm = milliseconds per beat

/dan

Quote: kelsmusic wrote on Wed, 15 August 2007 18:01
—————————————————-
> Hi all,
>
> I have a brain cracking equation I can’t workout, but I’m sure someone
> here can.
>
> I want to work out a formula for scaling bpm to milliseconds.
>
> example: 30 bpm = 2000 milliseconds (argument in metro)
> 60 bpm = 1000
> 120 bpm = 500
> 240 bpm = 250
> etc.
>
> I believe this could placed in expr but I have no knowledge of that
> kind of language. Any thoughts?
>
> Kel
>
>
—————————————————-

Aug 16 2007 | 12:08 am

or… you could use the [tempo] object… which accepts bpm as an argument to set the tempo

/dan

Quote: doctor op wrote on Wed, 15 August 2007 18:06
—————————————————-
> 60,000/bpm = milliseconds per beat
>
> /dan
>
>
> Quote: kelsmusic wrote on Wed, 15 August 2007 18:01
> —————————————————-
> > Hi all,
> >
> > I have a brain cracking equation I can’t workout, but I’m sure someone
> > here can.
> >
> > I want to work out a formula for scaling bpm to milliseconds.
> >
> > example: 30 bpm = 2000 milliseconds (argument in metro)
> > 60 bpm = 1000
> > 120 bpm = 500
> > 240 bpm = 250
> > etc.
> >
> > I believe this could placed in expr but I have no knowledge of that
> > kind of language. Any thoughts?
> >
> > Kel
> >
> >
> —————————————————-
>
>
—————————————————-

Aug 16 2007 | 2:13 am

Aug 16 2007 | 7:37 am

!/60000.

bpm in, equivalent in ms per beat out.

Aug 16 2007 | 12:40 pm

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

Forums > MaxMSP