Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » How would I get Finder to recognize .mid files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How would I get Finder to recognize .mid files [message #381004] Tue, 12 February 2019 13:19 Go to next message
Anonymous
Karma:
Originally posted by: Mike Horgan

I've been trying to get MidiSurgeon to convert some midi files I've downloaded and transferred to Sweet16.

I am able to use MusicModifier to do the conversion, because it lets me just type the file name. However it does a poor job with things like tempo.

I am unable to select these same midi files for conversion in MidiSurgeon, presumably because the File Kind is "Unknown" and so they're filtered out of the file chooser dialog.

I'm unfamiliar with how Finder recognizes these file types, clearly it's not by extension (.mid).

Any hints?

Thanks!
--mike
Re: How would I get Finder to recognize .mid files [message #381008 is a reply to message #381004] Tue, 12 February 2019 15:19 Go to previous messageGo to next message
Christopher G. Mason is currently offline  Christopher G. Mason
Messages: 156
Registered: November 2012
Karma: 0
Senior Member
On 2/12/2019 1:19 PM, Mike Horgan wrote:
> I've been trying to get MidiSurgeon to convert some midi files I've downloaded and transferred to Sweet16.
>
> I am able to use MusicModifier to do the conversion, because it lets me just type the file name. However it does a poor job with things like tempo.
>
> I am unable to select these same midi files for conversion in MidiSurgeon, presumably because the File Kind is "Unknown" and so they're filtered out of the file chooser dialog.
>
> I'm unfamiliar with how Finder recognizes these file types, clearly it's not by extension (.mid).
>
> Any hints?
>
> Thanks!
> --mike
>
>
GS/OS uses filetype/auxtype flags to associate files similar to what
classic MacOS does. I personally use the File Manager NDA to change
these, but I'm sure there are other tools.
<https://macgui.com/downloads/?file_id=24854>
Re: How would I get Finder to recognize .mid files [message #381009 is a reply to message #381004] Tue, 12 February 2019 15:21 Go to previous messageGo to next message
David Schmidt is currently offline  David Schmidt
Messages: 993
Registered: October 2012
Karma: 0
Senior Member
On 2/12/19 1:19 PM, Mike Horgan wrote:
> I'm unfamiliar with how Finder recognizes these file types, clearly it's not by extension (.mid).

There's a filetype byte as part of the catalog entry for each file.
MidiSurgeon may key off of that - so just getting a filetype changer to
make that change for you might do the trick. You'll need to know what
filetype it expects, first. You can do that by having MidiSurgeon save
a new file of a type it likes, then you can inspect that for its type
and make your Unknowns be of that type. [It's easiest to find a program
to do this for you; TCHANGE is one I've used in the past, which runs in
P8. I usually just bring the disk image up in CiderPress and use that
to modify the type.]

The danger, of course, is that MidiSurgeon may need something a lot
deeper than that - like a resource fork, which would be altogether
missing in your case, or some other gorp in the "MIDI" file that
MusicModifier doesn't supply. I don't know anything about MIDI, so
maybe one file is the same as the next, so you don't have to worry about
deeper incompatibilities.
Re: How would I get Finder to recognize .mid files [message #381010 is a reply to message #381009] Tue, 12 February 2019 16:07 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Mike Horgan

On Tuesday, February 12, 2019 at 3:21:59 PM UTC-5, schmidtd wrote:
> On 2/12/19 1:19 PM, Mike Horgan wrote:
>> I'm unfamiliar with how Finder recognizes these file types, clearly it's not by extension (.mid).
>
> There's a filetype byte as part of the catalog entry for each file.
> MidiSurgeon may key off of that - so just getting a filetype changer to
> make that change for you might do the trick. You'll need to know what
> filetype it expects, first. You can do that by having MidiSurgeon save
> a new file of a type it likes, then you can inspect that for its type
> and make your Unknowns be of that type. [It's easiest to find a program
> to do this for you; TCHANGE is one I've used in the past, which runs in
> P8. I usually just bring the disk image up in CiderPress and use that
> to modify the type.]
>
> The danger, of course, is that MidiSurgeon may need something a lot
> deeper than that - like a resource fork, which would be altogether
> missing in your case, or some other gorp in the "MIDI" file that
> MusicModifier doesn't supply. I don't know anything about MIDI, so
> maybe one file is the same as the next, so you don't have to worry about
> deeper incompatibilities.

Thank you both!

This was exactly what I needed to learn, and FileManager did the trick. $D7 happened to be the Midi format that MidiSurgeon was looking for, and it chewed through the conversion without a hitch.
Re: How would I get Finder to recognize .mid files [message #381024 is a reply to message #381004] Tue, 12 February 2019 21:52 Go to previous messageGo to next message
Hugh Hood is currently offline  Hugh Hood
Messages: 678
Registered: November 2012
Karma: 0
Senior Member
Mike,

Here's a shot in the dark that might work for you.

Some GS/OS applications, when in the file dialog, accept an <OA-A> to
show (and allow selection of) all file types.

Whether MidiSurgeon does, I can't say.

If you haven't already tried it ...




Hugh Hood



On 2/12/2019 12:19 PM, Mike Horgan wrote:
> I've been trying to get MidiSurgeon to convert some midi files I've downloaded and transferred to Sweet16.
>
> I am able to use MusicModifier to do the conversion, because it lets me just type the file name. However it does a poor job with things like tempo.
>
> I am unable to select these same midi files for conversion in MidiSurgeon, presumably because the File Kind is "Unknown" and so they're filtered out of the file chooser dialog.
>
> I'm unfamiliar with how Finder recognizes these file types, clearly it's not by extension (.mid).
>
> Any hints?
>
> Thanks!
> --mike
>
>
Re: How would I get Finder to recognize .mid files [message #381030 is a reply to message #381024] Wed, 13 February 2019 02:56 Go to previous messageGo to next message
spectrumdaddy is currently offline  spectrumdaddy
Messages: 191
Registered: November 2012
Karma: 0
Senior Member
Hugh,

> Here's a shot in the dark that might work for you.
>
> Some GS/OS applications, when in the file dialog, accept an <OA-A> to
> show (and allow selection of) all file types.

I never knew that trick! It seems odd that it is OA-A, which normally is
'Select All', rather than OA-I.

Many times I have needed to change a filetype after transferring a file
using SAFE2. I think I need to add a new feature to SAFE2, that if you
have an entry selected in the Home folder, OA-I will bring up a box that
displays file information like the File Manager NDA does, and lets you
change the file/auxtype.

I have added that to my "To Do" list...

Cheers - Ewen
Re: How would I get Finder to recognize .mid files [message #381038 is a reply to message #381030] Wed, 13 February 2019 11:01 Go to previous messageGo to next message
Hugh Hood is currently offline  Hugh Hood
Messages: 678
Registered: November 2012
Karma: 0
Senior Member
Ewen,

That may be because it is *my* memory that is at fault here.

My recollection was that the <OA-A> 'trick' was from GS.Shrinkit.

To confirm, I just launched GS.Shrinkit. I was wrong.

Instead, GS.Shrinkit, in the file dialog, has (2) radio buttons:

o Show Only Archives
o Show All Files

So, unless it was some other application that has escaped me at the moment,
I passed on an invalid 'trick'.

I certainly do like your planned OA-I to add/change File Type/Aux Type info
on the spot!

Thanks for continuing to add to your already impressive volume of work.





Hugh Hood


in article 1o2xf0x.zsp16evemadfN%spectrumdaddy@nospam.com, Ewen at
spectrumdaddy@nospam.com wrote on 2/13/19 1:56 AM:

> Hugh,
>
>> Here's a shot in the dark that might work for you.
>>
>> Some GS/OS applications, when in the file dialog, accept an <OA-A> to
>> show (and allow selection of) all file types.
>
> I never knew that trick! It seems odd that it is OA-A, which normally is
> 'Select All', rather than OA-I.
>
Re: How would I get Finder to recognize .mid files [message #381043 is a reply to message #381004] Wed, 13 February 2019 13:56 Go to previous messageGo to next message
Steven Nelson is currently offline  Steven Nelson
Messages: 91
Registered: January 2013
Karma: 0
Member
On Tuesday, February 12, 2019 at 12:19:50 PM UTC-6, Mike Horgan wrote:
> I've been trying to get MidiSurgeon to convert some midi files I've downloaded and transferred to Sweet16.
>
> I am able to use MusicModifier to do the conversion, because it lets me just type the file name. However it does a poor job with things like tempo.
>
> I am unable to select these same midi files for conversion in MidiSurgeon, presumably because the File Kind is "Unknown" and so they're filtered out of the file chooser dialog.
>
> I'm unfamiliar with how Finder recognizes these file types, clearly it's not by extension (.mid).
>
> Any hints?
>
> Thanks!
> --mike

QLabs published 6Pack which has a PIF called MoreInfo (System/System.Setup/MoreInfo) which allows changing filetype etc. <Shift><Apple><I> as opposed to <Apple><I> in Finder.

--Steven
Re: How would I get Finder to recognize .mid files [message #381048 is a reply to message #381038] Wed, 13 February 2019 15:02 Go to previous messageGo to next message
Steve Nickolas is currently offline  Steve Nickolas
Messages: 2036
Registered: October 2012
Karma: 0
Senior Member
On Wed, 13 Feb 2019, Hugh Hood wrote:

> My recollection was that the <OA-A> 'trick' was from GS.Shrinkit.
>
> To confirm, I just launched GS.Shrinkit. I was wrong.

Wasn't it 8-bit Shrinkit that used that command?

-uso.
Re: How would I get Finder to recognize .mid files [message #381070 is a reply to message #381038] Wed, 13 February 2019 18:52 Go to previous message
spectrumdaddy is currently offline  spectrumdaddy
Messages: 191
Registered: November 2012
Karma: 0
Senior Member
Hugh,

> I certainly do like your planned OA-I to add/change File Type/Aux Type info
> on the spot!

I think it falls into the category, of 'Why did I not think of that
myself'. I do have the ability in Phoenix to change file/aux type, and
the access flags, but it would be more useful for every day use to be in
SAFE2.

As I said, I have added it to the "To do" list, so it will get done in
due course.

> Thanks for continuing to add to your already impressive volume of work.

I do seem to come up with new ideas every so often, so hopefully by the
time this year's KFest comes round, in Ryan Suenega's famous words, "I
won't suck"...

Cheers - Ewen
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: microM8 now has WOZ2 support
Next Topic: what is name of this RGB card
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Apr 25 11:39:58 EDT 2024

Total time taken to generate the page: 0.02034 seconds