JazzCat
Full Member
E=Fb Musician's Theory of Relativity
Posts: 709
|
Post by JazzCat on Feb 17, 2008 21:37:58 GMT
Is there any way, or any program, that has the ability to change a track full of channel volumes (CC-7) to expressions (CC-11) in mass, rather than having to change each individual one within the event list? I need to do this in a file that has literally thousands of volume changes within it. Thanks all! Cat >^..^<
|
|
JazzCat
Full Member
E=Fb Musician's Theory of Relativity
Posts: 709
|
Post by JazzCat on Feb 18, 2008 22:53:08 GMT
Answering my own post here. I got the task accomplished using Cubase SX3's Logical editor.
The person who explained it on the Cubase yahoogroup said I could crosspost the instructions, so here they are: ===========================
John Palmer said:
Basically, Logical Editor allows you to make a "rule" (just as you can do in an email program)
(Do a search for Logical Editor in Cubase's pdf Manual.)
The box in the top half is the FILTER - this is where the relevant data is chosen - In plain English, we need to say:
"Find any Controller 7 data in the selected part "
The box in the bottom half is the ACTION - this is where we tell Cubase what to do with the data it's found. So we need to tell it:
"Turn the found data into Controller 11 data"
.... Or put even simpler:
"IF Cubase finds any Controller 7 data in the selected part THEN turn it into Controller 11 data"
This how to do it................. (Maybe print the following out?)
In the Project Page, select the part(s) you wish to change and in the Midi Menu, choose Logical Editor ( or Ctrl L )
In the top half of the window: Underneath "Filter Target" choose "Type" in the pull-down menu. Underneath "Condition" choose "Equal" in the pull-down menu. Underneath "Parameter 1" choose "Controller" in the pull-down menu.
To the right of this line, click the button called "Add Line" Another line now appears under the line you just edited.
Edit the second line: Underneath "Filter Target" choose "Value1" in the pull-down menu. Underneath "Condition" choose "Equal" in the pull-down menu. Underneath "Parameter 1" click the 0 and type 7 in the box.
Now for the bottom half of the window: Underneath "Action Target" choose "Value 1" in the pull-down menu. Underneath "Operation" choose "Set To Fixed Value" in the pull-down menu. Underneath "Parameter 1" click the box and type 11 in it.
Logical Editor should now look like the picture.
Click in the comment line at the bottom and type something like: Change controller 7 to controller 11
Click the Store button and name it something like:
CC7 to CC11
Click the Do It button to test and hopefully, controller 7 data is now controller 11 data.
The good news is, that you won't have to do this again. The next time you need this function, you simply:
Select part(s) then, in the Midi Menu, choose Logical Presets. In it's sub-menu will be your CC7 to CC11 preset. Select it and data is changed.
|
|
|
Post by JohnG on Feb 19, 2008 13:05:15 GMT
Hi JazzCat,
What an excellent idea! Your question prompted me to look through my list of Cakewalk CAL macros. I thought "there must be a CC7TO11.CAL routine somewhere". But no, I couldn't find one anywhere. SO ... I expect I'd better sit right down and write one. It can't be too difficult to read in a midi event, check if it's a CC#7 and if it is change the CC# to 11 but leave the level unchanged.
I haven't done any CAL programming for years so again no turning blue whilst you wait! LOL. But it's got to be dead easy.
Lets think. (if (== Event.Kind CONTROL) (if (== Control.Num ctrlr7) (do (+= Control.Num four) ) ) ). Hmmm! Not sure that's quite right, but it's not too far off. (pencil comes out from behind ear and coding sheet appears as if by magic in JG's hand. eyes go in and head goes down. little "thinks" bubble grows above bonce ... steam rises!)
I imagine a CAL routine would be quite useful as there's quite a few people here who use it or at least have Cakewalk or Sonar. Any chance you can pm me the original file with all the cc#7s so I can use it to work on?
Best regards, JohnG.
|
|
JazzCat
Full Member
E=Fb Musician's Theory of Relativity
Posts: 709
|
Post by JazzCat on Feb 20, 2008 9:24:48 GMT
He said "no" so, I got permission to alter the file, delete his note data and leave the CC7s in place. Then rewrite the note data. I'll e-mail it to you from the addy you've written to me at. I sent him the rewritten file and he OK-ed me to send it.
He wondered why you didn't just write a one note quickie track and pencil in a succession of CC7's.
|
|
|
Post by JohnG on Feb 20, 2008 9:44:42 GMT
Okay JazzCat that's fine.
I don't actually need a "real file" in the sense that it's full of music, just one that is known to contain a lot of CC#7s. I fully respect other's rights to post or not post a file. No worries. Yep, and usual addy.
It would be useful to know how many people use a version of Cakewalk and therefore whether it's any good posting some .cal files here. I've got a small collection of about 100 or so that do various (some obscure) things. A lot of them work fine on Cakewalk Pro 3 and up so could be of use to some. I can also write cal (a sort of LISP) programs if anyone wants any as long as they're not too complex to start with. It's been years since I did any. '96 or '97 I think.
Maybe I'll post a list of some that I have which are likely to be of some use to members of this forum. What d'ya think? JohnG.
|
|
JazzCat
Full Member
E=Fb Musician's Theory of Relativity
Posts: 709
|
Post by JazzCat on Feb 20, 2008 10:01:55 GMT
Opps! re read my post... I just modified it and will be sending you the file toot sweet
|
|
JazzCat
Full Member
E=Fb Musician's Theory of Relativity
Posts: 709
|
Post by JazzCat on Feb 20, 2008 10:03:22 GMT
It's sent, so check your e-mail
|
|
JazzCat
Full Member
E=Fb Musician's Theory of Relativity
Posts: 709
|
Post by JazzCat on Feb 20, 2008 10:05:20 GMT
On the cal files, I think it's a great idea. I know tons of people that use one version or another of Cakewalk or Sonar. I just wonder if the Cal macros are version interchangeable??
|
|
|
Post by JohnG on Feb 20, 2008 10:39:49 GMT
AFAIK they're not completely interchangeable. Some of the routines I have actually check for the version of CAL that's running. And I think that later versions of Sonar stopped support of CAL. But since I don't have that I can't tell. I can check for v3 pro and v9 pro audio.
As for writing a one note quickie track. Yes, that would work fine as a quick test but from long experience in the s/w business somehow test files never quite emulate the customers' actual data. In the past I've had to say "oh! I didn't realise you wanted it to do that!" a few times.
The postman has just arrived so I'll take a quick look at the file. Thanks JazzCat, All the best, JohnG
|
|
gibbo
Full Member
I'm not lost, I followed you home
Posts: 674
|
Post by gibbo on Feb 20, 2008 13:36:44 GMT
Hi John and Cat, In CW it's a snap to change cc7 to cc11 and you don't need to use a CAL. The only reason I didn't answer Jazzcat's post was because I know she doen't use CW. All you need to do in CW is use the Interpolate function found on the edit menu. This will basically allow you to do almost anything you need to individual events in a bulk edit. Here's the routine; Select the track (highlight) Go to Edit and select Interpolate. Tick the box for Control. (NB: You may have to untick everything else if it defaults to everything selected, I usually hit the "None" button and then select what I want to change.) Change the value in the control# min/max so both read '7" (ie: you're just selecting cc7). The Value setting should be left as 0-127). Click OK and you'll get page 2 of the Interpolate editor and simply change the controller "7s" to "11s" (ie; so both boxes now read 11) and click OK. Voila... easy as! Cheers, Dave.
|
|
|
Post by JohnG on Feb 20, 2008 14:55:33 GMT
Thanks for that Dave,
Only ... it only does the first beat of the first measure in CW pro 3. If I want it to change all cc#7 events in all channels I guess I've got to select the range first I've tried various ways but so far drawn a blank. You can tell I hardly ever use CW!!!!
Any clues? JohnG.
|
|
gibbo
Full Member
I'm not lost, I followed you home
Posts: 674
|
Post by gibbo on Feb 21, 2008 0:41:26 GMT
Hi John, You have to make sure you have the whole track selected. It could just be something askew in your default setup for CW 3 but, more likely, if it's just doing the first beat then the track area isn't selected. Check that the whole track is selected by looking at the "from/to" boxes on the top of the tracks view. It'll show 1:01:000 to 1:01:000 (ie: the first beat) when the track is not selected, that's the default in the from/to boxes. I use CW 9 and it works every time for every event. Cheers, Dave.
|
|
|
Post by JohnG on Feb 21, 2008 7:30:21 GMT
Thanks Dave,
I thought that I did that yesterday but perhaps not! Anyway made sure I did the selection of all tracks and all measures today before I did the interpolate cc#7 to 11 and bingo! it worked. I think that's even easier than the method JazzCat described in Cubase. And it's even there in CW3pro which was written for Win 3.1 I think. (it still has 8 dot 3 file name handling.)
Anyway it works and that's the main thing.
Thanks very much Dave, I shall explore the interpolate menu some more I think. Meanwhile I shall finish the macro I was writing just for the sheer hell-of-it! I'd almost done when I read your message. It also looks for duplicate controller values and eliminates the later occurrences.
Thanks Dave, JohnG.
|
|
JazzCat
Full Member
E=Fb Musician's Theory of Relativity
Posts: 709
|
Post by JazzCat on Feb 21, 2008 20:52:57 GMT
Hey Dave, When I am looking for a solution to something I'd always like to hear how it is done via any and all of the major programs. That includes Cakewalk/ and Sonar both. I have both I just don't have either installed at the moment. I have Cubase installed because I HAD to have it for school as that's what is used in the classes I was taking.
I keep hearing that Sonar is easier to use and know people who have dumped Cubase in favor of Cakewalk or Sonar. In in the future, who knows, I might become one of 'em. <smile>
Would you mind if I crosspost your solution to the yahoogroups I posed the question to? that would be digital_music_creators, MusicByComputer and Homesequencers.
|
|
gibbo
Full Member
I'm not lost, I followed you home
Posts: 674
|
Post by gibbo on Feb 22, 2008 1:29:42 GMT
Hi Jazz, No problem, feel free to crosspost my solutions whenever you see something that might benefit others. I'm always happy to contribute to better understanding and greater ease in the creative process. I get it re: CW/Sonar versus Cubase solutions, I'm using several different programs myself but do most of my basic writing work in CW, mainly because I'm so familiar with it. Cheers, Dave.
|
|
JazzCat
Full Member
E=Fb Musician's Theory of Relativity
Posts: 709
|
Post by JazzCat on Feb 22, 2008 10:39:41 GMT
Thanks Dave, I've crossposted it to the groups I mentioned above, with a little but of editing from both of your posts. Because no one from those groups could come up with an answer it just might help someone else.
|
|