Forums > Max For Live

seq start with ableton help

June 9, 2013 | 6:09 am

Sup guys

Please help, ive tried aimlessly to create a seq object that will play a midi file in tempo with my ableton project. I need it to start playing the midi file when i press play in ableton and it should also play in tempo.

Please assist me

Thanks


June 9, 2013 | 8:02 am

Anyone?


June 9, 2013 | 8:18 am

You should be able to do what you want. In order to match the tempo of your sequence to the tempo of your Ableton set, you will need to know the ratio between the tempo of your Ableton song and the tempo of the MIDI file you’re trying to play.

To set the playback tempo of your sequence, read about the argument to the ‘start’ message to seq. To start it at the correct time, read about the timepoint object.


June 9, 2013 | 9:16 am

Thanks chris

For the tempo cant i get it from the transport object and feed it to a tick? The problem though is that with a tick i would need to use a start -1 and automate that


June 9, 2013 | 9:28 am

I thought you could play a midi file directly in Live, but I may be wrong.


June 9, 2013 | 9:57 am

You can but im trying to play multiple midi files in my max intrument


June 9, 2013 | 10:38 am

Why is that a problem? You can do something along these lines.

<code>

– Pasted Max Patch, click to expand. –

</code>


June 9, 2013 | 10:57 am

Thanks chris

this works, although at 60bpm after a while it goes off tempo.

can you please explain how this metro works

"metro @interval 20 ticks @quantize 20 ticks"


June 9, 2013 | 1:12 pm

Suggested reading:
Time Value Syntax
metro (reference)
Tempo-relative timing
Simple demonstration of the transport object

In transport terms, a "tick" is equal to 1/480 of a quarter note. (In seq terms, it’s equal to 1/48 of a second.) So in Max’s timing syntax, 20 ticks = 1/24 of a quarter note (which, at a metronome tempo of 120 beats per minute is the same as 148 of a second). The interval attribute sets the periodicity of the metro, and the quantize attribute snaps (qunatizes) the metro’s output to a particular division of the transport’s beat tempo (in this case, to the nearest 1/24 of a beat).


June 10, 2013 | 12:32 am

Thanks for all your help chris will do the reading you suggested and see if i can get this right. Im close cause the midi file plays almost at the correct tempo, its just slightly off and the longer it plays the more off it becomes so need to do some tweaking.


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