Saturday, January 24, 2015

Rig Blaster Soundcard and Windows menu fix for recording control

I love Windows. Really, I do, but sometimes it's a royal pain in the rear because it gets the idea it'll do what it wants to do and to heck with what you like. And with Windows 10 looking like a pay-to-subscribe service, Microsoft is looking more and more like a less viable option down the road and my old standby of Linux looks to be the next big thing, but that isn't the point of this article.

Enough said about pay operating systems! On to the point of this blog!

I have an ICOM-718 transceiver with a Rigblaster Plug and Play interface for my PSK31 and rig control and I really love the combination. Tied into my Windows 7 system for the rig control and PSK31 software, it's a dream... I turn on the computer, fire up my ICOM and I'm in business. Except for one thing...

Windows decides, every time I reboot, to turn the Rigblaster sound settings into a zombie by disabling the line-in recording control for the Rigblaster. Every single time. The image below shows the menu with the disabled line in.

Rigblaster line in deactivated on boot.
Note the red speaker setting.
Also, note the high-level setting on boot

So I end up having to fix it by right-clicking on the volume control, selecting the recording control and navigating to the proper menu to re-enable the recording. It's a lot of clicks to get to the right menu. It works, but I wish I didn't have to do this and go through this ritual every time I boot up.

I end up losing my custom settings and it really gets old fast.

WHY this automatic disabling issue happens, I know not. I do know it is repeatable every single time I reboot my Windows system. So... I can handle a quirk or two... after all, it's a strange thing we do with connecting our radios to PCs and doing all these amazing things. If someone could tell me why the recording portion of the sound card does disable itself on boot and if there is a way to stop this forever, I'd be grateful.

Trouble is... I'm tired of the endless navigation to get to the right menu. Why couldn't Windows let me get to the recording menu directly? Seems like a logical thing to save a few clicks and steps. So I decided to Google around and sure enough I found out how to create a direct link to the recording menu.

Recording Control Menu in Windows
This page at http://www.sevenforums.com/tutorials/56892-sound-shortcuts-create.html had the answer.

You can create a shortcut to the recording control by getting to the shortcut creation menu in Windows and creating a new Recording menu shortcut to get to the recording tab that controls the Rigblaster card. I have copied the text from the link above that is relevant and thank that author for a fine job of providing the fix to save a few steps in correcting my errant sound card.

It's all pretty simple - Just some cut and paste work to get your shortcut built:

To Manually Create a "Sound" Shortcut for the recording menu
1. Right click or press and hold on an empty area on your desktop, and click/tap on New and Shortcut.

2. Type the location below (better to cut and paste it) into the location area for what tab you want the Sound shortcut to open to, and click/tap on the Next button.
  • Recording Tab
    • %windir%\System32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,1
Once done, you can reach the menu in fewer steps and make the needed corrections by reactivating the line in menu and setting the line level to somewhere between 10 and 20

The only downside is that the default icon is kind of boring. I used one of the default Windows icons to add a little variety and the shortcut now stands out on my task bar.

So, once you have the shortcut built, click it and up will pop your recording menu! Make your edits by getting to the line-in tab and make the needed fixes as shown in the menu below. Enjoy!

Line level reactivated and level set to between 10 and 20.
You will need to click the speaker icon to get it to reactivate.
Once done with the settings, click Ok and you will be back in business.

Sunday, January 11, 2015

Overcoming Old Links in Digipan

So. It has been awhile since I started this blog. And I have been busy despite the dearth of articles to this blog. Life has a way of getting you to focus on things and this blog went by the wayside for awhile, but I'm back and wanted to share a technique I came up with for Digipan station lookups. I hope it helps you!

I have been steadily building up my station over the course of a year in ham radio. I'm still a technician class ham at the time of this writing, but I now have a nice new ICOM IC-718 transceiver and I have developed an interest in digital mode communications. More specifically, I'm into PSK31 and now that I am watching QSOs on 20 and 40 meters, I'm using software that is freely available to do just that.

Digipan 2.0
My first piece of software for PSK work, which I like for it's simplicity of operation, is Digipan. The trouble is, Digipan is OLD. Actually, ANCIENT would be more the word. And with that ancient heritage, comes the fact that the station lookup function for Digipan is broken because the URL format for lookups is now completely different since the last compilation of Digipan in 2004.

In my professional life as a webmaster and application builder, I realized that I could easily fix Digipan to work once again with a little work on using a tool to catch an inbound web request and to transform it before hitting a web site. In IIS, we use a plugin called UrlRewrite to do such things, both for inbound and outbound web requests. So, I reasoned out that it would make sense that a similar thing exists for browsers too. Since I'm a fan of Firefox, I decided to look at the optional plugin list lo and behold! I found a perfect tool for the job. (Note that there may be similar tools for other browsers, but I went with what I knew and liked for this need. The techniques used will be very similar for other similar tools and hopefully this article helps.)

Redirector is a plugin to match URLs and regex and wildcard patterns to scan for and to transform an outgoing web URL to a new form that the user specifies.

Now, how to we use this to fix Digipan?

First off, let's take a look at what happens when you do a station lookup in Digipan. Since my callsign is KK6IQK, I'll start with an example from Digipan's internally formatted URL for station lookups from 2004 to QRZ.COM.

The Firefox browser launches when I do the station lookup and heads over to the following URL:

http://www.qrz.com/callsign.html?callsign=KK6IQK

Resulting in the following display:



Now what? How can we transform the URL so it will go to the new format that QRZ.COM uses?

First step is to open Firefox and go to the Redirector plugin page and download and install it. Note that Firefox will need to be restarted once the install is complete.

Now go back and have Digipan do a station lookup again. Firefox will launch and you will get a page that shows the broken link on QRZ.Com.

Your next step is to create the rule to transform the link. To do so, make sure your "Tools" menu is available for Firefox and choose the Tools menu. Look towards the bottom and you should see an item that says "Redirector". Press it.

A new tab will open up and you will see a "Redirector" screen. Get the link from the original tab for QRZ.Com (example below)

  • Original Link: http://www.qrz.com/callsign.html?callsign=KK6IQK - Place it in the example URL field
Next, we create the pattern for Redirector to use to match up links to transform:
  • http://www.qrz.com/callsign.html?callsign=* - Place that in the Include Pattern field
Note that we use a wildcard for the callsign. Set the Pattern Type radio button to "Wildcard".

Now for the magic. The "Redirect to" line will transform the link while preserving the first argument of the station id as follows:
  •  http://www.qrz.com/db/$1
When finished, you should have a screen that looks like:


You are done, save the rule.A new screen will appear, showing the rule you just built:


Now to test it! Your original tab with the original broken URL on QRZ.Com is likely still open. If not, you can copy the URL for my station in the old 2004 format:

  • http://www.qrz.com/callsign.html?callsign=KK6IQK
Now paste it if you need to, or just reload the page. The rule should transform seamlessly. If not, go back and check the rule logic and correct any typos.

 If the rule worked, the URL will automatically change to
  • http://www.qrz.com/db/KK6IQK
The corrected page, in QRZ's current link lookup format will look like this. Success! The rule works!


Now, close all the browsers and launch Digipan. Pick a station from the waterfall and then do a lookup. Digipan should be working again with lookups! This technique will help with all kinds of broken link issues with older ham software and I hope this is yet another item in your toolbox that you will use again and again!

Enjoy and 73!

Jon