GithubHelp home page GithubHelp logo

No RX capability? about freedvtnc2 HOT 5 CLOSED

iqw1345 avatar iqw1345 commented on June 25, 2024
No RX capability?

from freedvtnc2.

Comments (5)

xssfox avatar xssfox commented on June 25, 2024 1

No worries. I'll close this for the moment. If I can find out the exact cause I'll try to figure out which upstream project to raise the problem with.

from freedvtnc2.

xssfox avatar xssfox commented on June 25, 2024

Try saving your config with the save command then running --no-cli --log-level DEBUG and provide the logs here. I haven't checked running this through jack. You could try running the tune command and a recording or listening to it to make sure it's generating a nice clean signal.

from freedvtnc2.

iqw1345 avatar iqw1345 commented on June 25, 2024

For additional context, the main audio server that I am using is pipewire, but I am using JACK's capabilities to manually run audio to where I want in this case. I have configured freedvtnc2 to use "pulse" as the input and output audio. That way, when I run the radio, I can start freedvtnc2 with the following:

PULSE_SINK=alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo PULSE_SOURCE=alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo freedvtnc2 --input-device pulse --output-device pulse --kiss-tcp-port 8001 --mode DATAC1 --log-level DEBUG

This is out of habit from dealing with fldigi and direwolf.

As requested, I have attached logs of both instances trying to communicate with each other, but to no avail. I tried pinging freedvtnc2-2 from freedvtnc2-1.

freedvtnc2-2.txt
freedvtnc2-1.txt

I've also attached what the audio configuration looks like in this case using qjackctl with each tnc communicating with the other.

freedvtnc2

It's not shown in the above picture, but I didn't see a tune command, but I assume you meant to run the test_ptt command. I played test_ptt into my headphones and the audio output sounded clear.

Please let me know if there's any additional information needed from me.

from freedvtnc2.

xssfox avatar xssfox commented on June 25, 2024

I'm not entirely sure what the problem is. I know i've had issues in the past with dynamically changing the inputs and outputs on pyaudio apps before using qjackctl before. I think this might be due to a clock change occurring that pyaudio/portaudio can't handle? I'm really not too sure tbh. I was certainly able to replicate your issue using my pipewire test box. For testing you can work around the issue by creating a sink device first and telling freedvtnc to talk directly to that.

pactl load-module module-null-sink sink_name=freedv_testing
freedvtnc2 --output-device "freedv_testing Audio/Sink sink" --input-device "freedv_testing Audio/Sink sink Monitor"

This worked for me, you can either run two of these or just one (the modem will happily RX it's self which is handy for testing as you don't need two instances running)

There's probably not a lot more I can do though.

from freedvtnc2.

iqw1345 avatar iqw1345 commented on June 25, 2024

Interesting, that works for me too. I appreciate the help and thanks for the project!

from freedvtnc2.

Related Issues (2)

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.