Posts

Showing posts with the label Audio

Best Transistor To Use For Audio Amplifier

Image
Answer : You could successfully build a audio amp from many different types of BJTs. It will be the circuit, not the transistor, that makes the amp work well. I'd pick jellybean parts like the 2N4401 (NPN) and 2N4403 (PNP) and stick with them for everything except for the final power output transistors. Lots of parts could fill that role. If you have your own favorite jellybean small signal transistors, use them if you prefer. The ones I mentioned have reasonable gain and can handle up to 40 V, which should be plenty good enough to allow for a amp to impress your profesor with. There are lots of possible power transistors to use as the final output. If you are aiming for a few Watts, I'd probably go with basic parts like the TIP41 (NPN) and TIP42 (PNP). Again though, it's not the choice of transistor that will make or break this project. You can certainly create a impressive audio amp with the transistors I mention, but you can also make a mess. It's real...

Apple - AirPods: Extremely Poor Mic Quality On Mac

Image
Answer : OP here – I'd just like to add to the answer below, that I've been in contact with Apple Support. Explanation Apple claims that the poor Mono 8kHz quality which affects recording and indeed simultaneously playback on Mac when the AirPod microphones are activated, is because the SCO codec then gets employed over the entire Mac audio system. This is supposedly "expected behaviour" when trying to use the AirPods and other Bluetooth headsets together with a computer, according to Apple. The AAC codec is normally used when just listening to playback on the AirPods. It's just very unfortunate that SCO – low-quality as it may be – upon AirPod microphone activation is not only limited to doing recording, but also displaces AAC and audio playback. Apple Support claims that Apple is looking at this issue, and that improvements might be coming in future firmware updates, but I did not interpret that as a promise to be honest. But for the time being, I'd ...

Apple - Best Audio Converter For Mac

Image
Answer : My favorite converter is XLD. It converts to flac, splits cue files, it supports metadata correction (using CDDB), and embeds album artwork. It is the closest I could find to dBpoweramp. I use Max converter It can converts to many format but have some cons too :( My suggestion is the same presented here previously, but I use them for different things. Both Rip and XLD are good rippers for Mac. They support AccurateRip and use MusicBrainz for metadata, so you get certified rips with good tags. I always rip first to FLAC (single FLAC file + CUE) and them convert the rip into individual MP3 files. If I need to rerip, I go for the FLAC file, not the CD. If I used XLD for both tasks, I would be constantly messing with the configuration, changing from FLAC to MP3, and every now and then would forget and rip to the wrong format. So, I use XLD for the initial rip and Max to convert the FLAC into MP3. Later I learned about SBooth's Rip and started using it inst...

Android: MediaPlayer SetVolume Function

Answer : This function is actualy wonderful. Thanks to it you can create a volume scale with any number of steps! Let's assume you want 50 steps: int maxVolume = 50; Then to set setVolume to any value in this range (0-49) you do this: float log1=(float)(Math.log(maxVolume-currVolume)/Math.log(maxVolume)); yourMediaPlayer.setVolume(log1,log1); //set volume takes two paramater Nice and easy! And DON'T use AudioManager to set volume! It will cause many side effects such as disabling silent mode, which will make your users mad! Following user100858 solution I just post my exact code that works: private final static int MAX_VOLUME = 100; ... ... final float volume = (float) (1 - (Math.log(MAX_VOLUME - soundVolume) / Math.log(MAX_VOLUME))); mediaPlayer.setVolume(volume, volume); soundVolume is the volume you would like to set, between 0 and MAX_VOLUME. So between 0 and 100 in this example. For Android MediaPlayer.setVolume , searching the web seems to show 0.0f ...