Giter Club home page Giter Club logo

Comments (10)

SeaDve avatar SeaDve commented on June 16, 2024

I'm not sure how microphone access works under snap, so I'm going to ping @soumyaDghosh here.

from mousai.

soumyaDghosh avatar soumyaDghosh commented on June 16, 2024

@aryasheikhi I am requesting some extra details here to debug.

Outputs of the below commands.

  1. snap version
  2. snap connections mousai

EDIT: if possible kindly share some screenshots also.

EDIT2: @SeaDve if I am not wrong, mousai uses portals to access the microphone, but with Ubuntu 22.04 it probably doesn't have that latest portal, which is probably making this error. Kindly correct me if I am wrong.

from mousai.

SeaDve avatar SeaDve commented on June 16, 2024

if I am not wrong, mousai uses portals to access the microphone, but with Ubuntu 22.04 it probably doesn't have that latest portal, which is probably making this error. Kindly correct me if I am wrong.

Mousai uses the gstreamer device provider and fallbacks to pulseaudio. While I'd like for it to use a portal to access the microphone, it currently does not, and I think there is no microphone portal at the present.

Edit: I have a feeling OP does not have pulseaudio properly set up, but only the logs could tell.

@aryasheikhi Could you also provide the logs with the issue reproduced?

from mousai.

aryasheikhi avatar aryasheikhi commented on June 16, 2024

Thanks for the reply
@soumyaDghosh
As for snap version

➜  ~ snap --version
snap    2.60.4
snapd   2.60.4
series  16
ubuntu  22.04
kernel  6.2.0-36-generic

as for snap connections
image

from mousai.

soumyaDghosh avatar soumyaDghosh commented on June 16, 2024

For the snap, I'll try to add the audio-record plug. But I see you're using generic kernels. Are they supported by ubuntu?

from mousai.

SeaDve avatar SeaDve commented on June 16, 2024

The logs would also be useful from Mousai side (if it is not a packaging issue)

from mousai.

soumyaDghosh avatar soumyaDghosh commented on June 16, 2024

The logs would also be useful from Mousai side

I am actually very curious about them. @SeaDve does you app need access to microphone separately? I think then it's my fault.

from mousai.

SeaDve avatar SeaDve commented on June 16, 2024

does you app need access to microphone separately?

I'm not sure what exactly you mean, but on Flatpak side, you at least need the pulseaudio socket, both when recording from microphone or desktop audio

from mousai.

soumyaDghosh avatar soumyaDghosh commented on June 16, 2024

Umm.. seems that snap has it. But, TBH, the snap was never to recognize any song via microphone. But, I never found any error log regarding not able to access microphone. It also looked like that it's recording audio. Cause it spiked while high talks.

image

from mousai.

SeaDve avatar SeaDve commented on June 16, 2024

I'm gonna close this for now since the information given does not give much context or the problem. Feel free to re-open it though with the required information. Thanks!

from mousai.

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.