Program to transfer a .BIN to an audio format?

3 posts / 0 new
Last post
landonsmith's picture
Offline
Last seen: 6 hours 16 min ago
Joined: Dec 17 2025 - 14:24
Posts: 14
Program to transfer a .BIN to an audio format?

 Hi everyone.

 For the past several months I've been trying to look for any sort of program (CLI or graphical...really doesn't matter) that can translate a .BIN program to an audio format or vise versa. Does such a program exist?

 I know I had asked here recently about the FSK system and the ACI (etc..) but I can't seem to get a hold of how to build a program that would accomplish what I need. If I could find a program that does something similar, I could potentially reverse-engineer it and use it as a reference for building an application that does what I need... (Taking a BIN and translating it to an audio file) ...All in all, I'm just attempting to add ACI emulation to HoneyCrisp...(https://landonjsmith.com/projects/honeycrisp.html)

 

 Does anyone have anything they know of? I'd greatly appriciate if anyone could help me out. :-)

 

Cheers,

Landon

Offline
Last seen: 1 day 1 hour ago
Joined: Apr 1 2020 - 16:46
Posts: 1310
binary to AIFF for Apple-1 and Apple II

In post #1, 'landonsmith' asked:

 

" For the past several months I've been trying to look for any sort of program (CLI or graphical...really doesn't matter) that can translate a .BIN program to an audio format or vise versa. Does such a program exist ? "

 

Uncle Bernie answers:

 

IIRC, Mike Willegal's website (www.willegal.net) had a binary to AIFF converter somewhere buried in his Apple-1 related pages. Sorry, don't have the time to look it up right now (you look). I started with his code but it was written for a Mac so there was a endinaness incompatibility with my machines. I dimly remember I might have sent him a fixed version which compiles on Linux and uses the canonical endianess handler (some .h file, IIRC). This has been many years ago. Since then, I use my own 'ACIace' tool which can do much, much more (such as supporting Apple II checksums and my proprietary format for the 'extended format' functions in my PROMs for the improved Apple-1 ACIs (Gen1 and Gen2 improvements I developed in the past years). It also can generate super fast load audio files where Apple BASIC can be loaded into the Apple-1 in just 3 seconds (not counting the header tone which can't be changed). This super fast audio files can't be stored on a real cassette recorder, though, but they work fine when played by a sound card. Alas, I had no time yet to finish 'ACIace', it has been on the back burner for years now, so it's not ready for publication. I do not make unfinished work available for download, as this only causes trouble and lost time to deal with unhappy users.

 

There seem to be other Apple II related open source tools which can manipulate Apple II cassette files, such as 'Ciderpress', but as they only work with WAV files, I never was interested in these tools and never tried them out.

 

Hope this helps.

 

- Uncle Bernie

landonsmith's picture
Offline
Last seen: 6 hours 16 min ago
Joined: Dec 17 2025 - 14:24
Posts: 14
 @UncleBernie Based on the

 @UncleBernie

 Based on the information you provided, I was able to locate the source code of Willegal's .BIN -> AIFF converter and use it as a reference point to build a decoding tool in JavaScript that allows a user to accurately translate mono-channel .AIFF and .WAV files into standard binary files OR my .HC/WozMon code format for my APPLE-1 emulator. Thank you for the help! :-)

 

Cheers,

Landon

Log in or register to post comments