How to make Rewire Standalones efficient & fast …?

Jun 19, 2011 at 12:45pm

How to make Rewire Standalones efficient & fast …?

I'm currently trying to build some little machine using rewire.

For instance, I'm testing a very basic machine:
- it takes midi from my Rewire Host in a [midiin]
- it produces a sound on the ezdac using ad_rewire

my rewire host is Ableton Live.

I'm using an external instrument to route midi to the rewire external, and to have the audio signals coming back to the host.

Accuracy is very ……. low!

I resampled the audio coming back from the external in another audio clip using the resampling audio input in Ableton Live (basically, it records the Master Output)

Any idea?
I tested that with my standalone builded patch, and with the .maxpat version too.
all the same.

I read about guidelines, but I may miss something

[attachment=164603,2371] [attachment=164603,2372] [attachment=164603,2373]

  1. audioClipRecorded.PNG
Jun 19, 2011 at 1:33pm

I’d suggest to repeat the test with another host since Live may be the culprit here.

Jun 19, 2011 at 2:25pm

broc, I will right now.
indeed, I don’t even test because I thought more about rewire implementation in max

Jun 29, 2011 at 1:05pm

Does someone already make a rewire client that works fine even with ableton live ?
I may miss something or … it is impossible to make one :p

Jul 8, 2011 at 2:10pm

any updates on this?

Jul 8, 2011 at 2:19pm

I forgot this idea.
Dreaming SynthMaker’s movement to AU or VST osx…

But I decided to code C++/Juce to build VST & AU.
This is my single option!

Jul 8, 2011 at 3:11pm

i see. one less to help put then!

Jan 1, 2013 at 5:46pm

i noticed the same with a rewire sampler project.(on win7) i’m not able to get accurately timed audio back to Live via rewire.
i don’t want to discard the idea and still written patches. and i can’t switch to a lower level language.

does someone know if max4live instruments are capable of correctly timed sample playback triggered by midi??
even if there’s a complex poly inside?

thanks for your help. and happy 2013 to all of you maxers out there

Jan 1, 2013 at 7:21pm

It should work since the timing accuracy inside M4L devices is the same as in Max/MSP.

Jan 2, 2013 at 2:52pm

i was more comparing the realtime responsivness of a max rewire slave vs a m4l instrument since the rewire seems not to work very well.
as far as i know there’s no big m4l sampler instrument out there.. o.

Jan 2, 2013 at 2:54pm

I would forget about rewire to link Live & Max. In fact, I forgot about that.

Jan 2, 2013 at 3:07pm

i was surprised that it doesn’t work in sync. so there’s no way left in max to build a big instrument which integrates with different DAWs.
and M4L doesn’t even offer multiple midi in or audio outs. :(

Jan 2, 2013 at 4:18pm

M4L instruments can have multi-channel midi input provided that the different channels are sent from other tracks in Live, exactly like multi-timbral 3rd party plugins are handled in Live. But multiple audio outs are generally not possible in M4L.


You must be logged in to reply to this topic.