How to Configure N1MM with PowerSDR and VAC for Voice Keying

Expand / Collapse

How to Configure N1MM with PowerSDR and VAC for Voice Keying

How to Configure N1MM with PowerSDR and VAC for Voice Keying

  System Dependencies
  Minimum PowerSDR Version:     2.1.3  
  Applicable Hardware:     All FlexRadio SDRs  

Content provided by: Mack, W4AX

The intent of this article is to describe in detail the setup and configuration of N1MM for voice keying with PowerSDR. The configuration of VAC’s parameters other than the audio and PTT are outside the scope of this article.

Configuration Overview and Required Software
In this procedure we are assuming that you have your software defined radio and PowerSDR properly communicating and are using the most current versions of PowerSDR. It is also assumed that you have VAC and your virtual COM port program properly configured. This procedure was developed using the FLEX-5000, so it is important that you have the latest Firewire driver and firmware loaded for your radio as well. It should work equally well on any Flex radio.

Step 1. Download and install the latest version of N1MM
You can download N1MM software from the N1MM Home Page . For this procedure, N1MM 11.7.0 was used.

Step 2. Download, install and configure the Virtual Audio Cable software (VAC)
VAC is a program that transfers the RX/TX audio from PowerSDR to N1MM and subsequently transfers the TX audio from N1MM to PowerSDR without using a physical interface between the radio and a computer sound card. VAC makes PowerSDR "look" like a sound card or Windows audio device to N1MM. The benefit of VAC is that the audio exchanged between PowerSDR and N1MM stays entirely in the digital domain resulting in high dynamic range signals and there are no wires to introduce RF into the software defined radio system. 

VAC is not free open source software. It must be purchased from the authors web site. There is a demo version of VAC but it cannot be used because the demo version corrupts the audio I/O with a pre-recorded voice telling you it is demo software, essentially making it crippleware. For this procedure, VAC 4.09 (4.90) was used. Version 4.10 is NOT recommended as it has caused issues on some systems.

Step 3. Configure PowerSDR to use VAC with N1MM
Once the required software is downloaded and installed on your computer, the next step is to configure PowerSDR to use the VAC virtual audio cable for audio. For this procedure PowerSDR 2.1.3 was used. 

Step 4. Configure the Audio in N1MM
The final step is to configure the audio input and output connections for N1MM. This is probably the most confusing part of the N1MM configuration. N1MM has recently been improved to allow separate sound devices (cards) for input and output. This allows PowerSDR to seamlessly interface with N1MM.

Step 1. Download and install the latest version of N1MM

Using the URL listed above in Step 1 of the Configuration Overview and Required Software section for the N1MM home page download and install N1MM.

Step 2. Download, install and configure a virtual com port software such as VSP Manager for CAT Control
If you are unfamiliar with the concept of virtual com port pairs that are sometimes called virtual null modem cables, you can refer to the Knowledge Center article, What is a virtual com port or null modem emulator? , for a detailed description of how virtual com port software works.

This is a screen shot of VSP Manager Settings. Note this screenshot shows a set up for using DDUtil but for the purpose of this example we’ll use port 3/13 and assume DDUtil is not in use..

Step 3. Download, install and configure the Virtual Audio Cable software (VAC)
As noted above, you must purchase VAC as it is a commercial product. Using the URL listed above in Step 3 of the Configuration Overview and Required Software section for the VAC home page you can purchase your copy of VAC if you have not already done so. If you have VAC 4.x, but it is not version 4.09, you are entitled to get minor version upgrades. To get them, you must contact the company or software distributor from whom you purchased VAC from initially as the upgrades are not directly available from the VAC home page. This procedure has not been tested with the 3.x version of VAC and some older versions of VAC 4.x have been reported not to work for whatever reason.

The VAC package is distributed as a ZIP archive. Simply unpack it into an empty folder, run setup.exe application and follow the instructions displayed. If you are installing VAC for the first time, please review the readme.txt and vac.chm (Windows Help) files before installation. If you have already installed previous version of VAC 4.x, don't forget to uninstall it before installation.

Using the Knowledge Center article, How to Setup Virtual Audio Cable (VAC) 4.0x with PowerSDR 1.x , execute steps 1 through 3 for the instructions to configure the two (2) VAC audio cables. The instructions in the KC article represent a very "conservative" configuration. For the N1MM configuration, we will use a more optimized configuration but it will work with the conservative configuration.

Make the following changes:
  1. Ms per Int = 5
  2. Stream Fmt = Cable Range
  3. BPS = 8 .. 16

Step 4. Configure PowerSDR to use VAC and VSP Manager to interface with N1MM
Using the same Knowledge Center article referenced in Step 3, How to Setup Virtual Audio Cable (VAC) 4.0x with PowerSDR 1.x , execute steps 4 through 6 of the instructions to configure the PowerSDR VAC Audio parameters.

Make the following changes:
  1. Driver = MME
  2. Virtual Audio Cable Setup (Input) = Virtual Cable 1
  3. Virtual Audio Cable Setup (Output) = Virtual cable 2

NOTE: Do not worry about the TX and RX Gain (dB) values, those will be set later.

Configure PowerSDR to use a com port for CAT control by configuring. PowerSDR will use the virtual com port 13 of the virtual comport pair 3/13.

  1. Start PowerSDR and open the Setup form
  2. Select the CAT Control tab.
  3. In the CAT Control section, click on the drop down box and select the virtual com port of the virtual com port pair defied previously in a step above. In this example I used COM13.
  4. Check the Enable CAT check box.
  5. Check on the Apply button and close the Setup form
  6. PTT does not need to be configured since we’re using CAT commands to trigger PTT from N1MM

Step 5. Configure the Audio and PTT ports in N1MM
First, we will set up the CAT port for N1MM.

CAT Port Configuration
  1. Start N1MM
  2. From the main N1MM window (GUI), left click on Config and choose Configure Ports, Telnet Address, Other
  3. Using the drop down box select TS-2000 in the other half of the virtual serial cable port pair you previously set. In this example check Com3 of the 3/13 VSP pair.

  4. Audio Channel Configuration

 Within N1MM left click on Config, and choose Configure Ports, Telnet Address, Other. Left click the Audio tab.

Configure as shown in the following screenshot.

  1. 1 – One Radio, No Sound Card SO2R
  2. Select Output Device: Line 1 (Virtual Audio Cable)
  3. Select Message Recording Device: Line 2 (Virtual Audio Cable)
  4. Select Message Recording Port: Line 2
  5. You can leave the remainder of the settings in their default values.


To test the configuration, startup PowerSDR and N1MM in this manner
  1. Start PowerSDR
  2. Switch to LSB or USB mode and make sure VAC is enabled. Output to VAC should not be checked.
  3. Start N1MM
  4. To record a sound clip, with N1MM in focus, press CTRL-Shift-F2. To stop recording press CTRL-Shift-F2 again. Press PTT or MOX within PowerSDR. You can set your power level to 0 if you don’t want to produce RF.
  5. Press your F2 Key that you previously recorded and test hat PowerSDR transmits the audio properly. You may enable MON within PowerSDR to monitor the audio on your signal.
  6. Adjust the gain within PowerSDR VAC to the properly level using the ALC meter.
  7. This method of voice keying will NOT work using VOX

This KB article may reference additional files that are available on the FlexRadio Systems web site Downloads page. Please use the URL(s) below to download the referenced materials.

An Adobe Acrobat Reader may be required to open the file. You can download Adobe Acrobat from here.

KB Source Document(s):

None Referenced

Rate this Article:

Add Your Comments

Comment require login or registration.

Last Modified:Wednesday, July 20, 2011
Last Modified By: Administrator
Rated 5 stars based on 1 vote
Article has been viewed 25,992 times.