mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 00:51:56 -05:00
Provide Fast/Normal/Deep options for wspr decoding.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8413 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
8f0655b3f5
commit
11c2435b5d
@ -1356,14 +1356,17 @@ void MainWindow::dataSink(qint64 frames)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(m_mode.startsWith ("WSPR")) {
|
if(m_mode.startsWith ("WSPR")) {
|
||||||
QString t2,cmnd;
|
QString t2,cmnd,depth_string;
|
||||||
double f0m1500=m_dialFreqRxWSPR/1000000.0; // + 0.000001*(m_BFO - 1500);
|
double f0m1500=m_dialFreqRxWSPR/1000000.0; // + 0.000001*(m_BFO - 1500);
|
||||||
t2.sprintf(" -f %.6f ",f0m1500);
|
t2.sprintf(" -f %.6f ",f0m1500);
|
||||||
|
if((m_ndepth&7)==1) depth_string=" -qB "; //2 pass w subtract, no Block detection, no shift jittering
|
||||||
|
if((m_ndepth&7)==2) depth_string=" -B "; //2 pass w subtract
|
||||||
|
if((m_ndepth&7)==3) depth_string=" -d "; //2 pass w subtract, Block detection, more candidates
|
||||||
QString degrade;
|
QString degrade;
|
||||||
degrade.sprintf("-d %4.1f ",m_config.degrade());
|
degrade.sprintf("-d %4.1f ",m_config.degrade());
|
||||||
|
|
||||||
if(m_diskData) {
|
if(m_diskData) {
|
||||||
cmnd='"' + m_appDir + '"' + "/wsprd -a \"" +
|
cmnd='"' + m_appDir + '"' + "/wsprd " + depth_string + " -a \"" +
|
||||||
QDir::toNativeSeparators(m_config.writeable_data_dir ().absolutePath()) + "\" \"" + m_path + "\"";
|
QDir::toNativeSeparators(m_config.writeable_data_dir ().absolutePath()) + "\" \"" + m_path + "\"";
|
||||||
} else {
|
} else {
|
||||||
if(m_mode=="WSPR-LF") {
|
if(m_mode=="WSPR-LF") {
|
||||||
@ -1371,7 +1374,7 @@ void MainWindow::dataSink(qint64 frames)
|
|||||||
QDir::toNativeSeparators(m_config.writeable_data_dir ().absolutePath()) + "\" " +
|
QDir::toNativeSeparators(m_config.writeable_data_dir ().absolutePath()) + "\" " +
|
||||||
'"' + m_fnameWE + ".wav\"";
|
'"' + m_fnameWE + ".wav\"";
|
||||||
} else {
|
} else {
|
||||||
cmnd='"' + m_appDir + '"' + "/wsprd -a \"" +
|
cmnd='"' + m_appDir + '"' + "/wsprd " + depth_string + " -a \"" +
|
||||||
QDir::toNativeSeparators(m_config.writeable_data_dir ().absolutePath()) + "\" " +
|
QDir::toNativeSeparators(m_config.writeable_data_dir ().absolutePath()) + "\" " +
|
||||||
t2 + '"' + m_fnameWE + ".wav\"";
|
t2 + '"' + m_fnameWE + ".wav\"";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user