raw2zcm, GUI implementation.
Posted: Fri Apr 12, 2024 3:25 am
MAY 9TH 2024 added version 2.0 with HUGE ZCM support.
Implemented raw2zcm in QB64 with a GUI interface. This converts a raw audio file created with Audacity, ffmpeg or other tool to the PCM audio file format used by ZSMKIT. A ZCM file.
Linux Executable and QB64(PE) Source. The source needs tweaked a little to properly function under Windows.
DOWNLOAD
13 APR 24
ADDED WINDOWS DEFINES
(Also conversion time in Linux was so fast so I didn't have any progress indicator code. It's probably because I'm running Windows in a VM that the conversion takes a few seconds for me on Windows. So I added progress indicator code. (just printing a "." every 1024 bytes). Chances are this will run just as fast on NATIVE Windows as it does on Linux. If you want to strip the progress code out it's only one line of code in the SUB Write_ZCMFile )
Explanation of HUGE ZCM viewtopic.php?p=33409#p33409
(Windows and Linux versions included)
VERSION 2.0 (Creates HUGE ZCM files)
For anyone interested in using QB64 I leave the following note.
CHANGED: SLASH$="/" TO $If WINDOWS Then SLASH$ = "\" $Else SLASH$ = "/" $End If
That was the only code change to compile this program properly under both Linux & Windows. I only needed this because I'm parsing filenames and paths, If I wasn't doing that I would not have even needed that change.
Implemented raw2zcm in QB64 with a GUI interface. This converts a raw audio file created with Audacity, ffmpeg or other tool to the PCM audio file format used by ZSMKIT. A ZCM file.
Linux Executable and QB64(PE) Source. The source needs tweaked a little to properly function under Windows.
DOWNLOAD
13 APR 24
ADDED WINDOWS DEFINES
(Also conversion time in Linux was so fast so I didn't have any progress indicator code. It's probably because I'm running Windows in a VM that the conversion takes a few seconds for me on Windows. So I added progress indicator code. (just printing a "." every 1024 bytes). Chances are this will run just as fast on NATIVE Windows as it does on Linux. If you want to strip the progress code out it's only one line of code in the SUB Write_ZCMFile )
Explanation of HUGE ZCM viewtopic.php?p=33409#p33409
(Windows and Linux versions included)
VERSION 2.0 (Creates HUGE ZCM files)
For anyone interested in using QB64 I leave the following note.
CHANGED: SLASH$="/" TO $If WINDOWS Then SLASH$ = "\" $Else SLASH$ = "/" $End If
That was the only code change to compile this program properly under both Linux & Windows. I only needed this because I'm parsing filenames and paths, If I wasn't doing that I would not have even needed that change.