Old 03-13-2010, 01:24 AM   #1
lender
Human being with feelings
 
lender's Avatar
 
Join Date: Nov 2009
Posts: 74
Default Edit MIDI as text

Does anyone know whether there is a system (software on mac) to edit midi as text. Reaper's midi filter cannot handle situations like (I assume):
1) Select notes at positions 1.1.000...251.1.000 with a velocity over 60.
2) Set length as 1.0.000 and velocity = 80.
If the midi file is text or table in excel or whatever this would be doable if there is a utility that converts midi<->text.
When would this be needed? Let us say that you have a waltz where the first note in the left hand's bo-ba-bi should stretch over the whole bar but you don't want to use pedal as that impacts all other notes too. You want velocity of bo= 70 and velocity of ba and bi =40. In addition bi should be slightly delayed to give the Viennese waltz beat.
It could be used to set pedal down and up on every bar too. And zillions of other batch processing tasks.
Does this make sense? Is it possible? Is it needed? Is there a way to do it?
__________________
Leander
Mac mini, OS X 10.7.4, Sibelius, Reaper, Logic Express, GPO4, KeyStudio 49...
lender is offline   Reply With Quote
Old 03-13-2010, 03:46 AM   #2
bradleyfilms
Human being with feelings
 
bradleyfilms's Avatar
 
Join Date: Aug 2008
Location: Cumbria, UK
Posts: 2,255
Default

Is tracker editing (ala renoise etc) what you're after?
Steve
__________________
Meto ergo psallentes est
bradleyfilms is offline   Reply With Quote
Old 03-13-2010, 04:19 AM   #3
umi
Human being with feelings
 
Join Date: Feb 2009
Posts: 6
Default

You can do a lot of this kind of stuff in Reaper by using the Midi Editor's built in filter to hide notes below velocity 60 (or whatever your criteria are). Then you can process the remaining notes as you wish (select all and right click to get the Note Properties dialog, generally).

But... it sounds like you also want to select and modify notes based only on their position in the bar, and I don't know any way to do this automatically in Reaper, apart from scripting.
umi is offline   Reply With Quote
Old 03-13-2010, 01:51 PM   #4
chriscomfort
Human being with feelings
 
chriscomfort's Avatar
 
Join Date: Aug 2009
Location: NYC
Posts: 1,735
Default

Sounds like the Logical Editor in Cubase.
chriscomfort is online now   Reply With Quote
Old 03-13-2010, 04:44 PM   #5
gofer
-blänk-
 
gofer's Avatar
 
Join Date: Jun 2008
Posts: 11,150
Default

Naah, sounds like the transformer module in Logic .

That said, if you open a.rpp project file with notepad, you'll find that Reaper already stores them as text. You can find the data of your MIDI items in this form:

Code:
HASDATA 1 960 QN       // number of ticks (960) per Quarter Note
E 3840 bc 07 5a        // Offset of 3840, Control Change Ch0xC, Main Volume
E 0 bc 0a 7f           // Offset of 0, Control Change Ch0xC, Pan Position
E 0 bc 5d 28           // Offset of 0, Control Change Ch0xC, Chorus Level
e 59344 9c 45 64       // Offset of 59344, Note On Ch0xC, Note A4, Velocity 0x64
e 232 9c 45 00         // Offset of 232, Note On Ch0xC, Note A4, Velocity 0x0 -- Note off, in effect
Of course they will not be neatly commented . Here's the scripting WIKI page that explains the syntax:
http://www.cockos.com/wiki/index.php...dRppMidiFormat

Basically, each line is an event, the e/E at the start of each line stands for selected/not selected.

A 'select per beat position' should be possible with ReaScript.
gofer is online now   Reply With Quote
Old 03-14-2010, 10:00 AM   #6
lender
Human being with feelings
 
lender's Avatar
 
Join Date: Nov 2009
Posts: 74
Default

This is really interesting:
1. Looked at Renoise manual. Didn't understand anything.
2. Great positive surprise that Reaper's project file is ASCII. Million times friendlier than binary or XML.
3. The wiki specs for midi don't correspond exactly to what I got. Problem might be with me?
4. In the wiki c-scale example F (hex 1d) was actually Fsharp (hex 1e). My hexreading skills are slightly old but it was fun to read it again.
5. I edited midi directly in the project file. Using Bbedit as I am on mac. It worked without a glitch. Approximately 30 times slower than using Reaper's midi editor. The trickiest thing was to keep the offsets in order. It was a pleasure to work with hex and kept me away from useful work.
6. What I am dreaming of is filtering on steroids where you can use multiple criteria. I don't know whether I or anybody else would need it. That aspect is, of course, not important when you dream.
7. I should perhaps move over to developer with this thread (or to spam) but first I will do more work on direct editing in the project file.
__________________
Leander
Mac mini, OS X 10.7.4, Sibelius, Reaper, Logic Express, GPO4, KeyStudio 49...
lender is offline   Reply With Quote
Old 03-14-2010, 10:27 AM   #7
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 10,177
Default

6. Logical editing/transforming is something Reaper needs, but doesn't have yet. Many people want it. It will come, but only if you dream hard enough. Actually it will happen eventually regardless of the power of your dreams.
schwa is offline   Reply With Quote
Old 03-14-2010, 11:05 AM   #8
gofer
-blänk-
 
gofer's Avatar
 
Join Date: Jun 2008
Posts: 11,150
Default

Hear hear

<goes to bed early today>
gofer is online now   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 09:38 PM.


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