zx_tape_to_wav 3.1.0+14 copy "zx_tape_to_wav: ^3.1.0+14" to clipboard
zx_tape_to_wav: ^3.1.0+14 copied to clipboard

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

example/lib/main.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)));
}
0
likes
140
pub points
25%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on zx_tape_to_wav