hardaker / cutecw Goto Github PK
View Code? Open in Web Editor NEWA Morse Code Training Application
Home Page: http://www.hamtools.org/cutecw/
License: Other
A Morse Code Training Application
Home Page: http://www.hamtools.org/cutecw/
License: Other
I just compiled the convert-to-qt5 branch on my Ubuntu 15.10 machine and found that the audio seems to stop early. So e.g. for the k you only hear -. and the last dah is swallowed. I hacked a quick workaround which I am going to attach as a demonstration. The proper fix should probably not stop the audio so early I guess.
Here is the diff:
diff --git a/Morse.cpp b/Morse.cpp
index 57199d0..2749967 100644
--- a/Morse.cpp
+++ b/Morse.cpp
@@ -266,6 +266,14 @@ QTime Morse::playIt(QChar c, bool addLeadInPause) {
add(pause()); // allows audio device to kick in (otherwise distortion can occur)
m_leadInPause = sequenceTime();
add(c, false); // add the pause in maybePlaySequence so it can calculate the sequence end
+
+ /* add a letter pause twice so audio does not stop early (cutting of
+ * the last dit or dah).
+ * This is a workaround and we should probably just let the audio
+ * run a little longer.
+ */
+ add(m_letterPause);
+ add(m_letterPause);
return maybePlaySequence(true);
}
This fixes the issue for my use case.
N900 1.0-2
If you play music with media player you will hear media player and not cutecw.
Maybe this is something to do with pulseaudio? Unfortunately padsp doesn't work on maemo.
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.
Fetching from news sources in read-to-me-mode is broken (if nothing else, the URLs are 10 years old and probably out of date).
DESTDIR isn't used but not standard INSTALL_ROOT is used instead.
The binary is copied to local/bin and it is hardcoded.
I think you shoud use DESTDIR and make a paramater to setup bindir (default as local/bin)
Per #9 , the WPM rating may be playing faster than expected.
I just tried a re-package of cutecw in Mageia cauldron using your 'convert-to-qt5' branch - and while it builds fine there is no sound at all (with or without pulesaudio enabled).
[baz@jackodesktop ~]$ cutecw
xkbcommon: ERROR: failed to add default include path auto
Qt: Failed to create XKB context!
Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search path, add ':' as separator to provide several search paths and/or make sure that XKB configuration data directory contains recent enough contents, to update please see http://cgit.freedesktop.org/xkeyboard-config/ .
Raw audio format not supported by backend, cannot play audio.
new morse2
original buffer size: 0
switch to: 0
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Raw audio format not supported by backend, cannot play audio.
using null output device, none available
Backend is Phonon Gstreamer 4.7.1
Any ideas?
Barry
When I attempt to run cutecw, I get the following error:
$ ./cutecw-1.0.linux
./cutecw-1.0.linux: error while loading shared libraries: libQtMultimedia.so.4: cannot open shared object file: No such file or directory
I have installed all QT libraries using 'apt-get install libqt4-*' . In researching the issue it appears as of QT 4.7 the multimedia library is no longer included.
The Windows distribution works fine, but I want to install this on my daughter's laptop which runs Ubuntu. Is there a newer library that should be used instead of multimedia, or can you suggest a way to get it working without it?
Thank you!
Jeremy
KB7QOA
When more than one key is pressed during Recognition Training mode, application
stopps accepting aditional input.
During practicing the letter 'k' for the third time, I hit letters 'k' and 'j'
at the same time. It shouted 'KEY PRESSED EARLY' and and every next key was
dismised with 'ignoring key press; too long and probably an interruption'
Version-Release number of selected component (if applicable):
CuteCW 1.0
Steps to Reproduce:
Actual results:
5. from now on cutecw won't accept any input.
This bug was reported in RedHat bugzilla as https://bugzilla.redhat.com/show_bug.cgi?id=700881
On the N900 the norm is for a subview to replace the close button in the top right corner with a back button.
Hi,
I tested cutecw 0.5-1 from maemo extras-testing repository.
I started recognition training, but the sound stops working after
a few minutes. I always have to restart the application to get
sound working again.
btw, the ui is much more useable since the last version, only the
"Read to me" UI is still hardly usable.
regards
Nicolai
The screenshots for the Linux version look great.
N900 Suggestions:
Make the touchscreen keyboard disappear when the hardware keyboard is open to be replaced with accuracy graphs.
Have a button that switches between touchscreen keyboard and the graphs.
Change the appearance of the touchscreen keys based on accuracy.
great program btw :-)
Please consider writing and installing an AppData file with the application description and some screenshots, else Cute CW looks really bad in the GNOME and KDE Software Centers. We'd love to showcase more applications, but without the extra data file we can't. See http://people.freedesktop.org/~hughsient/appdata/ for details; thanks!
Richard
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.