Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sounds not coming trough on a Linux Pipewire system #82

Open
Parakovsky opened this issue Feb 22, 2024 · 7 comments
Open

Sounds not coming trough on a Linux Pipewire system #82

Parakovsky opened this issue Feb 22, 2024 · 7 comments
Assignees

Comments

@Parakovsky
Copy link

Think it might be related that pulseaudio got proxied by Pipewire or something. Can't see the audio output both in pavucontrol and the browser window.

@nnirror
Copy link
Owner

nnirror commented Feb 22, 2024

@Parakovsky A few questions / things to check:

  1. Have you "enabled browser sound" by clicking the speaker icon in the lower-left of the browser window? It should be toggle on so it has the three lines coming off it.
  2. If you do that and it still doesn't work, what browser are you using and what Linux OS?

@Parakovsky
Copy link
Author

Parakovsky commented Feb 22, 2024 via email

@Parakovsky
Copy link
Author

Parakovsky commented Feb 23, 2024 via email

@nnirror
Copy link
Owner

nnirror commented Feb 27, 2024

Okay. Have you followed the steps in the "Installation and getting started" section?

It is necessary to complete each of those, in the order they are listed, so that Facet will run properly. So, you need to install nodejs, npm, and sox.

https://github.com/nnirror/facet?tab=readme-ov-file#installation-and-getting-started

First, I would walk through each step again and confirm that you have completed it.

Then, when you run "npm run facet", and you navigate to localhost:1124, does the text editor open correctly? Is there a green circle in the bottom-left to indicate that the servers in the background are running? At the very bottom fo the screen, there should be a indicator of the transport's position in the loop which continually moves from left to right. Is that working?

If the text editors and servers seem to be running properly, then after you run a command such as $('example').sine(100).times(_.sine(100)).play();, you should see a .wav file appear in the facet/tmp directory. Does that happen? If so, can you play that wav file somehow?

Just a few thoughts to help you debug. I hope this is helpful.. please feel free to ask more questions if you're still not able to get it running.

@nnirror nnirror self-assigned this Feb 27, 2024
@Parakovsky
Copy link
Author

Parakovsky commented Feb 27, 2024 via email

@nnirror
Copy link
Owner

nnirror commented Feb 28, 2024

Thanks for sending that video.

Could you go to the root of the facet repository and run node js/transport.js from a terminal?

If there aren't any errors when you run that command, this issue might be due to firewall settings on your computer. Facet uses several HTTP servers on your local machine, each running on a different port, and they need to be able to communicate with each other.

Also, what version of NodeJS are you using? you can check by running node -v.

@Parakovsky
Copy link
Author

Parakovsky commented Feb 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants