Code Monkey home page Code Monkey logo

Comments (9)

JamesHarrison avatar JamesHarrison commented on June 9, 2024

Implemented computational complexity tweaking - needs verification of suitable settings for the Pi

from openob.

sreimers avatar sreimers commented on June 9, 2024

Hi James,

I've documented some general Raspberry PI audio tweaks

from openob.

JamesHarrison avatar JamesHarrison commented on June 9, 2024

Thanks - I'll have a play and drop what works best for OpenOB into the docs!

from openob.

naxxfish avatar naxxfish commented on June 9, 2024

This isn't entirely an OpenOB problem - it's more any USB device on the RPi.

Before fiq_fix in rpi-firmware, captured sound was a bit glitchy. After fiq_fix, it's on the whole unusable - the amount of data from the sound card lost makes the buffers underrun - introduces significant crackling, sample rate weirdness (it sounds as though the actual sample rate fluctuates, very bizarre).

I've raised this in the raspberrypi/firmware repo, and was confirmed by P33M

raspberrypi/firmware#197

The one upshot of this is that 32kHz sample rate might work sufficiently well to be usable, without any crackling or wobbly sample rate effects. To that end, we've got an option to specify samplerate on the transmitter side with --samplerate or -r in Hz.

I've tested the following with f893cf1 :

RPi end: Behringer UC202 (Raspbian with current firmware)
Remote end: IBM X31 laptop (Ubuntu 12.10)
Linked by: Wired ethernet
pi@raspberrypi$ openob remote_host test-link tx -r 32000 -a alsa -d hw:1 --complexity 2 remote_host
naxxfish@remote_host$ openob localhost test-link rx -a alsa

This seems to result in relatively clean audio being transmitted - albeit resampled in order to comply with opus's input pad caps (it won't accept 32kHz, only 48000, 24000, 16000, 12000 and 8000).

from openob.

snbdman avatar snbdman commented on June 9, 2024

Is the samplerate argument available in OPENOB version 2.3.6? I have been trying to change the sample rate of an OPENOB stream using either the "-r" or "--samplerate" arguments. Both arguments produce "error: an unrecognized argument". Any thoughts to why this is not working? The encoder and the decoder are both Raspberry Pi's

sudo openob 1.1.1.1 test-link tx -d hw:1,0 -e opus -r 32000 1.1.1.1

the 1.1.1.1 address is just for example

Thanks

from openob.

naxxfish avatar naxxfish commented on June 9, 2024

Should have been added in commit f893cf1 (the latest commit right now)
have you pulled that?
On Aug 12, 2013 6:58 PM, "snbdman" [email protected] wrote:

Is the samplerate argument available in OPENOB version 2.3.6? I have been
trying to change the sample rate of an OPENOB stream using either the "-r"
or "--samplerate" arguments. Both arguments produce "error: an unrecognized
argument". Any thoughts to why this is not working? The encoder and the
decoder are both Raspberry Pi's

sudo openob 1.1.1.1 test-link tx -d hw:1,0 -e opus -r 32000 1.1.1.1

the 1.1.1.1 address is just for example

Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-22512253
.

from openob.

snbdman avatar snbdman commented on June 9, 2024

How do I update to the latest comment? Is this different from the apt-get update command??

Thanks

Steve Smit
Desk 1 (651) 289 4419

On Aug 12, 2013, at 1:34 PM, "Chris Roberts" [email protected] wrote:

Should have been added in commit f893cf1 (the latest commit right now)
have you pulled that?
On Aug 12, 2013 6:58 PM, "snbdman" [email protected] wrote:

Is the samplerate argument available in OPENOB version 2.3.6? I have been
trying to change the sample rate of an OPENOB stream using either the "-r"
or "--samplerate" arguments. Both arguments produce "error: an unrecognized
argument". Any thoughts to why this is not working? The encoder and the
decoder are both Raspberry Pi's

sudo openob 1.1.1.1 test-link tx -d hw:1,0 -e opus -r 32000 1.1.1.1

the 1.1.1.1 address is just for example

Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-22512253
.


Reply to this email directly or view it on GitHub.

from openob.

JamesHarrison avatar JamesHarrison commented on June 9, 2024

To get the latest code you need to pull the code down manually (with git), go into the directory and run "sudo python setup.py install". You may want to uninstall the existing version you installed with easy_install/pip first. I only release new versions for stable code I've tested, and I've not had time to test this version yet.

from openob.

JamesHarrison avatar JamesHarrison commented on June 9, 2024

Closing this ticket - Wolfson audio board is the 'fix'.

from openob.

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.