Questions tagged [audio]

Questions about designing electronics for measuring, processing, and amplifying audio signals.

Filter by
Sorted by
Tagged with
6 votes
1 answer
1k views

My BJT audio amplifier circuit isn't working as expected

I am trying to design an audio amplifier circuit using BJTs. These are the requirements of the circuit: Input signal: 50-100 mV (It's the output of my iphone's microphone.) 2 W - 4 ohms speaker There ...
Henry Nguyen's user avatar
22 votes
3 answers
34k views

DC biasing audio signal

I have seen a few different ways of adding DC bias to an audio signal. I have simulated them and they all give me similar results, but I can't figure out why choose A over B or C. My audio source will ...
jsolarski's user avatar
  • 2,510
276 votes
3 answers
39k views

What is it that strips vocals from audio when a 1/8" audio jack is partially unplugged?

Every once in a while, my eighth-inch audio jack will slip loose and I'll seemingly lose only the voice part of a track -- leaving somewhat of a "karaoke" version. What I would guess about how audio ...
editor's user avatar
  • 2,501
64 votes
6 answers
261k views

What is the voltage range of a standard headphone jack from a phone?

I want to connect the output from the audio jack of an iPhone to an Arduino. What voltage range can I expect to see on the audio lines from the iPhone? I assume that turning the volume up on the ...
manuelBetancurt's user avatar
22 votes
2 answers
28k views

Single supply op-amp audio amplifier

I am trying to create an op-amp amplifier that would work from single 5V supply, and would be able to amplify -100mV to +100mV audio signal to around a 1V peak-peak or so. I've came across this ...
Golaž's user avatar
  • 1,967
20 votes
6 answers
68k views

How does the phone detect if 3.5 mm jack circuit is closed?

I have an android phone to which i have plugged an earphones. So at the top of the phone, I get the headphone symbol which indicates that the earphone is connected (In other words, the circuit at the ...
Gautham's user avatar
  • 347
59 votes
3 answers
79k views

How important is impedance matching in audio applications?

How much will reflected signals matter in audio applications (say between an amp and a speaker, or a pre-amp and an amp)? Mostly with regards to fidelity and not power transfer. What are the ...
eruditass's user avatar
  • 954
30 votes
7 answers
8k views

What makes a "balanced" audio signal?

What is "balanced" audio exactly, and why is it useful? I've read that it means there are two voltages, with one being the inverse of the other. A balanced audio receiver looks at the difference ...
Phil Frost's user avatar
  • 57.1k
7 votes
2 answers
2k views

How to connect one Android mobile audio output to the microphone of another Android mobile?

This question is to help the "hard of hearing community" so that they can READ the phone/mobile call because they can not hear it. Android has some really good (and free, too) apps which can ...
Dheeraj Chauhan's user avatar
23 votes
5 answers
12k views

What's the best cable to transfer audio signal?

Sorry if this is the wrong place but I'm interested in a scientific and electrical explanation and not some HiFi voodoo magic. I guess you all have seen the discussions about expensive audio cables ...
Duckers's user avatar
  • 343
18 votes
3 answers
106k views

Using a microphone with an Arduino

EDIT: I have been investigating in this problem for quite some time. It turns out to be a way more difficult project than I thought and not something for beginners. This requires expensive hardware (...
Toast's user avatar
  • 363
6 votes
3 answers
3k views

What component to use for audio signal switching?

I'm looking to build a guitar pedal switcher based on a Raspberry Pi or Arduino (have not yet decided, but I have an unused Raspberry around and I lean towards that). Anyway, digital logic. Now, I ...
CatalinM's user avatar
  • 387
5 votes
3 answers
12k views

Ground loop? Switch mode power supply noise

I have a single 12V supply powering a 12V class D audio amplifier (Tripath TA2020 based, model 'SMSL SA-36') (C) and a very cheap 12V to 5V 2A rated switch mode converter (A). The 5V is used to power ...
damian's user avatar
  • 343
4 votes
2 answers
14k views

line-level audio into an iPhone headset jack?

What level and/or impedance matching (or pre-amp) circuits should be used to send a line-level audio signal into the mic input ring of an iPhone headset jack with minimal distortion and/or loss?
hotpaw2's user avatar
  • 4,761
3 votes
2 answers
2k views

Can I use a UA741 here?

I need to pass a domestic -10dbV audio signal (it should oscillates between -447mV and +447mV) to a microcontroller's ADC which only accepts signals that oscillates between 0V and 5V. I think that the ...
giuliom_95's user avatar
2 votes
3 answers
5k views

Playing sounds on an AVR MCU [closed]

I never had to deal with sound and I am pretty sure some of you guys have some experience in that kind of application. My question is more about getting some tips on the different ways to implement ...
Buddyshot's user avatar
  • 177
19 votes
5 answers
63k views

Simple Audio amplifier Using Transistors

I would like to build a simple audio amplifier using transistors. I know there are IC designs specifically for the task. But i want to use transistors so i can learn how to use them for amplification. ...
drdr's user avatar
  • 265
19 votes
4 answers
14k views

How could you transfer data over an audio line?

I'd like to pass some data over an audio cable (i.e from audio card to my cellphone) with a short cable. I'm looking for some ideas for algorithms for achieving this. They of course should include ...
roman's user avatar
  • 409
14 votes
2 answers
36k views

Naively mixing two (or perhaps more) audio signals

this is my first question and I am very much a beginner in electronics so I apologize if this is a too stupid question. I have Atari punk console and another small homemade audiomaking circuit. These ...
Jonas's user avatar
  • 381
9 votes
4 answers
14k views

Can I use a PNP Transistor with an Electret Microphone to get an non-inverting output for my Arduino?

I'm looking to simply read the generic sound level from an Electret Microphone. I've seen a number of schematics with NPN transistors, that will provide an inverted output (~5V when quiet, ~0V when ...
Ehryk's user avatar
  • 1,151
8 votes
2 answers
46k views

Connect speaker output to microphone input

What exactly is the difference between a microphone signal and a speaker signal? I want to make a simple cable to connect a PC speaker output to a microphone input. Does anyone have a good idea or ...
KF2's user avatar
  • 193
7 votes
3 answers
26k views

How to make my own volume control for headphones?

I have headphones that don't have volume control built in on the cable, so I thought why wouldn't I try to make one? However, I don't know where to start. Is it enough to just use a logarithmic ...
xx77aBs's user avatar
  • 912
6 votes
2 answers
19k views

Driving LEDs from audio signal

I am making this very simple hobby circuit and I need help. This utilizes the sound (variations) from the device through the jack to provide light (intensity) variations in the LEDs using TIP31. ...
SJR's user avatar
  • 71
5 votes
2 answers
26k views

What is the typical max voltage for sound card line in? [closed]

What is the typical max voltage rms, peak and peak to peak for a sound card line in?
oneoldude's user avatar
  • 109
5 votes
1 answer
1k views

Bootstrap in power amplifier

So I know the theory behind a bootstrap current source in power audio amplifier and understand its operating principle but some things remain uncertain to me. First - how to divide the collector ...
Dawid W's user avatar
  • 115
2 votes
2 answers
3k views

Making a Simple Audio Mixer

I'd like to make a simple audio mixer that takes in line level signals from various mp3 players, computers, etc. I found a simple schematic online, but I'm wondering if this will be okay for my ...
Nate's user avatar
  • 1,668
2 votes
3 answers
805 views

Single supply op amp to convert 0-5VDC to +/-2VDC (microcontroller to line level)

I am generating a 0-5 volt sine wave using an arduino with a DAC. I would like to level shift this signal (DC bias?) by -2.5 volts and have a gain of .8, so that I end up with a line level sine wave. ...
circuitry's user avatar
  • 137
50 votes
4 answers
13k views

Loud pop noise while plugging to a headphones jack

I have a Panasonic RX-ES29 boombox with a type C plug (ungrounded). I sometimes hear a relatively loud snap/pop sound in the right speaker of my headphones while I completely plug them into the ...
Sepp A's user avatar
  • 563
42 votes
6 answers
47k views

Can an audio circuit be powered by a switched-mode power supply?

Most audio circuits are powered with large, heavy transformers and a small ripple after smoothing. SMPS are smaller and more efficient. EMI can be shielded by a metal enclosure and the output filtered ...
Rob Kam's user avatar
  • 1,305
19 votes
2 answers
54k views

What wattage should a headphone amp be?

I was at a local surplus store today and I got two LM386N ICs. I thought I could make a really simple headphone amp out of these. But I have no idea what the wattage of a normal headphone amp is. ...
Sponge Bob's user avatar
  • 5,213
17 votes
9 answers
8k views

DSP recommendation for beginners [closed]

I am considering a project involving a fair share of digital signal processing. As far as I know, the best type of IC suited for this are the Digital Signal Processors. I have never worked with them ...
Dominik's user avatar
  • 404
14 votes
2 answers
16k views

Audio delay using discrete components

I would like to make a circuit that causes an audio delay using discrete components. I know I can do small phase shifts using an opamp, but I am looking for something in the millisecond or second ...
Kellenjb's user avatar
  • 17.6k
13 votes
3 answers
5k views

Accidentally downmixed stereo to mono, why does this work?

I have a cheap Chinese Bluetooth audio amplifier like this: It has four screw terminals for the speaker connections, namely L+, L-, R+ and R-. I accidentally connected a single speaker to L+ and R-, ...
Bas's user avatar
  • 463
11 votes
8 answers
15k views

Maximum sample rate of Arduino Duemilanove?

G'day all! I have an Arduino Duemilanove hanging around spare at the moment and thought I might try a few audio interfacing projects. I'm just wondering what sort of sampling frequency I can achieve ...
Sketchy Fletchy's user avatar
11 votes
3 answers
14k views

Benefits of multiple op-amp gain stages in series?

I'm a bit lost in regards to how multiple op-amps in series will perform. My use case would be the amplification of low-voltage audio signals (4-50mVRMS) to roughly 8VRMS. I only found documentation ...
PalimPalim's user avatar
10 votes
3 answers
5k views

How can I effectively reduce the voltage needed to activate a transistor?

I have built a circuit which basically connects the line out (audio output) of a music playing device to a set of LEDs (actually a huge strip of around 200 LEDs), so they flash in time with the music (...
Craig Walton's user avatar
10 votes
7 answers
27k views

LM386 audio amplifier not amplifying

This is my first attempt at making a really simple audio amplifier. The schematics are below:- First I tried connecting the circuit to a 9V battery. (Multimeter reads around 8.3 Volts, which is in ...
Irfan's user avatar
  • 237
9 votes
2 answers
10k views

Power supply noise in audio

I have what is surely a classic problem with regard to power supply switching noise and audio but I am unable to sort myth from reality with regard to what I found so far on the topic. Setup: I have ...
ARF's user avatar
  • 5,189
9 votes
3 answers
3k views

Function of Specific Capacitor in Audio Amplifier's Negative Feedback

The audio amplifier that I am referring to here consists of three stages. Among others, the amplifier also includes negative feedback (NFB) that is made of two passive resistors. From the base of TR3 ...
MucaGinger's user avatar
  • 2,370
8 votes
1 answer
20k views

Using diodes to mix 2 audio signals into one set of speakers

I have the audio output of 2 computers connected to only one set of speakers. Each computer uses one of these external USB sound cards: And I use this splitter cable to wire the signals together: ...
GetFree's user avatar
  • 459
8 votes
2 answers
2k views

What is the purpose of the capacitor and resistor in this op-amp circuit?

Here is the op-amp circuit, which is found in this datasheet on page 5: I have boxed, in red, the part of the circuit that I am confused about. What is the point of having this? Thanks in advance.
dsm's user avatar
  • 207
8 votes
4 answers
4k views

Isolating audio ground between devices

I'm planning a build for a guitar amplifier with 2 stages, the first being a tube pre-amp and the second stage being a solid state amplifier. Both amplifiers will be powered from the same source, a ...
Jim Valentine's user avatar
8 votes
3 answers
10k views

How do I amplify a dc voltage that is too weak to trigger the base in a transistor?

I'm trying to take the voltage output from a 3.5mm audio jack and have it light up an LED according to it's voltage. I was going to attach the left audio cable to the base of a 2222n transistor which ...
SonicD007's user avatar
7 votes
6 answers
30k views

MOSFETs or BJTs for using as switch for audio signals

I was wondering which component is better for using as voltage controlled switch for audio signals (e.g. music signal from mp3 player). Should I use MOSFETs or BJTs? The max rail voltage is ...
subz's user avatar
  • 623
7 votes
3 answers
63k views

How to determine appropriate speaker cable gauge?

When wiring speakers to a 100W consumer-grade amplifier, how do I select an appropriate gauge cable (for 8-ohm speakers)? Also, if 14 gauge cable is sufficient, what harm is there in using a heavier ...
JYelton's user avatar
  • 33.4k
6 votes
5 answers
6k views

Microphone mute anti-pop circuit works but still picks up a little audio

I built a simple microphone mute circuit that appears to be pretty common. It mutes the mic without making a popping sound by shorting the connection through a capacitor. It works pretty well, but if ...
kr4sh's user avatar
  • 245
5 votes
3 answers
11k views

How to read an audio signal using ATMega328?

I was trying to use the ATMega328 ADC port A0 to read a signal. The hardware I used was: Seeeduino Stalker Electronic Brick Shield Microphone Electronic Brick (I found a link to the original ...
Jader Dias's user avatar
  • 1,973
5 votes
2 answers
5k views

How to store audio data for AVR project?

I see a lot of projects for AVR-based audio players that use an SD card to store the audio data. In fact, I am currently doing the very same thing on an Arduino and its Wave Shield, which has an SD ...
JYelton's user avatar
  • 33.4k
4 votes
4 answers
20k views

Cost effective solution to using PAM8403 as a headphone amp

I've just bought a PAM8403 pre-built circuit board for $1 on eBay. I was going to use it to drive a set of headphones but I neglected to consider that this is a class D amplifier and will not take ...
ALM865's user avatar
  • 143
4 votes
3 answers
3k views

My Atmega328 seems to be overkill, what should I use instead?

I'm using an Atmega328 chip with the arduino bootloader in a very small circuit. The sketch simply plays a tune using the tone() function to play a melody through a piezo speaker on a single pin. ...
fearoffours's user avatar

1
2 3 4 5 6