Audacity Support
  • Audacity Support
  • Audacity Basics
    • Downloading & installing Audacity
    • Installing FFmpeg
    • Recording your voice with a microphone
      • Setting recording and playback levels
    • Recording desktop audio
    • Editing audio
    • Saving and exporting projects
    • ☁️Sharing audio online
    • Customizing Audacity
      • Using themes
      • Installing plugins
      • Effect Presets
    • Keyboard shortcuts
  • Repairing Audio Recordings
    • Noise reduction & removal
    • Re-recording a section
    • Removing clicks & pops
  • Audio Editing
    • 🆕Using master effects & realtime effects
    • Making crossfades
    • Speeding up and slowing down audio
    • Changing pitch
    • Mixing and panning tracks
    • 🆕Reducing dynamic range (Compressor / Limiter)
    • Splitting a recording into separate tracks
    • Loudness Normalization
    • Macros
      • Manage Macros
      • Macros Palette
      • Macros Examples
    • Audiobook Mastering
  • Music
    • 🆕Enabling music view
    • Aligning music to beats and bars
    • Working with audio loops
      • Making audio loops
    • Isolating or removing vocals from a song
  • Audio Analysis
    • Spectral analysis
  • Troubleshooting
    • Troubleshooting overview
    • Error codes
      • Error -9996: Invalid Device Error
      • Error -9997: Invalid Sample Rate
      • Error -9998: Invalid number of channels
      • Error -9999: Unanticipated Host Error
      • Error opening sound device
      • Error opening recording device
      • Error: Audacity failed to read a file in C: and Error: Failed to Open Database File
      • Error Audacity did not recognize the type of this file
      • Error: The Audacity IPC server failed to initialize
      • Error code=12: cannot allocate memory (macOS)
      • Error: Missing Plugins
      • Error FFmpeg:1008
      • Installation exit codes
    • Recovering corrupted projects
      • Recovering corrupted projects in legacy Audacity versions
    • Common troubleshooting steps
    • Solving recording problems
      • Audacity is not detecting the audio device I just connected
      • Audacity is not playing back what is being recorded
      • Delay and echoes when recording
      • Crackles, pops and distortion in the recording
      • Vertical red lines in the recording
      • Recording volume slider cannot be moved
      • Audacity records silence when using a Bluetooth headset as a recording device
      • Only the left channel is recording
      • Recording dropouts, gaps, skips and glitches
      • Latency Compensation
    • Solving other problems
    • Resetting Audacity
    • Missing features
  • Special uses
    • Info for Visually Impaired Users
    • Info for System Administrators
  • Community
    • Contributing to Audacity
      • Making Tutorials and User Guides
        • Style Guide
        • Editing through GitHub
        • Gitbook Markdown syntax
        • TODO
          • Untitled
          • ASIO in Audacity
          • Synchronizing Tracks
            • Keeping Tracks Synchronized
          • Using Macros to Automate Frequent Tasks
          • Using looping Playback
          • Mastering for Audio Books
          • How to use Audacity
          • Working with Tracks
      • Developing Audacity
      • Translating Audacity
      • Answering user questions
      • Testing the latest features
      • Finding & testing plugins
      • Credits & License
    • 💬Discord
    • 💬Forum
  • Additional resources
    • 📄Changelog
      • Audacity 3.7
      • Audacity 3.7.1
      • Audacity 3.7.2
      • Audacity 3.7.3
      • Older versions
        • Audacity 1.x
        • Audacity 2.x
          • Audacity 2.0.0
            • Audacity 2.0.1
            • Audacity 2.0.2
            • Audacity 2.0.3
            • Audacity 2.0.4
            • Audacity 2.0.5
            • Audacity 2.0.6
          • Audacity 2.1.0
            • Audacity 2.1.1
            • Audacity 2.1.2
            • Audacity 2.1.3
              • New features in Audacity 2.1.3
              • New features in Audacity 2.1.3 - Appendix
          • Audacity 2.2.0
            • New features in Audacity 2.2.0
            • New features in Audacity 2.2.0 - Appendix
            • Audacity 2.2.1
              • New features in Audacity 2.2.1
            • Audacity 2.2.2
              • New features in Audacity 2.2.2
          • Audacity 2.3.0
            • New features in Audacity 2.3.0
            • Audacity 2.3.1
              • New features in Audacity 2.3.1
            • Audacity 2.3.2
              • New features in Audacity 2.3.2
            • Audacity 2.3.3
              • New features in Audacity 2.3.3
          • Audacity 2.4.0
            • New features in Audacity 2.4.0
            • Audacity 2.4.1
              • New features in Audacity 2.4.1
            • Audacity 2.4.2
              • New features in Audacity 2.4.2
        • Audacity 3.0
          • New features in Audacity 3.0.0
          • Audacity 3.0.2
            • New features in Audacity 3.0.2
          • Audacity 3.0.3
            • New features in Audacity 3.0.3
          • Audacity 3.0.4
            • New features in Audacity 3.0.4
          • Audacity 3.0.5
        • Audacity 3.1
          • Audacity 3.1.1
          • Audacity 3.1.2
          • Audacity 3.1.3
        • Audacity 3.2
          • Audacity 3.2.1
          • Audacity 3.2.2
          • Audacity 3.2.3
          • Audacity 3.2.4
          • Audacity 3.2.5
        • Audacity 3.3
          • Audacity 3.3.1
          • Audacity 3.3.2
          • Audacity 3.3.3
        • Audacity 3.4
          • Audacity 3.4.1
          • Audacity 3.4.2
        • Audacity 3.5
          • Audacity 3.5.1
        • Audacity 3.6
          • Audacity 3.6.1
          • Audacity 3.6.2
          • Audacity 3.6.3
          • Audacity 3.6.4
    • Audacity Plugins
Powered by GitBook
LogoLogo

Get Audacity

  • Home
  • Download

Contribute

  • Tutorial makers
  • Translators
  • Testers
  • Developers

Audacity Help

  • Help & Tutorials
  • Manual
  • Help Forum

Resources

  • Plugins
  • Share your audio
  • Muse Hub

© Muse Group & contributors. Contents licensed under the Creative Commons-Attribution 4.0 license.

On this page
  • Causes
  • Fixes

Was this helpful?

Edit on GitHub
Export as PDF
  1. Troubleshooting
  2. Error codes

Error -9997: Invalid Sample Rate

Learn about causes and fixes for this error.

PreviousError -9996: Invalid Device ErrorNextError -9998: Invalid number of channels

Last updated 1 year ago

Was this helpful?

Causes

This error can indicate an unsupported sample rate.

This error can also occur when using Audacity on Windows to record a track while listening another existing track (also known as overdubbing) with Windows WASAPI as the Host if the sample rate of the recording device is different than the sample rate of the playback device.

This error can also occur when you are trying to record a number of channels that is not supported in the current configuration.

Fixes

  • Double-check that both your OS settings and the Audacity project rate are set to a supported sample rate (usually 44100 Hz or 48000 Hz).

  • Use a different audio host. Sometimes WASAPI works when MME doesn't, sometimes it's the other way round.

  • Use a different number of channels. For example, some Realtek only work when recording in Mono, while some others only work in Stereo when recording a (loopback) stream.

  • Use the same playback device that you use as a recording device, especially when recording desktop audio.

If the troubleshooting steps aren't working for you, feel free to ask in our communities:

Forum
Discord