ch_wave "-pc LONGEST" option broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
speech-tools (Ubuntu) |
Fix Released
|
Undecided
|
Sergio Oller |
Bug Description
Binary package hint: speech-tools
# Demonstration that "ch_wave -pc LONGEST" is broken.
# It should use the longest channel, but instead works like FIRST.
yes | dd bs=16000 count=1 >y1.raw
cat y1.raw y1.raw y1.raw >y2.raw
echo Make 1s, 3s sounds
ch_wave -itype raw -n 1 -f 16000 -otype wav y1.raw >i1.wav
ch_wave -itype raw -n 1 -f 16000 -otype wav y2.raw >i2.wav
echo Combine 1+3, 3+1
ch_wave -pc LONGEST i1.wav i2.wav >o12.wav
ch_wave -pc LONGEST i2.wav i1.wav >o21.wav
ls -l i1.wav i2.wav o12.wav o21.wav
dpkg -S ch_wave
dpkg --print-avail speech-tools | grep Version
1+0 records in
1+0 records out
16000 bytes (16 kB) copied, 0.000103022 s, 155 MB/s
Make 1s, 3s sounds
Combine 1+3, 3+1
-rw-r--r-- 1 chaered chaered 16044 2011-02-23 11:54 i1.wav
-rw-r--r-- 1 chaered chaered 48044 2011-02-23 11:54 i2.wav
-rw-r--r-- 1 chaered chaered 32044 2011-02-23 11:54 o12.wav <========== SHOULD BE SAME SIZE AS o21.wav
-rw-r--r-- 1 chaered chaered 96044 2011-02-23 11:54 o21.wav
speech-tools: /usr/share/
speech-tools: /usr/bin/ch_wave
Version: 1:2.0.95~beta-1
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: speech-tools 1:2.0.95~beta-1
ProcVersionSign
Uname: Linux 2.6.35-24-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Wed Feb 23 11:48:13 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: speech-tools
Related branches
Changed in speech-tools (Ubuntu): | |
status: | In Progress → Fix Committed |
Status changed to 'Confirmed' because the bug affects multiple users.