170kis00022yav 1996/08/13 07:56:33 前へ 後へ 上へ

Tech report fkiswav1.lzh


MARSさんのPDS女声データききました.
が,いくつか聞けませんでした.
log は次のとおり

__FreeBSD__
device: /dev/dsp
input: _a1.wav
RIFF-WAVE 1-channels, 22050Hz, 8-bits/sample
RIFF-WAVE data lost!
device: /dev/dsp
input: _a2.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE data lost!
device: /dev/dsp
input: _arigat1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _asobo.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE data lost!
device: /dev/dsp
input: _bye1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _dame1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _dame2.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _ee1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE data lost!
device: /dev/dsp
input: _ee2.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE data lost!
device: /dev/dsp
input: _ee3.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE data lost!
device: /dev/dsp
input: _een1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _een2.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _ehe1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _ei1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _etchi1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _fight.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE data lost!
device: /dev/dsp
input: _ganba.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE data lost!
device: /dev/dsp
input: _hayaku1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _ieei1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _ikuyo1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _iya1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _iya2.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _kirai1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _konnic1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _kora1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _kya1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _kya2.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _kya3.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _mada1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _matane.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE data lost!
device: /dev/dsp
input: _mou1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _mou2.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _nyan1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _nyan2.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _ohayo1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _ohui1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _oyasum1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _pun1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _sayona1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _suki1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _suki2.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _suki3.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _thank1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _ufu1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _uun1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _uwaa1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _waai1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _waiwai1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _yahho1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel
device: /dev/dsp
input: _yamete1.wav
RIFF-WAVE 1-channels, 11025Hz, 8-bits/sample
RIFF-WAVE offset 44
 11025Hz  8-bit 1-channel Little-endian unsigned
 10989Hz  8-bit 1-channel

ヘッダの解析ルーチンは次のとおり

/* check Microsoft RIFF-WAVE header
 * return data offset
 *        == 0 : Not wav file
 *        < 0  : Not supported format
 */
int check_wav_header(buf)
     unsigned char *buf;
{
  int i;
  long data_rate;

前へ 後へ 上へ