Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.