Editing middev and midnam files in OSX 10.9.1 (Maveriks)

For seeking technical help with Digital Performer and/or plug-ins on MacOS.

Moderator: James Steele

Forum rules
This forum is for seeking solutions to technical problems involving Digital Performer and/or plug-ins on MacOS, as well as feature requests, criticisms, comparison to other DAWs.
soniq2
Posts: 25
Joined: Sun Feb 15, 2009 8:01 pm
Primary DAW OS: Unspecified

Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by soniq2 »

Hi all:

How can I edit the MIDI patch names for my external MIDI systems in OSX 10.9.1 (Mavericks)? :cry:

I'm using DP 7.24.

CherryPicker does not seem to work for Intel-based MACs (at least this is a warning I get each time I attempt to install CherryPicker). :?:

I've attempted editing the XML files directly but DP and/or Audio MIDI Setup never seem to see the changes correctly. :?

The middev and midnam files are located in (HD)/Library/Audio/MIDI Devices/MOTO/Ensoniq.

Any ideas? :surrender:

Thanks

-Mike
NazRat
Posts: 1214
Joined: Sat Feb 07, 2009 1:55 pm
Primary DAW OS: Unspecified

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by NazRat »

Is there already a midnam file for the device you are using? If yes, the changes should stick when editing with a text editor. If you're creating a new device, don't forget to add the entry to the Ensoniq middev file or create a new middev file just for that device. I think another possibility might be if you have PT installed also, it could be picking up the patch list from those files.

Cherry Picker runs under Rosetta on Intel Macs so the last OS to support it was Snow Leopard.
DP8.06 PT11.2.0 VEP 5.3.x
828mkII 828mk3 ADA8000 MTP-AV Komplete Audio 6
Mac Mini Quad 10.9.4 - HP Quad Laptop Win 8.1
soniq2
Posts: 25
Joined: Sun Feb 15, 2009 8:01 pm
Primary DAW OS: Unspecified

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by soniq2 »

Thanks NazRat

Now I understand why I can't run CherryPicker under Mavericks.

I do have both middev and midnam files for my device.

This is what I've tried so far along with the results I've seen:

1) I've tried to add a new device to the Ensoniq middev file by copying and pasting one of the existing devices (including the opening and closing XML tags) and changing the device name. When I then open Audio MIDI Setup in OSX, it seems to only detect the devices up the new device I just added and does not show any device (including the new) after the new device. I can then delete the new device I added and Audio MIDI Setup then shows all devices in the middev file as normal.

2) I've tried editing the Ensoniq midnam file by simply changing the name of one of the existing voices. But then DP shows "No voices" for that device when I attempt to select a voice to play for that device.

I'm so confused. :?

-Mike
NazRat
Posts: 1214
Joined: Sat Feb 07, 2009 1:55 pm
Primary DAW OS: Unspecified

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by NazRat »

You don't need to edit the Ensoniq.middev if you already have a standalone middev - just move that along with the midnam file into the Ensoniq folder. Or you can create a standalone file. One thing that is also important is that the Manufacturer and Model are the same in both the midnam and middev files. What Ensoniq device are you trying to setup?
DP8.06 PT11.2.0 VEP 5.3.x
828mkII 828mk3 ADA8000 MTP-AV Komplete Audio 6
Mac Mini Quad 10.9.4 - HP Quad Laptop Win 8.1
soniq2
Posts: 25
Joined: Sun Feb 15, 2009 8:01 pm
Primary DAW OS: Unspecified

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by soniq2 »

Thanks again NazRat for all of your help. :D

There is a stand along middev file:
(HD)/Library/Audio/MIDI Devices/MOTU/Ensoniq/Ensoniq.middev

The patch file I'm trying to edit is:
(HD)/Library/Audio/MIDI Devices/MOTU/Ensoniq/SQ-1+,2,R+.midnam which contains the patch definitions for my device (Ensoniq SQ-2).

If I edit one voice (say "Island Perc." in the ROM bank to "My Island Perc.", then DP now seems to only show default Patch Names 0-128 when I open the MIDI Patch drop-down to select a patch instead of the real patch names that show up before I did the edit. :?:

The SQ-2 is very old (I've had it for at least 25 years) but it still works well. :)

I've checked the Manufacturer and Model and they do match in both files. :?

-Mike
NazRat
Posts: 1214
Joined: Sat Feb 07, 2009 1:55 pm
Primary DAW OS: Unspecified

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by NazRat »

Since all you are doing is editing an existing midnam file, you shouldn't have to do anything to the existing Ensoniq.middev file - the correct entry is already there. Just a simple edit of the patch names with TextEdit should be OK as long as you don't change anything else and keep it inside the quotes. Maybe give tech support a call in the AM for guidance.
DP8.06 PT11.2.0 VEP 5.3.x
828mkII 828mk3 ADA8000 MTP-AV Komplete Audio 6
Mac Mini Quad 10.9.4 - HP Quad Laptop Win 8.1
soniq2
Posts: 25
Joined: Sun Feb 15, 2009 8:01 pm
Primary DAW OS: Unspecified

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by soniq2 »

Arg! :banghead:

Discovered the problem I was having with editing middev and midnam files.
It turns out that TextEdit (the text editor on Mac) automatically attempts to alter the ASCII character for a double-quote (0x22) when typed from the keyboard to some other character. The other character displays like a double-quote only italicized. Anyway, the alternate character is not a 0x22 double-quote character and so Audio MIDI Setup never detects closing quotes for parameter names and discards the remainder of the file. :?

So if anyone is having issues with editing middev or midnam files in TextEdit on a Mac, make sure the closing double-quote is not the italicized one. :woohoo:

Or just disable 'Smart Quotes' in TextEdit Preferences.

-Mike
User avatar
bayswater
Posts: 11961
Joined: Fri Feb 16, 2007 9:06 pm
Primary DAW OS: MacOS
Location: Vancouver

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by bayswater »

For things like this you should have Textedit in Plain Text mode, or use something like TextWrangler, more suited to this purpose.
2018 Mini i7 32G 10.14.6, DP 11.3, Mixbus 9, Logic 10.5, Scarlett 18i8
soniq2
Posts: 25
Joined: Sun Feb 15, 2009 8:01 pm
Primary DAW OS: Unspecified

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by soniq2 »

Thanks bayswater.

I agree. I guess some of us just learn the hard way. :)
User avatar
James Steele
Site Administrator
Posts: 21230
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Diego, CA - U.S.A.
Contact:

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by James Steele »

Yep... "curly quotes" as they're often called, look really nice in print layouts, but are a PITA for other purposes." I got used to invoking these with the Option+([ or ]) and Option+Shift+([ or ]).
JamesSteeleProject.com | Facebook | Instagram | Twitter

Mac Studio M1 Max, 64GB/2TB, MacOS 14.5 Public Beta, DP 11.31, MOTU 828es, MOTU 24Ai, MOTU MIDI Express XT, UAD-2 TB3 Satellite OCTO, Console 1 Mk2, Avid S3, NI Komplete Kontrol S88 Mk2, Red Type B, Millennia HV-3C, Warm Audio WA-2A, AudioScape 76F, Dean guitars, Marshall amps, etc., etc.!
jborum
Posts: 61
Joined: Mon Jun 25, 2007 5:56 pm
Primary DAW OS: MacOS
Location: Los Angeles
Contact:

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by jborum »

This is an old thread, but many thanks for the tip about curly quotes in the midnam and middev files. That fixed all my problems just now.
— Jeremy Borum

Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
User avatar
monkey man
Posts: 13932
Joined: Fri Apr 22, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Melbourne, Australia

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by monkey man »

soniq2 wrote:Discovered the problem I was having with editing middev and midnam files.
It turns out that TextEdit (the text editor on Mac) automatically attempts to alter the ASCII character for a double-quote (0x22) when typed from the keyboard to some other character. The other character displays like a double-quote only italicized. Anyway, the alternate character is not a 0x22 double-quote character and so Audio MIDI Setup never detects closing quotes for parameter names and discards the remainder of the file. :?

So if anyone is having issues with editing middev or midnam files in TextEdit on a Mac, make sure the closing double-quote is not the italicized one. :woohoo:

Or just disable 'Smart Quotes' in TextEdit Preferences.

-Mike
Correct!

IIRC, issues I had were sorted by my ensuring that TextEdit saved as UTF8 or whatever; it must be in the correct format... I think... it was a while back.

Further to this, the dev (Rob Martin) of Cherry Picker actually gave MOTUNation a slightly-tweaked version of the app that allowed it to work in Mavericks, which is what I'm still on too.

Here's his post:

• What happened to CherryPicker?

Basically, I gave away all my MIDI boxes soon after I wrote CherryPicker, and switched to audio. I wrote it for myself, and no longer needed it, so it was left to rust away. Since I started it back on OSX 10.1, it was PPC only, and its code belongs in a museum given the way the frameworks and Obj-C have evolved.

About 5 years ago I got a Yamaha Motif XS8 and couldn't find any patch lists for it, so I hacked an Intel version for myself that covered the basics. I never thoroughly tested it, but it worked for what I needed: all my XS8 banks and patches, along with my custom patch lists, showed up in DP. This version miraculously runs on 10.9.

• About this version

I am not supporting it - it's 'as is'! I remember that most of it worked: auditioning, creating custom patch lists, note lists etc. But I never tested it all... You're on your own!

The functionality is 'with luck' identical to the 2.62 released version - so the original documentation is still valid. Some bugs have been reported, but I can no longer compile/debug the old project in Apple's current development environment to make any quick fixes. Too much has changed.

------

I will not be putting this up on the CherryPicker site as I cannot support it without a complete re-write for the modern 10.9/10.10 world. With 83 source files, that's not a trivial weekend project!

James has kindly offered to put this Intel version of CherryPicker up on his site - many thanks James :).

I hope you find it useful. Here's the link:


James' link:

http://www.motunation.com/files/CherryPicker3.zip

The thread's link:

viewtopic.php?f=26&t=57752

If it's no longer hosted by James, PM me and I'll Email the app to you.

I'd like to know if it works in Yosemite, El Cap and the forthcoming OS too, just so I know what to expect and can plan accordingly. My MIDI setup requires further tweaking in the midnam department, as well as occasional adjustments.

Mac 2012 12C Cheese Grater, OSX 10.13.6
MOTU DP8.07, MachFive 3.2.1, MIDI Express XT, 24I/O
Novation, Yamaha & Roland Synths, Guitar & Bass, Kemper Rack

Pretend I've placed your favourite quote here
User avatar
bayswater
Posts: 11961
Joined: Fri Feb 16, 2007 9:06 pm
Primary DAW OS: MacOS
Location: Vancouver

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by bayswater »

Cherry Picker works in Yosemite.

On editing middev files: I use Textwrangler to edit text files of this sort, or anything where something other that readability matters.
2018 Mini i7 32G 10.14.6, DP 11.3, Mixbus 9, Logic 10.5, Scarlett 18i8
User avatar
monkey man
Posts: 13932
Joined: Fri Apr 22, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Melbourne, Australia

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by monkey man »

Woohoo! Thank you, Stoivo. :headbang:

So, that's Yosemite down.

Now, how about El Cap and beyond... anyone?

EDIT: ... and for that matter, Sysex Librarian.

Mac 2012 12C Cheese Grater, OSX 10.13.6
MOTU DP8.07, MachFive 3.2.1, MIDI Express XT, 24I/O
Novation, Yamaha & Roland Synths, Guitar & Bass, Kemper Rack

Pretend I've placed your favourite quote here
User avatar
bayswater
Posts: 11961
Joined: Fri Feb 16, 2007 9:06 pm
Primary DAW OS: MacOS
Location: Vancouver

Re: Editing middev and midnam files in OSX 10.9.1 (Maveriks)

Post by bayswater »

monkey man wrote:Woohoo! Thank you, Stoivo. :headbang:

So, that's Yosemite down.

Now, how about El Cap and beyond... anyone?

EDIT: ... and for that matter, Sysex Librarian.
Sysex Librarian is OK in Yosemite.
2018 Mini i7 32G 10.14.6, DP 11.3, Mixbus 9, Logic 10.5, Scarlett 18i8
Post Reply