Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/semack/zx_tape_to_wav
Easy Flutter library to convert TAP/.TZX files (a data format for ZX-Spectrum emulator) into sound WAV file.
https://github.com/semack/zx_tape_to_wav
dart flutter package sinclair-zx-spectrum tap tape tzx
Last synced: 2 days ago
JSON representation
Easy Flutter library to convert TAP/.TZX files (a data format for ZX-Spectrum emulator) into sound WAV file.
- Host: GitHub
- URL: https://github.com/semack/zx_tape_to_wav
- Owner: semack
- License: apache-2.0
- Created: 2021-02-01T13:49:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-27T05:21:19.000Z (over 3 years ago)
- Last Synced: 2024-10-13T08:42:11.483Z (about 1 month ago)
- Topics: dart, flutter, package, sinclair-zx-spectrum, tap, tape, tzx
- Language: Dart
- Homepage: https://pub.dev/packages/zx_tape_to_wav
- Size: 603 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# zx_tape_to_wav [![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](https://www.apache.org/licenses/LICENSE-2.0) ![publish](https://github.com/semack/zx_tape_to_wav/workflows/publish/badge.svg?branch=master) [![pub package](https://img.shields.io/pub/v/zx_tape_to_wav.svg)](https://pub.dev/packages/zx_tape_to_wav)
Easy Flutter library to convert [.TAP/.TZX](https://documentation.help/BASin/format_tape.html) files (a data format for ZX-Spectrum emulator) into [sound WAV file](https://en.wikipedia.org/wiki/WAV).
## Usage
A simple usage example:
```dart
import 'dart:io';import 'package:zx_tape_to_wav/zx_tape_to_wav.dart';
void main() async {
await new File('assets/roms/test.tzx').readAsBytes().then((input) =>
ZxTape.create(input)
.then((tape) => tape.toWavBytes(
frequency: 44100,
progress: (percents) {
print('progress => $percents');
}))
.then(
(output) => new File('assets/out/tzx.wav').writeAsBytes(output)));
}
```## Contribute
Contributions are welcome. Just open an Issue or submit a PR.## Contact
You can reach me via my [email](mailto://[email protected]).## Thanks
Many thanks especially to [Sergey Kireev](https://github.com/psk7) for the help on the WAV builder.