Skip to content

Easy Flutter library to convert TAP/.TZX files (a data format for ZX-Spectrum emulator) into sound WAV file.

License

Notifications You must be signed in to change notification settings

semack/zx_tape_to_wav

Repository files navigation

zx_tape_to_wav License Apache 2.0 publish pub package

Easy Flutter library to convert .TAP/.TZX files (a data format for ZX-Spectrum emulator) into sound WAV file.

Usage

A simple usage example:

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.

Thanks

Many thanks especially to Sergey Kireev for the help on the WAV builder.

About

Easy Flutter library to convert TAP/.TZX files (a data format for ZX-Spectrum emulator) into sound WAV file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages