First, follow the instructions in the first post on this thread. I used 'sndrec32.exe' which comes with windows to record songs I played using Itunes. I had to set the input for the recording by playing around with the volume controls; can provide more info on that if desired.
Anyway, I used the motorola software to create the ADP files, but like a lot of folks, couldn't get the files to download. And my web host doesn't provide access to setting MIME types.
Dusting off my brain, and taking a 'read binary file in ASP' function I found via a Google search, I put together the following ASP file. It's not fancy; you have to edit the list of links at the top to include your own adp filename, and the files have to be in the same directory as the code, which you simply save as an ASP file on an IIS box configured to run ASP files.
Anyway, hope this helps!
-CTW
Code:
<html>
<body>
<a href=<%= request.servervariables("SCRIPT_NAME") %>?f=somesong.adp>somesong</a><br>
<%
if right(trim(request("f")),3)="adp" then
response.clear
response.contenttype="audio/adpcm"
strFile = server.mappath(request("f"))
Response.BinaryWrite getBinaryFile(strFile)
response.end
end if
Function getBinaryFile(strFilePath)
Dim TypeBinary, oStream
TypeBinary = 1 ' Indicates a binary file
' Create the object
Set oStream = Server.CreateObject("ADODB.Stream")
' Open our file
oStream.Open
' Retreive binary data from the file
oStream.Type = TypeBinary
oStream.LoadFromFile strFilePath
' Return the binary data to the caller
getBinaryFile = oStream.read
' Destroy the ADO object
Set oStream = Nothing
End Function
%>
</body>
</html>