论坛风格切换切换到宽版
  • 4347阅读
  • 13回复

求助:有关n1mm软件 qsorecording的设置 [复制链接]

上一主题 下一主题
离线BH1NSN
 
发帖
202
只看楼主 倒序阅读 0楼 发表于: 2016-04-04
目前配置 ic7600 microham usb interface iii ,win-test 全程qso录音正常。切换软件用n1mm的时候有audio配置,也能在n1mm的安装目录看到qsorecording目录,就是不知道如何启动qso录音功能。求指导。其中F1-F11自动呼叫都可以。
离线BA4TB
发帖
3415
只看该作者 1楼 发表于: 2016-04-04
下载第三方软件QSOrder就可以了.

https://sourceforge.net/projects/qsorder/
离线bg3ssa
发帖
370
只看该作者 2楼 发表于: 2016-04-06
这个自述文件关于设置方面,看起来挠头。


qsorder.exe - a console app for audio recordig of N1MM contest QSOs.

v2.8 - May 26, 2015

this is an external "plug-in" for N1MM which adds a QSO audio recording function. qsorder maintains a buffer in memory and listens for "Contact" UDP broadcasts sent by the logging program. The broadcasts trigger a dump of the audio buffer to a file after a specified delay time (default is 20 secs). The delay helps with capturing a tail-end after a QSO was entered into the log.

Basic usage

Download and unpack both the qsorder executable and lame.exe to the directory which will contain the contest audio (e.g. c:\contest-qsos\). If prefer to save uncompressed WAV files instead of mp3's then simply delete lame.exe. ('Lame' is a very fast, free MP3 encoder)
Download qsorder from the SourceForge project page
Find the [ExternalBroadcast] section in your N1MM Logger.ini and include the lines below. This enables local QSO info UDP broadcast. For more info see N1MM UDP documentation. Restart N1MM after making changes.

(also see here: http://n1mm.hamdocs.com/tiki-index.php?page=Third+Party+Software#QSOrder_by_Vasily_K3IT_ )


N1MM+: files should be extracted to ..Documents\N1MM Logger+\QsoRecording in order to play correctly from the N1MM+ log window.


[ExternalBroadcast]
DestinationIPs=127.0.0.1
DestinationPort=12060
IsBroadcastContact=True

Alternate broadcast configuration example (N1MM v13 and up):

[ExternalBroadcast]
BroadcastContactAddr=127.0.0.1:12060
IsBroadcastContact=True

Start qsorder.exe. If prompted by the Windows Firewall software make sure you allow local network communication. qsorder should tell you which audio input was selected. If it's not the right one, go to windows audio settings and change the "Default Recording Device" to the one you like. (note: rec input selection flag is not yet implemented)
Make QSOs in N1MM.

Pressing a HOTKEY (CTRL+ALT+M or specified with --hot-key option) will save the current audio buffer to a file in AUDIO_YYYY directory.  The hotkey should be recognized even when qsorder window is not in focus. Use this key whenever you hear something interesting, outside of a normal QSO (even when N1MM is not running!)

the audio files are saved to a subdirectory <contest>-<year>. Note that only a parital file name is printed to save screen space.

ReplayGain indicates the perceived loudness of the recording as reported by lame. This info is also embedded to mp3 files.

to stop qsorder either close the command window or Ctrl-Break. (the window may not react to a Ctrl-C right away - this is normal;)
This is it. For any feedback please post a comment at the SF or email k3it
Advanced usage

qsorder supports optional command line flags:

Usage: qsorder.py [options]


Options:

  -h, --help            show this help message and exit
  -D, --debug           Save debug info[default=False]
  -d DELAY, --delay=DELAY
                        Capture x seconds after QSO log entry [default=20]
  -i DEVICE_INDEX, --device-index=DEVICE_INDEX
                        Index of the recording input (use -q to list)
                        [default=none]
  -k HOT_KEY, --hot-key=HOT_KEY
                        Hotkey for manual recording Ctrl-Alt-<hot_key>
                        [default=O]
  -l BUFFER_LENGTH, --buffer-length=BUFFER_LENGTH
                        Audio buffer length in secs [default=45]
  -C, --continuous      Record continuous audio stream in addition to
                        individual QSOs[default=False]
  -P PORT, --port=PORT  UDP Port [default=12060]
  -p PATH, --path=PATH  Base directory for audio files [default=none]
  -q, --query-inputs    Query and print input devices [default=False]
  -S, --so2r            SO2R mode, downmix to mono: Left Ch - Radio1 QSOs,
                        Right Ch - Radio2 QSOs [default=False]
  -s STATION_NR, --station-nr=STATION_NR
                        Network Station Number [default=none]


Multi Multi Configuration Example N1MM Logger.ini file
    Station 0 should be  DestinationPort=12060
     Station 1 should be  DestinationPort=12061
     Station 2 should be  DestinationPort=12062
     And use --port option

    Alternatively set staion NR  using --station-nr option
      (tnx ve2ebk)



Additional info

written in python 2.7, using threading and pyaudio libraries:

Main Thread - listens for UDP broadcasts from N1MM on port 12060

Sound card I/O thread - maintains a double ended FIFO audio buffer of the specified length (default: 45 secs)

File I/O thread(s) - dump_audio function saves the buffer to a wav file and (optionally) converts to mp3 using lame encoder. This function uses threading.timer module for scheduling

python script is repackaged into a windows executable with pyinstaller.

Tips for audio input: when possible use an isolation transformer (salvage from an old modem). For Mic In recordings use an attenuator to prevent hiss and clipping.

Change history:

v2.8
- uninterrupted recording mode (with the -C or "--continuous" flag), parrallel to recording of individual QSOs
   hourly audio files are saved in the AUDIO_YEAR directory, a new mp3 file is created at the top of each hour.
   Extra Disk space required for this option: ~360 MB per 24 hours
- increased sampling rate from 8000 to 11025
- pyaduio library updated to version 0.2.8 https://people.csail.mit.edu/hubert/pyaudio/
- allow cp1251 character set in the recording device names (tnx ua9lif)

v2.7
- pyinstaller updated to 2.1 https://github.com/pyinstaller/pyinstaller/wiki

v2.6b
input selection options, debug option, skip old qsos
    - new flags -q, -i, -D to allow sound input selection and the debug log.
    - skip udp packets for old QSO, for example ignore QSO edits

v2.5b
- fixes for N1MM integration issues. Play Contact now works for phone contests
- SO2R Mode (--so2r flag).  Connect Left Radio to Left audio channel, Right Radio to the Right channel.  
     In this mode QSORDER will downmix the "active" audio input to MP3 mono, and mute the "inactive" radio input.
     In other words - Radio 1 QSOs will be recorded from the Left Ch, Radio 2 QSOs - from the Right Ch.
     without this flag both Left and Right channels are saved to a stereo file.
     HOT KEY - always saves in stereo
- yet another change of the default global hot-key (to CTRL-ALT-O)
- see BUGS.txt for known issues with qsorder


v2.4b
change to CTRL-ALT-M as the default hot-key.
Bug fix in mp3 conversion routine

v2.3b
added a global hot-key (default CTRL+ALT+R).  
  pushing the hotkey immediately saves the current audio buffer to a file.  
  (qsorder window does not need to be in focus).  
improvement in file/directory naming


v2.2b
added UDP --port and --station-nr options for Multi-Multi setups

v2.1b
added optional -l (buffer length), -d (delay), -p (path), command line flags
added conversion to mp3 with (included) lame.exe encoder
fix handling of / in callsigns
add ReplayGain indicator to the output
save audio files into a <contest-year> directory
v2.1a

initial version (tnx n4zr,dk8nt,n2ic and others)

Future plans:
Audio input selection - DONE
Integration with N1MM log GUI (if N1MM team's time permits) - DONE
Integration with iTunes (just kidding)

73!
Vasiliy k3it
设备:IC7410,FT897D,PAC-12,K-730
QQ:  10376684
邮箱:jiaojiangyu@126.com
日志查询:https://secure.clublog.org/logsearch/BG3SSA
离线bg3ssa
发帖
370
只看该作者 3楼 发表于: 2016-04-06
[ExternalBroadcast]
DestinationIPs=127.0.0.1
DestinationPort=12060
IsBroadcastContact=True

以上这段,不知是加入INI文件中,还是替换原来的内容。
设备:IC7410,FT897D,PAC-12,K-730
QQ:  10376684
邮箱:jiaojiangyu@126.com
日志查询:https://secure.clublog.org/logsearch/BG3SSA
离线bg3ssa
发帖
370
只看该作者 4楼 发表于: 2016-04-06
N1MM帮助文件里有关的介绍。

9. QSOrder (by Vasily, K3IT)
QSOrder is a QSO recording program written by Vasily, K3IT, to enable N1MM Logger users to record contest QSOs on the fly and replay them. QSOs are stored individually in folders labelled with the contest name.

Download QSOrder as a zip file from the QSOrder project area at Sourceforge.net . Create a folder in which you will store the contest recording folders (e.g. a Contest Recordings folder within your N1MM Logger program folder) and unzip the contents of the zip file into that folder.

QSOrder uses N1MM Logger's UDP broadcasts. Follow the instructions in the downloaded readme.txt file to modify your N1MM Logger.ini file to include broadcasts of contact information from N1MM Logger to QSOrder. Note that the default port in the instructions is 12060. If you use other plugins that rely on UDP broadcasts from N1MM Logger, you may need to change the port number used by QSOrder in order to avoid conflicts. If you wish to use a different port number, change the port number used for contact broadcasts in the N1MM Logger.ini file and use QSOrder's PORT command-line flag to tell it to use the port number you have chosen (e.g. -P 12061).

To use QSOrder for a particular contest, start the QSOrder program and run it at the same time as N1MM Logger. Each time a QSO is logged in the Logger, a UDP broadcast will trigger QSOrder to save a recording of that QSO. Recordings are saved in a sub-folder named by contest-name and year, and each QSO is saved in a file whose name includes the callsign of the station worked, the name of the contest, the date, time and band. The length of each recording is determined by the buffer length option, and the recordings are set to run until a specified delay time after the contact is logged; both of these time parameters are configurable using command-line flags. To use one of these command-line flags, insert it into the Target: line in the desktop shortcut you use to start QSOrder with, e.g. Target: "C:\Users\User\Documents\N1MM Logger+\QSOrecording\QSOrder.exe" "-P 12061" (the program name and each command-line flag should be enclosed in a separate set of quotation marks).
设备:IC7410,FT897D,PAC-12,K-730
QQ:  10376684
邮箱:jiaojiangyu@126.com
日志查询:https://secure.clublog.org/logsearch/BG3SSA
离线bg3ssa
发帖
370
只看该作者 5楼 发表于: 2016-04-06
继续问题:


设备:IC7410,FT897D,PAC-12,K-730
QQ:  10376684
邮箱:jiaojiangyu@126.com
日志查询:https://secure.clublog.org/logsearch/BG3SSA
离线BH1NSN
发帖
202
只看该作者 6楼 发表于: 2016-04-07
离线BH1NSN
发帖
202
只看该作者 7楼 发表于: 2016-04-07
lame.exe 的安装了吗
离线BH1NSN
发帖
202
只看该作者 8楼 发表于: 2016-04-07
不过后来我用了一个其它的录音软件,也一样解决了录音问题,如果要修改qsorder的参数配置的话,好像需要用到 python ,
written in python 2.7, using threading and pyaudio libraries:

离线BH1NSN
发帖
202
只看该作者 9楼 发表于: 2016-04-07
离线bg3ssa
发帖
370
只看该作者 10楼 发表于: 2016-04-08
同样的方法,回头试试如何,
设备:IC7410,FT897D,PAC-12,K-730
QQ:  10376684
邮箱:jiaojiangyu@126.com
日志查询:https://secure.clublog.org/logsearch/BG3SSA
离线BH4TXN
发帖
15095
只看该作者 11楼 发表于: 2016-04-09
回 bg3ssa 的帖子
bg3ssa:继续问题:
[图片]  (2016-04-06 17:49) 

声卡的麦克风改成英文名字
微信公众号BH4TXN
----------------
野外穿越、搜救必备--北斗终端海聊产品授权代理商
E文网站代理群:368045942   DIGI模式群:152930364 免费算APRS-IS验证码
淘宝小店:https://bh4txn.taobao.com 英文网站注册及日志代理                
指纹密码刷卡智能锁 智能家居 900兆:要奇奇陆吧三铃摇摇就散
扣扣:肆肆叁壹肆玖壹壹陆  支付宝:bh4txn艾特gmail.com  微信:BH4TXN_AF5QP  QTH:无锡市梁溪区家乐苑25-1号
离线bg3ssa
发帖
370
只看该作者 12楼 发表于: 2016-04-26
回 BH4TXN 的帖子
BH4TXN:声卡的麦克风改成英文名字 (2016-04-09 08:39) 

的确是这个问题。改成英文之后可以录制了。

接着又出来问题了:SSB能录音,CW模式不行。

请问TXN可能是什么问题?
设备:IC7410,FT897D,PAC-12,K-730
QQ:  10376684
邮箱:jiaojiangyu@126.com
日志查询:https://secure.clublog.org/logsearch/BG3SSA
离线BH4TXN
发帖
15095
只看该作者 13楼 发表于: 2016-04-27
各人的电台与电脑连接都不一样,没法具体说明,设置到在电脑声卡里能监听到CW侧音就可以了。
微信公众号BH4TXN
----------------
野外穿越、搜救必备--北斗终端海聊产品授权代理商
E文网站代理群:368045942   DIGI模式群:152930364 免费算APRS-IS验证码
淘宝小店:https://bh4txn.taobao.com 英文网站注册及日志代理                
指纹密码刷卡智能锁 智能家居 900兆:要奇奇陆吧三铃摇摇就散
扣扣:肆肆叁壹肆玖壹壹陆  支付宝:bh4txn艾特gmail.com  微信:BH4TXN_AF5QP  QTH:无锡市梁溪区家乐苑25-1号