Forums > MaxMSP

[hostsync~] conundrum…

July 23, 2009 | 9:26 pm

hey all,

does anybody else have this problem with [hostsync~] like i am having. when i have my patch which is linked to ableton etc. the [hostsync~] tempo is stupidly high and not following the ableton tempo.
instead of the [hostsync~] reading at 120, it is at something like 2600.

does anybody know what this problem is and how to sort it?

thanks…


July 24, 2009 | 9:52 am

i have not noticed this problem, but i dont use rewire very much these days. however, i have an idea that is a bit crude, but may do the job…

set up a condition where tempo only updates if playback == 1

j


July 25, 2009 | 1:09 am

[hostsync~] lists tempo as samples per beat, so at 120bpm, that means it will return 22050 samples per beat, if your sample rate is 44100.

To convert [hostsync~]‘s tempo outlet to bpm you would need to divide your sample rate by [hostsync~]‘s tempo and multiply the result by 60.

– Pasted Max Patch, click to expand. –

Alternatively, if you know you’re running at 44100, add a [!/ 2646000.] to the tempo outlet.


July 26, 2009 | 10:26 pm

aye thats great man, thanks.

i done some editing and got it, and used some of your idea. cheers…


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