Welcome to %s forums

BrainModular Users Forum

Login Register

pb w/ Sync Tempo Remote With Reaktor

I need help on a Patch
Post Reply
Vincent

Unread post by Vincent » 09 Feb 2007, 01:40

Hello Olivier and every body

Here is the thing:
Both Usine and Reaktor are in standalone.
Reaktor sends MIDI events on many MIDI Ports and Usine receives only one of them and nothing else, being this way slave of Reaktor.

All my Usine's global remotes are on channel 16. In global remote I have:
Synchro tempo Chan 16 Name CC num 124
Reaktor sends Midi events on Channel 16, CC 124, taken from tempo info of Reaktor itself. I use for this a "Build-in Module/MIDI out/Controller", it's range is set to 30 -> 300 (interger values).
Everything is on the right MIDI port of course, and it works, but when
Reaktor sends Usine shows
30 30,00
100 100,16
150 149,06
200 200,08
250 248,98
300 300,00
so... I don't understand what's going on.
Is it only the display (I did not check the sync yet) or is there something wrong elsewhere ?
Do I have to change the "Build-in Module/MIDI out/Controller" range in Reaktor?

Thanks for your help.

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 09 Feb 2007, 09:02

I know nothing about Reaktor, but the values shown stem from dividing the tempo interval (300-30=270) by the max CC value of 127. In your list the values shown by Usine corresponds to CC values of 0, 33, 56, 80, 103, and 127.

One way of calculating the displayed values:
minTempo + (ccValue * (maxTempo - minTempo) / 127)

I notice that a couple of the values you listed don't even match with normal rounding or truncation of decimals to integers, which to me seems like a bug in Reaktor or with your setup of it.

If for instance you make the tempo interval 38 to 292, you'll have a range of 254 different values and avoid rounding errors since 254 / 127 =2. I suppose Reaktor's calculations and displayed value also would be correct in that case.

Hope this helps.
Bjørn S

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 09 Feb 2007, 09:08

Don't panic!!!
Your precision is very good. Dont forget that Midi CC have a 7 bits precision (0-->127).
It's not a problem, because you allways need to resync, even if your precision is 0.01 BPM.

Example
If Reaktor is at 130 and Usine at 129.99, which is a very good error margin (much more than the real timing precision), and if you play them parallel you will obliged to resynchronize... If you don't, after 30' you'll have a 16th offset...
Use the 'Restart' btn in the synchro module, at each begining of the cycle.

A question: Why don't you use Reaktor as VSTi in Usine. Works very well (I do it often).

Vincent

Unread post by Vincent » 10 Feb 2007, 00:31

Hello guys!

Thanks for your interest in my prob!

I think you both are right.
I will:
1. recalculate the right range for my Reaktor controller module
2. build a small stuff that resync every cycle

To answer to Olivier: yes! of course, I would like to use Reaktor as VSTi in Usine! I know it works very well. But it's not only an instrument and it does at least two things I really need:
1. computer keyboard assigned to a MIDI channel. Not possible in Usine
(except if I specially build module for that)
2. in plug-in mode, Reaktor simply ignores my computer keyboard, even
for normal shortcuts like DEL!

I think that my final objective is to host everything in Usine, it will be possible when Usine will work with Rewire (I know you'll do that, Olivier, it's impossible you won't!).
And, first of all, I have to learn it!
(BTW, will you make possible multiple selection of modules? It really would help, you know.)

Bsork, Olivier, thanks for your help.

Bye

Vincent

Unread post by Vincent » 10 Feb 2007, 01:07

Me again.

Of course, it cannot work this way!
Usines smallest range of tempo is 30-->300
CC biggest range is 0-->127
That makes steps of 2,126. Very coarse tempo scale, I feel...

Well. Any suggestions?
Reaktor as plug-in and reverse the whole logic of my system?
Yeah. I miss work!
And I hate computers.

Seriously, I'm really wondering. Maybe a good old piano, what do you think?

Thanks anyway for your quick and effective help!

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 10 Feb 2007, 21:30

send a pitch band information which has a 15bits precision?
OSC, I don't know if it works well with Reaktor. (I do it often to synchronize severall PC)

Vincent

Unread post by Vincent » 10 Feb 2007, 22:52

OSC, well, I'm sure it's a great solution. But I'm a one horse man!
I've seen many guys using OSC on the Reaktor francophone forum. Not yet for me.

What do you mean by
send a pitch band information which has a 15bits precision
How do you do this?
OK, if it's about Reaktor, you're not supposed to answer.

See in bug report, I have an annoying this to talk about.

Thanks for your suggestion and for everything.

bmoussay
Member
Posts: 130
Contact:

Unread post by bmoussay » 10 Feb 2007, 22:58

Vincent wrote:What do you mean by
send a pitch band information which has a 15bits precision
How do you do this?
OK, if it's about Reaktor, you're not supposed to answer.
Hi Vincent, just use a "built in module/midi out/ pitch bend", instead of "controller" in Reaktor and it should work OK.

But definitely I recommend you to Use Reaktor as a VST in Usine, it simplifies many things.

Rgds,

B.

Vincent

Unread post by Vincent » 11 Feb 2007, 04:23

Hi B,
Hi Olivier,

Yes, of course a pitch bend. I should have understood.
I'm sure you're right, Ill use Reaktor as plugin, and change all my stuff. Big job, but it seems much more interesting with Usine...
I just have to learn so many new things!

The following patching question is not exactly in the same chapter, but there it is:
I would like to temporize delay with the tempo. I found a patch for that, it's OK. But how do I take this tempo from Usine's? I didn't found that.
BTW, Beat Follower is excellent.
And scripts too. I did one to transpose midi octaves, not semitones. Well, a beginner's one, but I'm proud!

THANKS!!!

bmoussay
Member
Posts: 130
Contact:

Unread post by bmoussay » 11 Feb 2007, 10:50

you can get the tempo from the "synchronization" module (folder interface control)

B.

Vincent

Unread post by Vincent » 13 Feb 2007, 04:32

Thanks Benjamin.

I've noticed that changing tempo in that module changes the tempo of Usine, but changing Tempo of Usine changes nothing in that module.
Usine is slave to that module, not the opposite.
So it cannot give me the main tempo value!

Or there is something I don't know how to do, right?

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 13 Feb 2007, 09:23

There are a couple of pitfalls in Usine that are easy to fall into... Many times I've wondered why more or less nothing happens when I edit some values in a patch. And of course; either the track or the the whole audio engine is off...

I've noticed however, that sometimes when I'm programming a patch I have to exit the edit mode, maybe choose another patch, and then go back into edit mode again, in order for the interface elements to be updated. This is usually when I fiirst starting creating or editing a patch, but not always. Haven't found a pattern in the behaviour, though.
Bjørn S

Post Reply

Who is online

Users browsing this forum: No registered users and 95 guests