audio2tape & tape2wav are missing

Bug #1230405 reported by psl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fuse-emulator-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 12.04.2 LTS i386
fuse-emulator-utils 1.0.0-3build1

programs audio2tape & tape2wav are missing in Ubuntu 12.04. These programs should be in directory /usr/bin but are not there.
Man pages are there (man audio2tape, man tape2wav).

https://launchpad.net/ubuntu/precise/i386/fuse-emulator-utils/1.0.0-2

Revision history for this message
psl (slansky) wrote :

$ for X in audio2tape createhdf listbasic profile2map raw2hdf rzxcheck rzxdump rzxtool scl2trd snap2tzx snapconv tape2wav tapeconv tzxlist; do echo "$X: $(which $X)"; done

audio2tape:
createhdf: /usr/bin/createhdf
listbasic: /usr/bin/listbasic
profile2map: /usr/bin/profile2map
raw2hdf: /usr/bin/raw2hdf
rzxcheck: /usr/bin/rzxcheck
rzxdump: /usr/bin/rzxdump
rzxtool: /usr/bin/rzxtool
scl2trd: /usr/bin/scl2trd
snap2tzx: /usr/bin/snap2tzx
snapconv: /usr/bin/snapconv
tape2wav:
tapeconv: /usr/bin/tapeconv
tzxlist: /usr/bin/tzxlist

Revision history for this message
psl (slansky) wrote :

I manually installed audio2tape and now I see a small bug in the converter:

$ audio2tape -r -s -c2 zx-rom.wav zx-rom.tzx
...
Block ended, found 108420 bytes
Type: Data
Error have incomplete byte ( bits)
First block seconds: 226.953
Last block seconds: 324.565
Checksum:FAIL
...

Notice Error line, number of incomplete bits is written as binary number, not as an ASCII. Please, check what data are printed with printf.

Revision history for this message
psl (slansky) wrote :

Simple patch to address "incomplete byte" error message:

$ diff -u converter/romloader.cc.orig converter/romloader.cc
--- converter/romloader.cc.orig 2010-12-16 22:47:11.000000000 +0100
+++ converter/romloader.cc 2013-09-25 19:45:16.871797766 +0200
@@ -206,7 +206,7 @@
   }

   if( num_bits != 0 ) {
- std::cout << "Error have incomplete byte (" << (char)num_bits << " bits)\n";
+ std::cout << "Error have incomplete byte (" << num_bits << " bits)\n";
   }

   rom_block new_block;

After fix apply, number of bits is printed:

$ audio2tape -r zx-rom.wav zx-rom.tzx
...
Block ended, found 108420 bytes
Type: Data
Error have incomplete byte (2 bits)
First block seconds: 226.953
Last block seconds: 324.565
Checksum:FAIL
...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.