Giter Site home page Giter Site logo

Stereo support about fm_transmitter HOT 8 OPEN

markondej avatar markondej commented on June 2, 2024
Stereo support

from fm_transmitter.

Comments (8)

markondej avatar markondej commented on June 2, 2024

DMA controller was changed in RPI2, so old solutions based on pifm project won't work.

I will add stereo support in fm_transmitter soon.

from fm_transmitter.

 avatar commented on June 2, 2024

Ok, thank you, I don't know how but I made some change in address by this commit: https://github.com/SandPox/PiFmRds/commit/fa11d6cc122c7d86145408e12606260a43fde152
sometime it work, sometime not but when it work then it less interferes than your code but the chance it work are small (~20 times try I got 1 working, the else are fail to reverse address 0 or some random address), not sure how those code working

from fm_transmitter.

markondej avatar markondej commented on June 2, 2024

Does it work first time after reset of CPU? Maybe its matter of resetting DMA, PWM or GPIO settings. I don't have RPi to test it right now.

Must say, I'm suprised it works at all ;)

from fm_transmitter.

 avatar commented on June 2, 2024

sometime work sometime not BUT: it still does transmit silent after exit with error "fail to reverse address..", after use your code then the silent signal gone.
img_0288

from fm_transmitter.

markondej avatar markondej commented on June 2, 2024

It's because my code switches pin 4 (antena output) back to GPIO operating mode, so no more radio waves are emited. Nothing really important.

In the PiFmRds, part of code which generates errors such as yours is commented with "FIXME" disclaimer. I believe its known error.

What version of raspian are you using?

from fm_transmitter.

 avatar commented on June 2, 2024

I'm using rapbian jessie (net-installer) with kernel 4.0.4, was tested with 3.8.x, same results

from fm_transmitter.

markondej avatar markondej commented on June 2, 2024

I've got PiFmRds compiled using your repo https://github.com/SandPox/PiFmRds. On my older raspbian (3.18.7) it works pretty well. It doesn't crash so often but problem is sound quality. Sound was fabulous when I first tried PiFm (by Oliver Mattos and Oskar Weigl) on my RPi 1. With fm_transmitter sound quality is poor as there is no DMA support, and samples transfer isn't so fluent.

But PiFmRds is even worse - a lot of cracks. Don't know where it comes from.

from fm_transmitter.

 avatar commented on June 2, 2024

I don't know but on my side, that repo have better sound quality when it's working than your fm_transmitter, less interferes and sound more clear... but I need attempt to run about 50 times then I got 1 times work properly

from fm_transmitter.

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.