Old 09-22-2009, 07:52 PM   #41
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney, Australia
Posts: 2,510
Default CEP/AA conversion

Finally got around to looking at earlier versions of AA/CEP and currently have a beta version of AATranslator running which will import CEP 1.2, 1.2a, 2.0 2.1 as well as AA 1.0, 1.5, 2.0 & 3.0. - may look at earlier versions of CEP if there is a demand.

A couple of minor things to sort out and a bit more testing and then we will release it.
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 09-23-2009, 07:14 AM   #42
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney, Australia
Posts: 2,510
Default

Quote:
Originally Posted by sqkychair View Post
I parsed the file without too much trouble but the panning drove me nuts for a while.

CEP stores the left and right volumes and not the pan position, so after much experimentation I realized that simply exporting the ratio to reapers pan got the correct values. They just LOOK different on the reaper slider because CEP uses some crazy scale for their pan slider.
I mentioned in my previous post that I had 1 or 2 minor things to sort out. Well for versions AA1.5 & prior it happens to be the panning issue I'm working on. I re-read your initial post and note that you had solved it. From AA2 onwards AA & Reaper share very similar Track panning methods. Prior to AA2 AA uses some 'ratio' of the 2 logarithmic left & right gain values which then have to be converted to Reaper's (and later AA's) more simplified panning method. Sqkychair if you would like to share that ratio it would save me a lot of hair and it would be appreciated.

The only other thing I have top do is write some code to extract the Track gain & Track pan for AA 2 & 3 - the location of the values and what they represent are known - I just have to get to that on my list of things to do :-)
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 09-24-2009, 08:57 PM   #43
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney, Australia
Posts: 2,510
Default

Track Gain & Track Pan for AA2 & AA3 are now sorted out.

Working on the AA1.5 & prior Track Pan then it should all be done and can be sent for testing.
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 10-16-2009, 11:51 AM   #44
sqkychair
Human being with feelings
 
Join Date: Mar 2009
Posts: 247
Default

Just now saw this.

The panning is indeed bizarre. I never really worked out how they get their slider value. But, you don't need it!

Just use the RATIO ONLY! The ratio of left to right as stored in the file.

This ratio is what Reaper uses and the resulting pan is correct.
sqkychair is offline   Reply With Quote
Old 10-16-2009, 12:04 PM   #45
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney, Australia
Posts: 2,510
Default

Thanks for the reply.

I had seen in your early posts that you used a ratio to solve it.
As I recall the left & right values are logarithmic values which I can easily convert to db levels but maybe its just me but I could not come up with any ration that either made sense or gave me the right answer.

eg L = .630957344480193 & R = .476430986805416
I would be interested to know how you solved this

This was the only thing i couldn't work out so I left it and am now currently banging my head against a brick wall with OMF2 :-(

Thanks again for the reply
__________________
AATranslator

Last edited by Runaway; 10-16-2009 at 12:14 PM.
Runaway is offline   Reply With Quote
Old 10-16-2009, 12:28 PM   #46
sqkychair
Human being with feelings
 
Join Date: Mar 2009
Posts: 247
Default

OK, it is simpler than you think!
eg L = .630957344480193 & R = .476430986805416

here is the code in vb
dblLEft = Input L
dblRight = Input R
dblFader = Output for the fader
dblPan = Output for the Pan


Private Sub CalulatePan(ByVal dblLeft As Double, ByVal dblRight As Double, _
ByRef dblFader As Double, ByRef dblPan As Double)
'this will not LOOK the same as cep's pan bar because their slider works on a different scale than
'reaper but should get you very close to the same pan position

If dblLeft = dblRight Then

dblPan = 0
dblFader = dblRight

Else

If dblLeft > dblRight Then

'pan to left
dblPan = 1 - dblRight / dblLeft
dblPan = -dblPan
dblFader = dblLeft

Else

'pan to right
dblPan = 1 - dblLeft / (dblRight)

dblFader = dblRight

End If


End If
LogItem("Pan=" & dblPan.ToString("0.00"))


End Sub

EDIT: the damn indentation does not look right in the post and I cant fix it!
sqkychair is offline   Reply With Quote
Old 10-16-2009, 05:51 PM   #47
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney, Australia
Posts: 2,510
Default

Mate that just tears the fork out of my nightie!

I'm sure I'd tried all the simple solutions - damn!

Thanks heaps for that - now if you knew something about OMF2.... LOL

PM me and I'll give you a free copy of AATranslator to show my appreciation.

BTW
Quote:
Originally Posted by sqkychair View Post
OK, it is simpler than you think!
'this will not LOOK the same as cep's pan bar because their slider works on a different scale than
'reaper but should get you very close to the same pan position
AA Changed the way they stored their track pan AFTER AA1.5 so both AA & Reaper (and a heap of others) are 100% compatible
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 10-19-2009, 08:15 PM   #48
sqkychair
Human being with feelings
 
Join Date: Mar 2009
Posts: 247
Default

Quote:
Originally Posted by Runaway View Post
Mate that just tears the fork out of my nightie!
Ha Ha!!! That's a new one!



Quote:
now if you knew something about OMF2.... LOL
This should explain what I know about OMF2....WTF is an OMF2?

I can't PM you for some reason. I need instructions, LMAO!
sqkychair is offline   Reply With Quote
Old 10-19-2009, 09:21 PM   #49
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney, Australia
Posts: 2,510
Default

Quote:
Originally Posted by sqkychair View Post
This should explain what I know about OMF2....WTF is an OMF2?

I can't PM you for some reason. I need instructions, LMAO!
I don't know why you cant PM me - others have - just contact me via the AAtranslator site

OMF2 is a format used by Avid, PT, Sonar and others.
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 10-20-2009, 08:59 AM   #50
sqkychair
Human being with feelings
 
Join Date: Mar 2009
Posts: 247
Default

Runaway,
I finally got a PM sent...I hope.

Thanks for the offer.

If you have something you need worked on, let me know. Maybe I can help.
sqkychair is offline   Reply With Quote
Old 02-09-2010, 09:59 PM   #51
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney, Australia
Posts: 2,510
Default

For those interested in CEP - the next version of AATranslator will write AA1.5 sessions and will have much improved reading of all CEP (after CEP1.0) & AA session formats.
__________________
AATranslator
Runaway is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.