A newer version of Max is available. Click here to access the latest version of the Max documentation

mstosamps~ Reference

convert milliseconds to samples

mstosamps~

Examples

Arguments

ms [auto]

Optional

The number of milliseconds to be converted to the equivalent time in samples using the sample rate of the audio device.

Inlets

ms [auto]

The number of milliseconds to be converted to the equivalent time in samples using the sample rate of the audio device.

Outlets

out1 [signal]

out1

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

ms [auto]

The number of milliseconds to be converted to the equivalent time in samples using the sample rate of the audio device.

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

See Also

Name Description
mstosamps~ Convert milliseconds to samples
mc.mstosamps~ Convert milliseconds to samples (multichannel)
sampstoms~ Convert time from samples to milliseconds
mc.sampstoms~ Convert time from samples to milliseconds (multichannel)
mstosamps convert milliseconds to samples
beatstohz~ convert beat time (quarter notes) to frequency (Hz)
beatstosamps~ Convert beat time (quarter notes) to samples.
beatstoticks~ Convert beat time (quarter notes) to ticks.
beatstohz~ convert beat time (quarter notes) to frequency (Hz)
beattime~
hztobeats~ Convert frequency (Hz) to beats.
hztoms~ Convert frequency (Hz) to ms.
hztosamps~ Convert frequency (Hz) to samples.
hztoticks~ Convert frequency (Hz) to ticks.
mstobeats~ Convert ms to beats.
mstohz~ Convert ms to frequency (Hz).
mstoticks~ Convert ms to ticks.
sampstobeats~ Convert samples to beat time (quarter notes).
sampstohz~ Convert samples to frequency (Hz)
sampstoms~ Convert samples to milliseconds.
sampstoticks~ Convert samples to ticks.
tickstobeats~ Convert ticks to beat time (quarter notes).
tickstohz~ Convert ticks to frequency (Hz).
tickstoms~ Convert ticks to milliseconds.
tickstosamps~ Convert ticks to samples.