Git Product home page Git Product logo

Comments (7)

nsauk avatar nsauk commented on May 28, 2024 3

Realized that I have no sound only for half of presets (including the "Off" option). And then I found a reason — this is a None value responsible for volume_boost in each of default presets. So for me the issue is solved by such a change in app/core/presets.py:

 DEFAULT_PRESETS = [
-    Preset("Man", -1.5, None, None),
-    Preset("Woman", 2.5, None, None),
-    Preset("Boy", 1.25, None, None),
-    Preset("Girl", 2.8, None, None),
-    Preset("Darth Vader", -6.0, None, None),
-    Preset("Chipmunk", 10.0, None, None),
+    Preset("Man", -1.5, None, 0),
+    Preset("Woman", 2.5, None, 0),
+    Preset("Boy", 1.25, None, 0),
+    Preset("Girl", 2.8, None, 0),
+    Preset("Darth Vader", -6.0, None, 0),
+    Preset("Chipmunk", 10.0, None, 0),
     Preset("Bad Mic", None, 8, 0),
     Preset("Radio", None, 6, 0),
     Preset("Megaphone", None, 2, 0),
-    Preset("Off", 0.0, None, None)
+    Preset("Off", 0.0, None, 0)
 ]

@Shocoo @ayazgv @xarvex could you please check if this works for you?

from lyrebird.

pixelein avatar pixelein commented on May 28, 2024

Same on Ubuntu 23.04

from lyrebird.

xarvex avatar xarvex commented on May 28, 2024

Same on Fedora 38, no error logs and no warnings when launching from the command line.
I did even clone the repo and install that way but no luck.

from lyrebird.

nsauk avatar nsauk commented on May 28, 2024

Here is my data of such remapped device:

wpctl inspect 83
id 83, type PipeWire:Interface:Node
    adapt.follower.spa-node = ""
    audio.adapt.follower = ""
    audio.channels = "2"
    audio.position = "[ FL, FR ]"
  * client.id = "138"
    clock.quantum-limit = "8192"
    device.class = "filter"
  * factory.id = "6"
    factory.mode = "split"
    library.name = "audioconvert/libspa-audioconvert"
  * media.class = "Audio/Source"
    media.name = "Remapped Lyrebird-Output.monitor source output"
    node.autoconnect = "true"
  * node.description = "Remapped Lyrebird-Output.monitor source"
    node.group = "remap-source-536870913"
    node.link-group = "loopback-1926-12"
  * node.name = "Lyrebird-Input"
    node.trigger = "true"
    node.virtual = "true"
    node.want-driver = "true"
    object.register = "false"
  * object.serial = "1091"
    pulse.module.id = "536870913"
    resample.disable = "true"
    resample.prefill = "true"
    stream.is-live = "true"
pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 1293
Tile Size: 65472
User Name: nsauk
Host Name: redacted
Server Name: PulseAudio (on PipeWire 0.3.81)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: Lyrebird-Input
Cookie: 06ee:70d9

from lyrebird.

Scorpiontracks avatar Scorpiontracks commented on May 28, 2024

Same issue on Pop!_OS 22.04

from lyrebird.

Shocoo avatar Shocoo commented on May 28, 2024

Realized that I have no sound only for half of presets (including the "Off" option). And then I found a reason — this is a None value responsible for volume_boost in each of default presets. So for me the issue is solved by such a change in app/core/presets.py:

 DEFAULT_PRESETS = [
-    Preset("Man", -1.5, None, None),
-    Preset("Woman", 2.5, None, None),
-    Preset("Boy", 1.25, None, None),
-    Preset("Girl", 2.8, None, None),
-    Preset("Darth Vader", -6.0, None, None),
-    Preset("Chipmunk", 10.0, None, None),
+    Preset("Man", -1.5, None, 0),
+    Preset("Woman", 2.5, None, 0),
+    Preset("Boy", 1.25, None, 0),
+    Preset("Girl", 2.8, None, 0),
+    Preset("Darth Vader", -6.0, None, 0),
+    Preset("Chipmunk", 10.0, None, 0),
     Preset("Bad Mic", None, 8, 0),
     Preset("Radio", None, 6, 0),
     Preset("Megaphone", None, 2, 0),
-    Preset("Off", 0.0, None, None)
+    Preset("Off", 0.0, None, 0)
 ]

@Shocoo @ayazgv @xarvex could you please check if this works for you?

Thanks it seems to work well for me !

from lyrebird.

pixelein avatar pixelein commented on May 28, 2024

@nsauk yeah it works on Ubuntu 23.04, Thanks a lot!

from lyrebird.

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.