CuteCW icon indicating copy to clipboard operation
CuteCW copied to clipboard

Read to me mode corrupts text if punctuation is present

Open barjac opened this issue 13 years ago • 5 comments

I think the subject says it all. If e.g. hello. testing is entered in the text window, on playback the word hello is inserted replacing the ".", leaving :- hellohello testing on the screen.

barjac avatar Jan 12 '12 13:01 barjac

Yes, I agree. I think the internal word selection is failing at that point and I need to write my own or figure out how to fix Qt's. I'll look into doing that, thanks for reporting it.

hardaker avatar Jan 12 '12 13:01 hardaker

I am attempting to update our package for the new Mageia 9 release after seeing recent updates to cutecw. However 2.0 seems even worse than it was ten years ago! :(

In 'Read to me' mode: Play "cat dog horse sheep" and the second letter is random z,f,l.... all letters not in the text. If more words are added then the text changes on playback. Very broken.

The sound quality is also poor, as it seems to have poor envelope shaping.

Setting 20wpm sounds closer to 30wpm, or am I out of practice?

This is in Mageia Cauldron (dev) using qt6 and pipewire-pulseaudio.

[baz@jackodesktop ~]$ pactl info Server String: /run/user/1000/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 4303 Tile Size: 65472 User Name: baz Host Name: jackodesktop Server Name: PulseAudio (on PipeWire 0.3.51) Server Version: 15.0.0 Default Sample Specification: float32le 2ch 48000Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo Cookie: 9b66:f9b9

barjac avatar May 09 '22 21:05 barjac

FYI, I agree the rate may be too fast -- i thought it was too and wondered if it was just me out of practice but I think we're both right. I created #13 to track that.

hardaker avatar May 10 '22 03:05 hardaker

I agree that the read-to-me mode is broken (and was before the audio fix -- that is unrelated).

Can you verify that the recognition mode works for you though? IE, I'm trying to isolate/separate audio issues from other issues (and the audio support in Qt had a major overhaul and required figuring out the new APIs).

hardaker avatar May 10 '22 03:05 hardaker

current main should at least read text properly (with punctuation), but no longer supports reading each word multiple times. I'll have to get back to fix that but this should be better at least.

hardaker avatar May 10 '22 04:05 hardaker