| You can save a Standard MIDI File as a binary on any platform, but you
need to make sure that when you're putting it up on the Web, it has the
extension ".mid" or ".midi" instead of ".bin". The extension is what
the browser uses to figure out the file type.
---James
pete moss wrote:
>
> John Francis Beahan wrote:
>
> > This is a little off subject from this list, but I was wondering if
> > anyone knows how to encode a MIDI file on mac so PC users can listen
> > to
> > it on thier systems via the web. My friend is trying to allow those
> > interested in his research to listen to examples on his webpage, but
> > often getting complaints back from PC users that they can't decode the
> >
> > MIDI files. They are currently being encoded as .bin files.
> >
> > Any reply would be helpful,
> >
> > Thanx, John Beahan
>
> unless i am mistaken, midi files should not have to be encoded at all.
> their natural form is binary, right? isnt that the purpose of midi
> files, portability?
>
> pete
--
======================================================================
James Garfield BadRat Multimedia Productions
badrats@badrat.com http://www.badrat.com/badrats
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa15150;
26 Aug 97 16:43 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa29031;
26 Aug 97 16:42 BST
Received: (qmail 21398 invoked from network); 26 Aug 1997 15:42:36 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 26 Aug 1997 15:42:36 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA06929); Tue, 26 Aug 1997 16:35:23 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 26 Aug 97 16:35:12 +0100
Received: from root@gateway.senet.com.au [203.11.90.1] by hermes via ESMTP (QAA05287); Tue, 26 Aug 1997 16:35:08 +0100
Received: from c3-p54.senet.com.au (c3-p54.senet.com.au [203.56.237.183])
by gateway.senet.com.au (8.8.7/8.8.7) with SMTP id BAA18534
for ; Wed, 27 Aug 1997 01:05:46 +0930
Date: 27 Aug 97 01:02:20 +0930
Subject: Re: Hetro/adsyn (Was:Re: Transposition (was: Re: Emacs mode for
orchestra))
From: Nathan Day
Cc: csound@maths.ex.ac.uk
X-Mailer: Cyberdog/2.0
Mime-Version: 1.0
Message-Id:
X-Fontfamily: Geneva
X-Fontsize: 10
Content-Type: text/enriched; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Nathan Day wrote on tuesday:
>
> I haven't been able to get adsyn to work properly yet,
12PalatinoI've found out what the problem is, for some reason
'adsyn'=
12Palatino doesn't like Analysis
files with file names longer than 11 characters is this some UNIX
thing.
Nathan Day
nathand@senet.com.au
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa15676;
26 Aug 97 21:25 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa08431;
26 Aug 97 21:25 BST
Received: (qmail 2185 invoked from network); 26 Aug 1997 20:25:07 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 26 Aug 1997 20:25:07 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA11302); Tue, 26 Aug 1997 21:18:09 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 26 Aug 97 21:17:57 +0100
Received: from root@tec.oz.cc.utah.edu [155.99.16.2] by hermes via ESMTP (VAA17560); Tue, 26 Aug 1997 21:17:54 +0100
Received: from Stranger.utah.edu (ctsasync49.cc.utah.edu [155.99.156.49]) by tec.oz.cc.utah.edu (8.8.5/8.8.0) with SMTP id OAA19891; Tue, 26 Aug 1997 14:18:21 -0600 (MDT)
Received: by localhost with Microsoft MAPI; Tue, 26 Aug 1997 12:45:02 -0700
Message-Id: <01BCB21D.DF257160.Reid.Sweatman@m.cc.utah.edu>
From: Reid Sweatman
To: 'Nathan Day'
Cc: "'csound@noether.ex.ac.uk'"
Subject: RE: Hetro/adsyn (Was:Re: Transposition (was: Re: Emacs mode for orchestra))
Date: Tue, 26 Aug 1997 12:37:34 -0700
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
On Tuesday, August 26, 1997 8:32 AM, Nathan Day [SMTP:nathand@senet.com.au]
wrote:
> Nathan Day wrote on tuesday:
>
> >
>
> > I haven't been able to get adsyn to work properly yet,
>
>
>
12PalatinoI've found out what the problem is, for some reason
>
'adsyn'1
2Palatino doesn't like Analysis
> files with file names longer than 11 characters is this some UNIX
> thing.
>
>
> Nathan Day
>
> nathand@senet.com.au
Nathan, are you aware that you're sending in a non-text format? Looks like
it might be WordPerfect or something like that. A bit HTML-ish. If you're
using a word processor for an editor, you need to save in text format
before sending it as Internet mail. As you'll note in the quoted material
above, it's pretty hard for anyone without the same word processor to read.
BTW, the answer to your question, I think, is that the program was written
to use the old 8.3 file spec, which only allows eight characters of
filename and three of extension. When you try to enter a larger name, its
input editor truncates what you type down to eight plus three characters,
namely the eleven you're getting.
Reid Sweatman
Programmer/Audio Engineer
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa15684;
26 Aug 97 21:26 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa08436;
26 Aug 97 21:25 BST
Received: (qmail 2209 invoked from network); 26 Aug 1997 20:25:49 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 26 Aug 1997 20:25:49 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA17579); Tue, 26 Aug 1997 21:18:12 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 26 Aug 97 21:18:01 +0100
Received: from root@tec.oz.cc.utah.edu [155.99.16.2] by hermes via ESMTP (VAA17084); Tue, 26 Aug 1997 21:17:59 +0100
Received: from Stranger.utah.edu (ctsasync49.cc.utah.edu [155.99.156.49]) by tec.oz.cc.utah.edu (8.8.5/8.8.0) with SMTP id OAA19945 for ; Tue, 26 Aug 1997 14:18:38 -0600 (MDT)
Received: by localhost with Microsoft MAPI; Tue, 26 Aug 1997 12:45:14 -0700
Message-Id: <01BCB21D.E6511340.Reid.Sweatman@m.cc.utah.edu>
From: Reid Sweatman
To: "'csound@noether.ex.ac.uk'"
Subject: MIDI Files in BIN Format
Date: Tue, 26 Aug 1997 12:44:25 -0700
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
This is a reply to the guy having trouble sending MIDI files to PC's from
Mac's. I didn't reply to this one originally because I thought someone
else would tackle it, which is why this response isn't in-thread. Anyway,
I believe those .BIN files are binhexed (might just be another proprietary
Mac format, too; dunno). In any event, if you want to communicate with
non-Mac machines, you have to use a common format, not a proprietary one.
The equivalent in PC terms, to turn it around, would be if a PC user sent
you a Zipped file; you wouldn't be able to read it on the Mac. Likewise,
you couldn't view a Tarred UNIX file. However, there is a standard MIDI
file format, and your software probably creates it; check the output
options of your software. On the PC such files have extensions of .MID; I
don't know what they'd be called on the Mac, but probably something real
similar. Hope this helps.
Reid Sweatman
Programmer/Audio Engineer
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa16204;
26 Aug 97 23:32 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa10753;
26 Aug 97 23:31 BST
Received: (qmail 6415 invoked from network); 26 Aug 1997 22:31:54 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 26 Aug 1997 22:31:54 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA14926); Tue, 26 Aug 1997 23:26:23 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 26 Aug 97 23:26:15 +0100
Received: from venus.telepac.pt [194.65.3.39] by hermes via ESMTP (XAA22355); Tue, 26 Aug 1997 23:26:14 +0100
Received: from default ([194.65.177.157]) by mail.telepac.pt
(Post.Office MTA v3.1 release PO203a ID# 584-40066L0S0)
with SMTP id AAA29171; Tue, 26 Aug 1997 23:27:08 +0000
From: Fernando Manuel Rodrigues
To: Reid Sweatman ,
"'csound@noether.ex.ac.uk'"
Subject: Re: MIDI Files in BIN Format
Date: Tue, 26 Aug 1997 23:22:33 +0100
Mime-Version: 1.0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-Msmail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1008.3
X-Mimeole: Produced By Microsoft MimeOLE Engine V4.71.1008.3
Message-Id: <19970826232707.AAA29171@default>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Just to make everybody sure. I have both a Mac and a PC working side by
side, and I am doing it all the time. It is very simple. Just make the
sequence on your sequencer (no matter which one it is). Then save it as a
standard MIDI file.
Since between conversion from Mac to PC (any Mac now, since Mac OS 7.1
should be able to read and write DOS formatted floppy disks) the mac
truncate the names to the standard 8.3 character format, be sure to name the
standard MIDI files you crate with xxxxxxxx.MID (the extension MID here is
the most important thing, since the Mac OS uses a fork data in the header
file to recognize the file type and creator, but DOS/Windows rely on the
extension to that).
And that's it. With that name and the standard MIDI file format you should
be able to play it with ANY PC. And even some hardaware sequencers use this
file/name standard too.
DO NOT USE ANY KIND OF CONVERSION, OR ANY EXTENSIONS OTHER THAN .MID, OR IT
WILL NOT BE RECOGNIZED.
JUST DRAG AND DROP TO THE DOS FLOPPY.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa16212;
26 Aug 97 23:38 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa10836;
26 Aug 97 23:37 BST
Received: (qmail 6551 invoked from network); 26 Aug 1997 22:37:46 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 26 Aug 1997 22:37:46 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA21470); Tue, 26 Aug 1997 23:31:28 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 26 Aug 97 23:31:17 +0100
Received: from venus.telepac.pt [194.65.3.39] by hermes via ESMTP (XAA21413); Tue, 26 Aug 1997 23:31:08 +0100
Received: from default ([194.65.177.157]) by mail.telepac.pt
(Post.Office MTA v3.1 release PO203a ID# 584-40066L0S0)
with SMTP id AAA1799; Tue, 26 Aug 1997 23:31:51 +0000
From: Fernando Manuel Rodrigues
To: Reid Sweatman ,
"'csound@noether.ex.ac.uk'"
Subject: Re: ZIP files are a standard to Mac too
Date: Tue, 26 Aug 1997 23:27:16 +0100
Mime-Version: 1.0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-Msmail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1008.3
X-Mimeole: Produced By Microsoft MimeOLE Engine V4.71.1008.3
Message-Id: <19970826233150.AAA1799@default>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> The equivalent in PC terms, to turn it around, would be if a PC user sent
>you a Zipped file; you wouldn't be able to read it on the Mac.
Just to whom it may concern - ZIP files may be read/written with a Macintosh
(I use this format to transfer files bigger than 1,4 Mb from the Mac to PC
and vice-versa).
There are two applications which you must have to do this on the Mac. One is
Stuffit DeLuxe (with Expander Enhancer). It allows you to read and write in
ZIP format.
The other (and my favorite) is ZipIt. Any one of them does the job
perfectly, but I had some problems with Stuffit and spanned files (never had
any with ZipIt).
|