Coder Social home page Coder Social logo

Comments (23)

D3SOX avatar D3SOX commented on June 2, 2024

image
Sound also doesn't seem to work for me (I pressed enter at the sources prompt since there were no options)

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

I noticed that the instructions in the README don't work since the link to the script is not correct.
I guess the link should have been https://raw.githubusercontent.com/ShayBox/Mon2Cam/master/install.sh and inside the install script https://raw.githubusercontent.com/ShayBox/Mon2Cam/master/src/mod.ts
(And btw you could also update the language in your profile README)

I'm sorry if you are already aware of these problems and you just haven't had the time to deal with them

from mon2cam.

botiapa avatar botiapa commented on June 2, 2024

Hey sorry about that, thanks for reporting these issues. I'll fix them tomorrow (It's an easy fix probably.) Also the readme definitely needs to be rewritten, as currently it's not correct.

What do you mean updating the language in your profile? Was that directed at @ShayBox?

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

Hey sorry about that, thanks for reporting these issues. I'll fix them tomorrow (It's an easy fix probably.) Also the readme definitely needs to be rewritten, as currently it's not correct.

What do you mean updating the language in your profile? Was that directed at @ShayBox?

Hi, thanks for the reply. Yes it was directed at @ShayBox since it still says bash on his profile

from mon2cam.

ShayBox avatar ShayBox commented on June 2, 2024

I don't control what language github shows, it picks that based on what languages are used
nevermind you mean my markdown profile on github, yeah ill fix that

Okay I fixed the links and monitor selection flag

from mon2cam.

botiapa avatar botiapa commented on June 2, 2024

Hwí @D3SOX pushed a commit. I'd appreciate it, if you would give it another try.

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

Hwí @D3SOX pushed a commit. I'd appreciate it, if you would give it another try.

It works now but the sink only has the audio of the application. I don't know why but it doesn't detect my microphone.
image

Here is the output of some commands (I hope it helps):

pactl list short sinks

0       alsa_output.usb-Kingston_HyperX_7.1_Audio_00000000-00.analog-stereo     module-alsa-card.c      s16le 2ch 44100Hz       RUNNING

pactl list sinks

Sink #0
        State: RUNNING
        Name: alsa_output.usb-Kingston_HyperX_7.1_Audio_00000000-00.analog-stereo
        Description: HyperX 7.1 Audio Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 54094 /  83% / -5.00 dB
        Monitor Source: alsa_output.usb-Kingston_HyperX_7.1_Audio_00000000-00.analog-stereo.monitor
        Latency: 6864 usec, configured 3990 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USB Audio"
                alsa.id = "USB Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "HyperX 7.1 Audio"
                alsa.long_card_name = "Kingston HyperX 7.1 Audio at usb-0000:2e:00.3-4, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:2e:00.3-usb-0:4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:2e:00.3/usb5/5-4/5-4:1.0/sound/card2"
                udev.id = "usb-Kingston_HyperX_7.1_Audio_00000000-00"
                device.bus = "usb"
                device.vendor.id = "0951"
                device.vendor.name = "Kingston Technology"
                device.product.id = "16a4"
                device.product.name = "HyperX 7.1 Audio"
                device.serial = "Kingston_HyperX_7.1_Audio_00000000"
                device.string = "front:2"
                device.buffering.buffer_size = "704"
                device.buffering.fragment_size = "352"
                device.access_mode = "mmap"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "HyperX 7.1 Audio Analog Stereo"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB0951:16a4"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        Ports:
                analog-output: Analog Output (priority: 9900)
        Active Port: analog-output
        Formats:
                pcm

And pavucontrol input devices
image

from mon2cam.

botiapa avatar botiapa commented on June 2, 2024

pactl list sinks lists the output devices. Please post the output of pactl list sources.

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

pactl list sinks lists the output devices. Please post the output of pactl list sources.

pactl list sources

Source #0
        State: IDLE
        Name: alsa_output.usb-Kingston_HyperX_7.1_Audio_00000000-00.analog-stereo.monitor
        Description: Monitor of HyperX 7.1 Audio Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor of Sink: alsa_output.usb-Kingston_HyperX_7.1_Audio_00000000-00.analog-stereo
        Latency: 0 usec, configured 3990 usec
        Flags: DECIBEL_VOLUME LATENCY 
        Properties:
                device.description = "Monitor of HyperX 7.1 Audio Analog Stereo"
                device.class = "monitor"
                alsa.card = "2"
                alsa.card_name = "HyperX 7.1 Audio"
                alsa.long_card_name = "Kingston HyperX 7.1 Audio at usb-0000:2e:00.3-4, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:2e:00.3-usb-0:4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:2e:00.3/usb5/5-4/5-4:1.0/sound/card2"
                udev.id = "usb-Kingston_HyperX_7.1_Audio_00000000-00"
                device.bus = "usb"
                device.vendor.id = "0951"
                device.vendor.name = "Kingston Technology"
                device.product.id = "16a4"
                device.product.name = "HyperX 7.1 Audio"
                device.serial = "Kingston_HyperX_7.1_Audio_00000000"
                device.string = "2"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        Formats:
                pcm

Source #1
        State: SUSPENDED
        Name: alsa_input.pci-0000_2e_00.4.analog-stereo
        Description: Starship/Matisse HD Audio Controller Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 8
        Mute: no
        Volume: front-left: 31354 /  48% / -19.21 dB,   front-right: 31354 /  48% / -19.21 dB
                balance 0.00
        Base Volume: 6554 /  10% / -60.00 dB
        Monitor of Sink: n/a
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC1220 Analog"
                alsa.id = "ALC1220 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfcd00000 irq 86"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:2e:00.4"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:2e:00.4/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1487"
                device.product.name = "Starship/Matisse HD Audio Controller"
                device.string = "front:1"
                device.buffering.buffer_size = "768"
                device.buffering.fragment_size = "384"
                device.access_mode = "mmap"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Starship/Matisse HD Audio Controller Analog Stereo"
                alsa.mixer_name = "Realtek ALC1220"
                alsa.components = "HDA:10ec1168,1462cc37,00100101"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-input-front-mic: Front Microphone (priority: 8500, available)
                analog-input-rear-mic: Rear Microphone (priority: 8200, available)
                analog-input-linein: Line In (priority: 8100, not available)
        Active Port: analog-input-front-mic
        Formats:
                pcm

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

I think it should detect Source #1 as my microphone. When it's in use it changes to State: RUNNING and Latency: 751 usec, configured 4353 usec

from mon2cam.

botiapa avatar botiapa commented on June 2, 2024

Could you check out the latest commit? @D3SOX This should have fixed the issue.

from mon2cam.

botiapa avatar botiapa commented on June 2, 2024

@D3SOX Is the issue closable?

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

@D3SOX Is the issue closable?

Sorry give me one second I'll test the sound feature again

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

image
Doesn't seem to work

from mon2cam.

botiapa avatar botiapa commented on June 2, 2024

Are you using the latest update? @ShayBox Pushed a commit that should've fixed it.

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

image
Yes just did a clean build with yay

from mon2cam.

botiapa avatar botiapa commented on June 2, 2024

Let's wait for shaybox then. I'm gonna ping him.

from mon2cam.

ShayBox avatar ShayBox commented on June 2, 2024

Can I get your output to xrandr --listactivemonitors

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

Can I get your output to xrandr --listactivemonitors

Monitors: 2
 0: +*DisplayPort-0 1920/598x1080/336+1920+0  DisplayPort-0
 1: +HDMI-A-1 1920/598x1080/336+0+103  HDMI-A-1

from mon2cam.

ShayBox avatar ShayBox commented on June 2, 2024

are you using the latest commit? I should have fixed that

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

Hm now it works but yesterday it didn't. Maybe I had some other applications open or the upgrade from xorg server version 1.20.8 to 1.20.9 I did a few minutes ago fixed it.

from mon2cam.

botiapa avatar botiapa commented on June 2, 2024

@D3SOX Is the issue closable?

from mon2cam.

D3SOX avatar D3SOX commented on June 2, 2024

I did a quick test with Discord and the sound feature seems to work if I move the recording input in pavucontrol

from mon2cam.

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.