Record SPDIF optical audio with UR23/S2 Digi optical to USB converters

UR23 is an optical to USB converter (32kHz-96kHz) while the S2 Digi does both optical to USB and USB to optical (44.1kHz-192kHz). Both units shows up as audio devices in Mac, Windows and can be selected as the input/output device in audio programs. Here is a guide on how to record and/or play through optical audio in a simple and free program called Audacity.

Windows

  1. Open Control Panel and go to Hardware and Sound, then click Sound –> Manage audio devices.
  2. Select the UR23/S2 Digi SPDIF device and click Properties
  3. Go to the Advanced Tab. Set the default sample and bit rates to the same rate as the sending device is sending, eg 48kHz 16bit. This is important as the recording will play in the wrong tempo/pitch if you are recording a 44.1kHz signal as 48kHz etc. If the sample rate you need doesn’t show up then go to the “Supported Formats” tab and enable the sample rate.
  4. Check and make sure the “Exclusive mode” options are enabled (also in the Advanced tab)
  5. Open Audacity and select the UR23/S2 Digi as the input device.
  6. Set the project sample rate to the same as the sample rate you’re sending.
  7. You can enable Software Playthrough (in “Transport” dropdown menu) to hear the incoming audio (using the S2 Digi or another output device).

Mac

  1. Make sure the UR23/S2 Digi shows up under input devices in “Sound’ in System Preferences
  2. Open the application “Audio Midi Setup” (in Utilities folder inside Applications folder). Set the sample and bit rate to the same rates as the sending device is sending, eg 48kHz 16bit. This is important as the recording will play in the wrong tempo/pitch if you are recording a 44.1kHz signal as 48kHz etc.
  3. Open Audacity and select the UR23/S2 Digi as the input device
  4. Set the project sample rate to the same as the sample rate you’re sending.
  5. You can enable Software Playthrough (in “Transport” dropdown menu) to hear the incoming audio (using the S2 Digi or another output device).

If you’d like to record or send 5.1 Dolby Digital (DTS, AC3) audio then have a look at this guide.

Troubleshooting

The audio is distorted
Check the sample rate settings in system settings (not only in the audio program). The audio might appear distorted if it’s set to a different sample rate than the one you’re sending.

The tempo is wrong (playing too fast or too slow)
Check the sample rate settings in system settings (not only in the audio program). An incorrect setting will cause the recorded signal to play back too fast or too slow.

There are “ticks”, “pop” noises in the incoming audio
Check the optical connection, both from the sending device and the input into UR23/S2. Try to send and record a lower sample rate (44.1kHz) to see if that improves the situation. For high sample rates, 96kHz and especially 192kHz (S2 Digi only), a very good optical connection is required.

13 thoughts on “Record SPDIF optical audio with UR23/S2 Digi optical to USB converters

  1. Rui Almeida says:

    Hello,
    Using the S2digi with Audacity (win11), testing receiving signal from toslink out from 3 different devices (2cdp and wiim mini) and saving it to Audicity I always get a lot of continuous background noise – almost as loud as the music.
    Any thoughts on what it can be?

    • Hifime says:

      That sounds like the sample rate settings are set incorrectly. You must set the sample rate in Windows System settings (control panel) to the same as the one you’re sending. If that doesn’t help then it could be a connectivity issue, check the cable connection or try another cable if you have one. Contact us for further support.

    • Hifime says:

      USB extension cables are not officially supported by the protocol, but they will normally work in most situations. We have used 1M and also 3M extension cables with our USB devices. You can only try and see how it works. The longer it is the bigger chance for a connectivity issue.

  2. Frank says:

    Does the S2 convert from optical to USB like the UR23? In the diagram for the S2 I only see a USB input on the device but not an output.

  3. Philip Douglas Hickling says:

    Hi guys, would it be possible to connect the USB from the UR23 to a Raspberry Pi4/Hiberry dac and play the audio from the TV toslink onwards to amp and speakers?
    Thanks for any ideas!

  4. Robert Greene says:

    Hello,
    I just got the S2 but OS (windows 7 pro Intel i7 with 32GB ram ) doesn’t see the S2 at all. Is there a diver I need .I planed on used the S2 with Tascam DA-3000

Leave a Reply

Your email address will not be published. Required fields are marked *