nnirror/facet

Sounds not coming trough on a Linux Pipewire system

Opened this issue · 7 comments

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.

@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?

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.

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.