• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Don't have a microphone? Don't worry, UT can do this for you...

Scheduled Pinned Locked Moved Off topic
6 Posts 5 Posters 746 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Capsia
      last edited by 30 Apr 2020, 14:51

      Hi,
      this is an experiment I've done with Ubuntu Touch and I would like to share. If someone needs a microphone for conferencing during the pandemic but doesn't have one, here is how to use your Ubuntu Touch phone as a microphone for your pc.

      Things you need:

      1. Your Ubuntu Touch phone
      2. A jack to jack audio cable

      Step by step:

      1. Plug the cable into the microphone port of your pc and in the jack port of your phone.
        Check that you've done the step 1 before going to step 2.
        Check in the sound panel that headphones are plugged.
      2. Run the following command in the terminal:
        pactl load-module module-loopback
      3. Note the number in the output, you'll need it to stop microphone sharing.
      4. Enable silent mode to prevent notifications from going into the microphone.

      To stop sharing microphone:

      1. Run the following in the terminal replacing number_to_replace with the number you have noted before. Do not unplug the cable before running the command.
        pactl unload-module number_to_replace
      2. You can now safely remove the cable.

      Please check that you've done the operations in the correct order. (Don't hurt your ears).

      Tested on Nexus 5 Dev

      1 Reply Last reply Reply Quote 4
      • P Offline
        Pulsar33
        last edited by 30 Apr 2020, 15:57

        Hello
        Nice solution, thank you.
        Could it be adapted to a cable free solution (WiFi, Bluetooth) ?
        BR
        Pulsar33

        Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
        Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
        Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

        1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi
          last edited by kugiigi 30 Apr 2020, 16:34

          If this works on most, if not all, UT devices then I guess this can be added to UTTT 😉
          I wonder if it works on laptops though. I think the audio has to be able to carry both sound output and microphone.
          I myself would want to use it because my headset broke in the most unfortunate time LOL

          1 Reply Last reply Reply Quote 0
          • C Offline
            Capsia
            last edited by 30 Apr 2020, 17:10

            @Pulsar33 yes, it could be probably adapted to be cable free, but I don't know how...
            if someone could point me in the right direction, I could try

            @kugiigi It should work on all the devices running Pulseaudio, so all Ubuntu Touch devices (with a jack output) and also on laptops and desktops. If someone wants to check, let me know how it went.
            If your laptop has a speaker jack, then you should be able to do the exact same thing as with UT.

            Nice idea for UTTT

            1 Reply Last reply Reply Quote 0
            • T Offline
              tigerpro
              last edited by 30 Apr 2020, 17:52

              I wonder if this solution could also be adapted to make sound on a HDMI connected screen work

              Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

              D 1 Reply Last reply 30 Apr 2020, 19:10 Reply Quote 0
              • D Offline
                dobey @tigerpro
                last edited by 30 Apr 2020, 19:10

                @tigerpro said in Don't have a microphone? Don't worry, UT can do this for you...:

                I wonder if this solution could also be adapted to make sound on a HDMI connected screen work

                It cannot. You can of course use a 3.5mm to RCA or such adapter, to connect the headphone jack to the audio input on your TV, to get sound that way, but there is no support in the pulseaudio hybris modules currently for sending audio output over the HDMI when a Slimport/MHL cable is connected.

                1 Reply Last reply Reply Quote 0
                6 out of 6
                • First post
                  6/6
                  Last post