Questions tagged [audio]

The Raspberry Pi has an analogue stereo audio jack output (Pi 1 A/B/B+, Pi 2, not Pi Zero), and audio can also be heard through the digital HDMI output (all models).

Filter by
Sorted by
Tagged with
0
votes
1answer
2k views

Audio over Speaker Jack in Lakka?

I cannot seem to get Lakka to output audio to the Speaker Jack. Lakka sees two audio devices, but both look like the same thing, and neither gives me audio. Lakka (community) Version: 2.0 Lakka:~...
0
votes
0answers
239 views

Playing audio mess with GPIO.add_event_detect in Python

I have these lines of code running in Python on my Pi 3: os.system('mpg123 -q /usr/local/marbik/public/evilcave.mp3 &') GPIO.add_event_detect(17, GPIO.FALLING, callback=GPIO17Callback, bouncetime=...
0
votes
1answer
55 views

dev file for microphone

On my pi, I want to use my microphone in the terminal, as if it were a sound file. If it is not clear what I want to do, I am trying to broadcast sound as an fm radio signal. The command that I use ...
0
votes
1answer
241 views

USB soundcard works for audio test but not for mp3

I've been struggling to get my USB sound card to work with my Raspberry Pi 3. After following some suggestions I have had limited success. On startup if I run speaker-test -c2 -twav this test ...
0
votes
1answer
826 views

How to route audio from a USB sound card to I2S on RPi?

So for a school project I need to be able to route audio from a USB sound card to I2S. More specifically, the I2S will be connected to an XMOS xCore-200 Multichannel Audio Platform. I need to write a ...
0
votes
0answers
230 views

Strange noise in audio background

I've set up an audio amplifier using TDA7297 and RPi's 3.5 mm audio jack. And I'm using omxd, a daemon for omxplayer, and playing mp4 video files. The audio output has been set to jack. But the ...
0
votes
1answer
1k views

Where to connect lm386 audio amp for raspberry pi?

I have an audio amp i built using the lm386 and this schematic. My question is : Where do i connect the input wire to the raspberry pi 3? Edit : I am using the newest retropie operating system
0
votes
1answer
3k views

Raspberry Pi Live Streaming using Picam [Audio+Video]

I am currently using picam software to stream audio and video from Raspberry Pi using a NOIR camera and a microphone. One way audio and video is working fine. I need a two way audio connection but ...
0
votes
1answer
254 views

Sudo Alsactl Store Not Saving Capture Settings

I am working on a project with alsa on the Raspberry Pi, and whenever I reboot my capture settings are reset. I have tried saving them via sudo alsactl store but this only saves the playback ...
0
votes
1answer
804 views

Audio Processing Issues in PyAudio in RPi

Basically, I want to analyse the spectrum of the input audio stream to my Raspberry Pi. I have configured my Audio USB Adapter and ran sample tests on Play and Record. I am using PyAudio to take ...
0
votes
0answers
1k views

How can I start processing audio on Orange Pi zero {A board similar to Rpi}? [closed]

Orange pi is similar board to the Rpi except some extra features such as built-in audio card. I am new to this board as well as Linux. I have a orange Pi zero and I want to start with some simple task ...
0
votes
1answer
243 views

How do I allow for multiple dtoverlays? (SX400 DAC and Tontec screen work alone, but not in conjunction)

I'm working on a particular musical project that requires both of these devices to be working, yet if both dtoverlay=mz61581 (the screen) and dtoverlay=iqaudio-dac-overlay (DAC) are uncommented in /...
0
votes
2answers
1k views

Error after (trying to) recording usb microphone with alsa record

I'm setting up alexa-pi and everything was going smoothly until the final step which is running a wake word engine. I'm keep getting " 'pcm' failed." error. I've read somewhere that in order to this ...
0
votes
1answer
2k views

This sound device does not have any capture controls

I have a USB microphone. $ arecord -l **** List of CAPTURE Hardware Devices **** card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 ...
0
votes
1answer
998 views

aplay finds no sound cards despite dtparam=audio=on

I broke my boot partition and had to rebuild it. Both cmdline and config.txt are gone and I had to start over. The rest of the system is untouched. Unfortunately, I forgot how they were configured and ...
0
votes
1answer
1k views

IOError: [Errno -9981] Input overflowed

I'm getting an input overflow error using pyaudio with sample rate of 16000 and frame per buffer of 1024. I'm also using a USB microphone and a raspberry pi 3 (raspbian). I'm using pyaudio for ...
0
votes
0answers
2k views

uv4l webrtc usb webcam : audio not working : Pi3/Jessie/Logitech C920

I've had no luck getting audio working with uv4l-uvc / webrtc. I've tried connecting from a Mac with chrome 54.0.2840.98 and firefox 49.0.2. Video works fine on both but no audio on either. I ...
0
votes
1answer
70 views

High frequency hiss when running on Pi2

I have a Raspberry Pi 2 running Open Source Media Center (aka OSMC), and when it runs, I hear a very high frequency hissing noise coming from the Pi. In my family, I am the only one able to hear this ...
0
votes
1answer
3k views

Can't start jackd

I realize there are many threads about not being able to start jackd, but none of the solutions provided have been able to cure my issue. pi@raspberrypi / $ jackd -v -d alsa jackdmp 1.9.9 Copyright ...
0
votes
0answers
3k views

installing PyAudio on Raspbian OS Jessie

I am trying to install PyAudio on Raspbian Jessie , but I am getting this error. pi@raspberrypi:~/git/toxcore/build $ sudo pip install PyAudio Downloading/unpacking PyAudio Downloading PyAudio-0.2....
0
votes
1answer
375 views

Sound not working anymore after first use of GPIO

On a Raspberry Pi 3 with as of today latest firmware and raspbian, I have e.g. espeak "hi" or aplay some.wav working after booting into a small loudspeaker plugged into the jack (this is headless, no ...
0
votes
1answer
72 views

Seeking help for a simple Interval Alarm (Pi Zero)

I recently found myself in possession of a Raspberry Pi Zero. I've never had a chance to play around with one before, and so I was just after a bit of guidance on how to go about a certain project. ...
0
votes
1answer
82 views

2 separate audio outputs sample player

I'm looking to (hopefully) create a sample player that will be capable of playing 2 wav samples at once. One out of one stereo out and one out of another. (To send one to a stereo mix in a sound desk ...
0
votes
1answer
852 views

Establishing two-way audio from android to Pi

I want to be able to establish two-way audio from my android based phone to a raspberry pi acting as an intercom over IP. My immediate reaction was to install a SIP client on the Pi that can wait for ...
0
votes
1answer
1k views

Pi 3 amixer error

I would like to use my headphones with the Pi 3. So I changed the audio config in raspi-config. This is the error I get: Following the documentation, I used amixer. It gives this error: The ...
0
votes
0answers
135 views

How can I confirm if my audio output is defective (on RPi3)? [duplicate]

I am wondering if maybe my audio output of my Raspberry Pi 3 is defective. I have tried to get some kind of audio output without any success so far. I have tried any comment / tutorial on how to ...
0
votes
1answer
421 views

Headless on RPi - checking boot screen messages for jackd [duplicate]

I'm trying to run an RPi autonomously and have a script which is intended to start jackd and then Supercollider. The script works from the command line if I ssh into the RPi, but not otherwise. To try ...
0
votes
0answers
563 views

How do I output audio via USB?

I installed OpenELEC on my RPi model B and now I want to connect a speaker to it. The speaker has a USB input. So, how do I do this? Do I need to get an external USB card or something else? Or do I ...
0
votes
0answers
474 views

No HDMI Audio Until an Emulator (N64, SNES, etc…) initializes it

The primary problem I am having is that I do not get audio via HDMI at boot. I had gone through the various steps outlined in several places related to modifying /boot/config.txt without any success. ...
0
votes
1answer
460 views

Assigning 5 mics to GPIO for voice activation

here's a noob question, I am trying to build a controller for the Olympic double trap shooting sport. This means activing 2 of 3 target throwing machines whenever a shooter calls PULL in the ...
0
votes
0answers
48 views

Rasp Pi 2: HDMI audio goes fuzzy temporarily

I have a Rasp Pi 2 connected to TV via HDMI. After watching video for about 10-15 minutes the sounds turns into a fuzzy mess, after 20 seconds it's back to normal like it never happened and I can't ...
0
votes
2answers
413 views

USB hub/c-media combo - audio device not recognised - hub won't allow allow other usb audio either

I have an mBeat Hayman USB hub with integrated C-Media audio. Under Raspbian, the hub is recognised as a 4 port hub, but the C-Media audio device (which is uses one of the ports) isn't recognised. ...
0
votes
1answer
687 views

USB DAC not listing as playback device

I am trying to get a Musical Fidelity V90-AMP to work for playback of music using my Pi. I installed the SqueezePlug image and it otherwise works fine via the analog output. The problem seems to be ...
0
votes
1answer
273 views

Wall-Mounted Board Help

I've decided I want to make a wall mounted DAKboard with some personal improvements, but I'm new to the RPi, Linux, and DIY in general so I want to make sure I'm not going to do something wrong. ...
0
votes
0answers
1k views

Raspberry Pi Sound Issues

I saw this answer for configuring enabling and being able to use audio but was unsuccessful. I want to have audio to my headphones which are plugged into the 3.5mm jack. I have tried: Forcing audio ...
0
votes
1answer
2k views

Rasplex HDMI Audio

I'm running the latest version of Rasplex on my Pi, connected to my TV by HDMI. The video playback is working fine. Unfortunately, I'm getting no audio at all, and all of my googling and fiddling with ...
0
votes
1answer
1k views

Audio cracking with VLC and Bluetooth, but works with aplay

I'm trying to set up my Pi (v2) as a WiFi Hotspot and a Bluetooth Audio Module for my car. The WiFi Hotspot works so far, but the sound over Bluetooth and VLC is only cracking. When i use "aplay /usr/...
0
votes
0answers
2k views

Does this show PyAudio is unusable with RaspberryPi's built-in audio?

When using PyAudio with the RaspberryPi's built-in audio snd_bcm2835, we get this strange behaviour: python test.py # ... after 10 or 15 seconds the sound is stuttering! This problem doesn'...
0
votes
0answers
25 views

How can I record audio from my RPI and save it to my PC (server)? [duplicate]

I would like to record audio from a usb device connected to my RPI and save it to a server (my pc on the same network). OS: RASPBIAN Debian Wheezy Model: B USB Mic: Sound-Tech 1000 Once the USB ...
0
votes
0answers
330 views

24 bit recording in raspberry pi

I'm trying to record audio with 24 bit with 32k sample rate in raspberry pi. When I play the recorded file I'm getting glitches. I changed bit clock ratio to 48 (i.e., number of bits* number of ...
0
votes
2answers
2k views

Play music stream via node

Is there anyway for me to play a music stream (google play music, I already got the streamURL) in the raspberry pi via node? (and also, output it to audio port).
0
votes
0answers
468 views

Sound not initializing at startup

I've got a RPi I am using for some retro-gaming with RetroPie and Dosbox installed. If I start X and attempt to run a game through Dosbox, I do not get sound. However, if I first start RetroPie and ...
0
votes
1answer
298 views

Rasperrian + MPD: Play/Resume fails

I'm running a RasperryPi with Rasperrian with an installed MPD. When i first use an MPD client to start the audio playback, it works fine. But then i press pause and resume and nothing happens. The ...
0
votes
0answers
686 views

pygame.mixer on thread fails with “(pygame parachute) Segmentation Fault”

On the Raspberry Pi, I'm trying to play some sounds using pygame.mixer and am having a problem when playing them on any thread other than the main thread. For example, I have a keypad hooked up and ...
0
votes
1answer
262 views

Make my pi a music and notification centre

I was thinking about making my RPi like a music hub, that I can control from my phone. So say I'm at home and want to paly same music, I just get my phone out and select the song I want. I was ...
0
votes
1answer
513 views

Getting sound working in Squeak

I've been experimenting with Squeak on my Pi and have got it up and running following these instructions: http://www.raspberrypi.org/forum/viewtopic.php?f=34&t=9046 However, I can't get the sound ...
0
votes
1answer
163 views

How to resolve patchy audio playback in OpenELEC?

I've installed OpenELEC without modifying any configuration settings, so it's the default installation of 'Frodo'. I've added a video source on my NAS, both with NFS & SMB when I attempt to play ...
0
votes
3answers
118 views

No audio output through 3.5mm jack but OK through HDMI

I'm having trouble with audio playing through 3.5mm jack. Audio is playing fine through HDMI, but when 3.5mm jack is selected using all 3 options (i.e. - terminal command, configuration tool or by ...
0
votes
1answer
658 views

Gstreamer player dont play

I've made basic gstreamer player: import threading import gst import gobject class BasicPlayer(threading.Thread): def __init__(self, musiclist): threading.Thread.__init__(self) ...
0
votes
1answer
696 views

R-Pi 2: Repeated clicking sound on speakers (via 3.5 mm jack)

I'm hoping someone can help. We are using a Raspberry Pi model 2. We bought it and installed Raspbian via NOOBS in February 2015 According to posts I read elsewhere, this means we should have the ...