doc:appunti:linux:audio:audio_recording
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:audio:audio_recording [2019/04/19 16:43] – [Wireless UHF microphone] niccolo | doc:appunti:linux:audio:audio_recording [2020/12/28 18:22] (current) – niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Audio Recording With Linux ====== | + | ====== Audio Recording With GNU/Linux ====== |
===== Choosing the right jack ===== | ===== Choosing the right jack ===== | ||
Line 44: | Line 44: | ||
A small movable **induction coil**, positioned in the **magnetic field** of a permanent magnet, is attached to the diaphragm. The sound wave moves the diaphragm and the coil moves in the magnetic field, producing a varying current in the coil through **electromagnetic induction**. No power is required: the current is carried directly on **two poles** to the mic input. These microphones generally have a **1/4" mono jack**. | A small movable **induction coil**, positioned in the **magnetic field** of a permanent magnet, is attached to the diaphragm. The sound wave moves the diaphragm and the coil moves in the magnetic field, producing a varying current in the coil through **electromagnetic induction**. No power is required: the current is carried directly on **two poles** to the mic input. These microphones generally have a **1/4" mono jack**. | ||
+ | |||
==== Condenser ==== | ==== Condenser ==== | ||
Line 56: | Line 57: | ||
Unlike capacitor ones, electret microphones **do not require polarizing voltage**, but generally they contain an integrated preamplifier that **does require power**. In this cases a **TRS jack** can be used, where the ring carries power via a resistor from, normally, a 5 V supply in the computer (often incorrectly called // | Unlike capacitor ones, electret microphones **do not require polarizing voltage**, but generally they contain an integrated preamplifier that **does require power**. In this cases a **TRS jack** can be used, where the ring carries power via a resistor from, normally, a 5 V supply in the computer (often incorrectly called // | ||
- | ===== External mic on the Acer Travelmate B113-E | + | ====== Wireless UHF microphone ====== |
- | Running | + | We have purchased an **UHF wireless |
- | <code> | + | * The **transmitter** powered by **two AA batteries**, |
- | jack/ | + | * A **[[wp>Lavalier microphone|lavalier microphone]]** on a clip. |
- | jack/ | + | * One small **wire-antenna**. |
- | </code> | + | * Frequency range: **610-675 MHz** (53 channels spaced by 1.25 MHz each). |
+ | * Modulation system: DQPSK | ||
+ | * Frequency response: 60-16000 Hz | ||
+ | * Transmitted power: 10 dBm | ||
+ | * Working current: %%<=%% 100 mA | ||
- | but nothing is reported about the plug of a microphone. Beside that, no bias current appear on the microphone jack. The solution is to run the **hdajackretask** tool (from the **alsa-tools-gui** Debian package), then force the connection of **Pin 0x19**: | + | * The **receiver** powered by **two AAA batteries**, featuring: |
+ | | ||
+ | | ||
+ | * Receiving sensitivity: | ||
+ | * Working current: %%<=%% 100 mA | ||
- | * Enable the **Show unconnected pins** option. | + | {{wireless-mic-trasmitter.jpg? |
- | * Click **Pin ID: 0x19** => **Override** => **Microphone**. | + | {{wireless-mic-receiver.jpg? |
- | * **Apply now** (it asks for the root password, as it has to run a script with superuser privileges). | + | |
- | the running | + | To connect |
- | < | + | ^ 1/4" TS female jack ^ Signal |
- | jack/microphone MICROPHONE plug | + | | **Tip** |
- | </ | + | | | Not connected |
+ | | **Sleeve** | ||
- | Now you can also measure a **bias current of 2.85 V** between | + | The **2.6 volt** current provided by the USB adapter on th **jack ring** will go nowhere (not connected). The **2.6 volt** current provided on the **jack tip** is probably not required by the UHF receiver, but **it should not harm**. **No infromation** is available about **microphone impedence** expected by the USB adapter, on the other hand no information is available about the **impedence of the mic interface** of the UHF receiver. |
- | Using **alsamixer** you can control | + | Despite all this empirical approach, the **voice registration is quite satisfying**! See below about connecting |
- | Is not clear **how to disable | + | ===== Wireless mic on the Acer Travelmate TMB113-E ===== |
- | ===== Problem: silence gaps using a cheap USB dongle ===== | + | See this article about **[[audio_recording_tmb113_e]]**. |
+ | |||
+ | ===== Wireless mic on Android ===== | ||
+ | |||
+ | See this article about **[[audio_recording_android]]**. | ||
+ | |||
+ | ===== Wireless mic on Ugreen USB audio adapter ===== | ||
+ | |||
+ | See this article about **[[audio_recording_usb_adapter]]**. | ||
+ | |||
+ | ====== Problem: silence gaps using a cheap USB dongle | ||
I was **unable to use the microphone connector** on my Acer TravelMate, so I tried to use an USB dongle, marked **LinQ**. The device was detected by the Linux Kernel 4.9.0: | I was **unable to use the microphone connector** on my Acer TravelMate, so I tried to use an USB dongle, marked **LinQ**. The device was detected by the Linux Kernel 4.9.0: | ||
Line 110: | Line 129: | ||
{{audacity-track-gaps.png? | {{audacity-track-gaps.png? | ||
- | ===== Ugreen USB audio adapter ===== | + | ====== Web References |
- | + | ||
- | The device is detected by the Linux Kernel 4.9.0 in this way: | + | |
- | + | ||
- | < | + | |
- | usb 2-1.3: new full-speed USB device number 5 using ehci-pci | + | |
- | usb 2-1.3: New USB device found, idVendor=0d8c, | + | |
- | usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 | + | |
- | usb 2-1.3: Product: USB Advanced Audio Device | + | |
- | usb 2-1.3: Manufacturer: | + | |
- | input: C-Media Electronics Inc. USB Advanced Audio Device as / | + | |
- | / | + | |
- | hid-generic 0003: | + | |
- | input, | + | |
- | on usb-0000: | + | |
- | </ | + | |
- | + | ||
- | {{ ugreen-usb-audio.jpg? | + | |
- | + | ||
- | Launching **alsamixer** and hitting F6 you can select the **USB Advanced Audio Device** sound card. Hit F4 to view the only one capture device, i.e. the microphone input line. Press **Space** to enable/ | + | |
- | + | ||
- | It seems that the best setting for audio recording through the mic, is to keep the **capture mic gain to 100**: | + | |
- | + | ||
- | {{usb-advanced-audio-device-alsamixer.png? | + | |
- | + | ||
- | The **microphone socket** is a **3.5 mm TRS type** (three poles), it provides a bias current of **2.6 V** on both the **tip** and the **ring**, so it is advisable, as reported in the device manual, to **NOT use a simple two poles mono jack** (TS type), because it will short-circuit the bias current on the ring with the ground on the sleeve. | + | |
- | + | ||
- | ===== Wireless UHF microphone ===== | + | |
- | + | ||
- | We have purchased an **UHF wireless microphone** on Aliexpress.com for about 25 €. It is composed by: | + | |
- | + | ||
- | * The **transmitter** powered by **two AA batteries**, | + | |
- | * A **[[wp> | + | |
- | * One small **wire-antenna**. | + | |
- | * Frequency range: **610-675 MHz** (53 channels spaced by 1.25 MHz each). | + | |
- | * Modulation system: DQPSK | + | |
- | * Frequency response: 60-16000 Hz | + | |
- | * Transmitted power: 10 dBm | + | |
- | * Working current: %%<=%% 100 mA | + | |
- | + | ||
- | * The **receiver** powered by **two AAA batteries**, | + | |
- | * A 1/4" (6.35 mm) mono jack. | + | |
- | * One small **telescopic antenna**. | + | |
- | * Receiving sensitivity: | + | |
- | * Working current: %%<=%% 100 mA | + | |
- | + | ||
- | {{wireless-mic-trasmitter.jpg? | + | |
- | {{wireless-mic-receiver.jpg? | + | |
- | + | ||
- | To connect the receiver to the Ugreen **USB audio adapter**, we built an adapter cable with a **male jack 3.5 mm TRS**. This is the pinout: | + | |
- | + | ||
- | ^ Male Jack 3.5 mm TRS ^ Signal | + | |
- | | **Tip** | + | |
- | | **Ring** | + | |
- | | **Sleeve** | + | |
- | ===== Web References ===== | + | |
* [[wp> | * [[wp> | ||
Line 172: | Line 136: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |
doc/appunti/linux/audio/audio_recording.1555684987.txt.gz · Last modified: 2019/04/19 16:43 by niccolo