https://github.com/raydac/zxtap-to-wav
Converter of .TAP files (a ZX-Spectrum emulator data format) into .WAV sound files
https://github.com/raydac/zxtap-to-wav
converter golang python tape utility wav zx-spectrum
Last synced: 6 months ago
JSON representation
Converter of .TAP files (a ZX-Spectrum emulator data format) into .WAV sound files
- Host: GitHub
- URL: https://github.com/raydac/zxtap-to-wav
- Owner: raydac
- License: apache-2.0
- Created: 2016-08-29T17:06:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-03-22T12:34:49.000Z (7 months ago)
- Last Synced: 2025-03-22T13:25:57.927Z (7 months ago)
- Topics: converter, golang, python, tape, utility, wav, zx-spectrum
- Language: Go
- Size: 34.2 KB
- Stars: 52
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://www.apache.org/licenses/LICENSE-2.0)
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AHWJHJFBAWGL2)
[](https://yoomoney.ru/to/41001158080699)A simple command-line utility that converts [.TAP](http://fileformats.archiveteam.org/wiki/TAP_(ZX_Spectrum)) files, a data format used by ZX Spectrum emulators, into [WAV](https://en.wikipedia.org/wiki/WAV) sound files.
For a similar tool that converts binary files into WAV format for the BK-0010 personal computer, check out [bkbin2wav](https://github.com/raydac/bkbin2wav).
# How to build?
Simply clone the project and build it using Maven with the command:
```bash
mvn clean install -Ppublish
```Alternatively, you can download [a prebuilt version from the latest release](https://github.com/raydac/zxtap-to-wav/releases/tag/1.0.3).
# Arguments
```
-a amplify sound signal
-f int
frequency of result wav, in Hz (default 22050)
-g int
time gap between sound blocks, in seconds (default 1)
-i string
source TAP file
-o string
target WAV file
-s add silence before the first file
```
# Example
```
zxtap2wav -i RENEGADE.tap
zxtap2wav -a -i RENEGADE.tap -o RENEGADE.wav -f 44100 -s
```
# How to?## Make longer silence interval between files in WAV
Just add `-g 2` or `-g 3` to make delay in 2 or 3 seconds.## Add silence in start of generated WAV file
Use `-s` and silence will be generated in start of WAV file.## I want 44100 Hz quantized WAV
Use parameter `-f 44100`## Sound is too silent
Use flag `-a` and generated sound in WAV will be amplified to maximum.