Can somebody please verify that the attached file can be interpreted by spkmodem-recv?
Or point out where I might be going wrong?
Keith Emery wrote:
Can somebody please verify that the attached file can be interpreted by spkmodem-recv?
$ sox test.wav -t s16 -L -c 1 -r 48000 - | ./spkmodem-recv | xxd 0000000: 25 % $
A single '%' is output. Is that what you would expect?
Or point out where I might be going wrong?
Looking at the .wav file in a wave editor it has little if any noise.
Is this actually a recording?
//Peter
It should definitely be more than that as it was my attempt to create a test file using the grub console. The 'bleeps' seemed to match the key presses, so I was hoping it represented some progress, but apparently that is not the case. Having tried both the test file, and a recording from core-boot both seem to be producing gibberish.
The reason there is almost no noise I believe is because I made a custom adapter cable connecting the PC-speaker on the main board directly to the recording device. One side effect I notice when opening the file in audacity is that the waveform is an almost perfect square wave. Could this be because I'm driving a low impedance input, or is this likely to be the issue?
Using sox does seem to have changed the output, so I might try re-recording the core boot tones with sox. Maybe that eliminates one more variable.
On 18/10/21 07:51, Peter Stuge wrote:
Keith Emery wrote:
Can somebody please verify that the attached file can be interpreted by spkmodem-recv?
$ sox test.wav -t s16 -L -c 1 -r 48000 - | ./spkmodem-recv | xxd 0000000: 25 % $
A single '%' is output. Is that what you would expect?
Or point out where I might be going wrong?
Looking at the .wav file in a wave editor it has little if any noise.
Is this actually a recording?
//Peter _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org