Giter Site home page Giter Site logo

Comments (5)

argilo avatar argilo commented on June 27, 2024

nrsc5 doesn't support that, but I think it would be a useful feature. I'll put it in the next time I'm working on the project.

from nrsc5.

classicjazz avatar classicjazz commented on June 27, 2024

Thank you.

Some additional testing...

If I ask RTL_FM to tune 90.1M, it consistently tunes 90371000 Hz, not 90100000 Hz. 90100000 Hz works fine for nrsc5 but 90371000 Hz results in

Tuning to the radio station: 90.3 Mhz HD1 16:36:56 INFO main.c:183: [0] Generic RTL2832U OEM Playing: - [file] Reading from stdin... Found Rafael Micro R820T tuner Exact sample rate is: 1488375.071248 Hz 16:36:57 INFO main.c:63: Gain: 0.0 dB, CNR: -16.127131 dB 16:36:57 INFO main.c:63: Gain: 0.9 dB, CNR: -18.021013 dB 16:36:57 INFO main.c:63: Gain: 1.4 dB, CNR: -18.603493 dB 16:36:57 INFO main.c:63: Gain: 2.7 dB, CNR: -19.879759 dB 16:36:57 DEBUG main.c:67: Best gain: 0

Similarly with 90.9Mhz HD1 or 909000000 specified:
In RTL_FM, it tunes to 91171000 Hz instead.

from nrsc5.

argilo avatar argilo commented on June 27, 2024

I suspect that's just because rtl_fm is using offset tuning to keep the signal of interest away from the noise spike around 0 Hz.

nrsc5 doesn't have that problem because the noise spike is in the analog FM signal, which is filtered out anyway.

from nrsc5.

classicjazz avatar classicjazz commented on June 27, 2024

Ah, makes sense. I was confused because I was looking for the exact frequency to plug in. And what worked in analog wasn't working in digital.

All the more reason to just simplify the UX and just use 90.9M or similar...

from nrsc5.

awesie avatar awesie commented on June 27, 2024

This is fixed in #54. Instead of a prefix, it will accept a decimal number for the frequency, and if it is less than 10,000, it will be multiplied by 1M.

from nrsc5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.