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
0answers
140 views

Simple Sound Card with I2S - how do I switch frequencies?

I asked this a month ago, but didn't get an answer and so the thread was auto-deleted. It is becoming critical that this be solved, so I am reposting. I have the simple sound card working with a ...
0
votes
0answers
96 views

How to Volume control PAM8610 from RPI

Does anyone know how can I control PAM8610 module volume through code from RPI? Thanks.
0
votes
0answers
137 views

Sox error: ALSA lib bluealsa-pcm.c:200:(io_thread) PCM FIFO write error: Broken pipe

I'm trying to use my Raspberry Pi as a white noise generator using SOX and my bluetooth speaker (BOSE mini soundlink II). Everything works great at first, however after a certain period of time (as ...
0
votes
0answers
729 views

Text to speech errors

I try to make a python script for Raspberry Pi 3 B+ with Raspbian to speak text I input. I use pyttsx3 library but I also tried espeak from command line. Every time, the sound is very laggy, it start ...
0
votes
0answers
57 views

Audio noise generator

Is there a package or hardware for a Pi that will generate real audio noise ie noise whose average over time doesn’t tend to a fixed value. White noise won’t do, since it’s average tends to zero.
0
votes
0answers
50 views

How can I mount a speaker on to a Pi so that it is light enough for it to be mobile

Can I mount a speaker on a mobile Pi robot together with a suitable power supply? Ideally I’d like the Pi to follow a fixed route while emitting a fixed repeating tone.
0
votes
0answers
58 views

Bluetooth connection between Raspberry pi and BT speaker falls

I have Raspberry pi 3B+ and bluetooth speaker Beats Pill+. Using alsa I am transferring audio from rpi to speaker. It works well but after few minutes bluetooth connection falls down. Using dmesg logs ...
0
votes
0answers
138 views

Make sox play .mp4 files

I am trying to play audio files through usb speaker on Raspberry Pi 3B+. As I understood, sox only has mp4 support if you compile it agains ffmpeg. So far I did git clone git://git.code.sf.net/p/sox/...
0
votes
0answers
57 views

The sound/speaker of my pi-top doesn't work

Can someone help me find out how to fix this. I have tried turning on 12S sound and rebooting. I have tried using the hdmi speaker that you put inside but that doesn't work either. Can someone help me ...
0
votes
1answer
47 views

Pi 3 B+ sudden audio failure

A few months ago I bought a RasPi 3 B+ to act as an overglorified doorbell using reed switches to tell the Pi to play a custom MP3 with the "Playsound" Module into the Company's PA system. It worked ...
0
votes
0answers
86 views

Raspberry Pi 3B running Moode skips songs before they end on Tidal

I can't figure out what's happening here : My setup : I use Moode Audio 5.2 as the server and created an OpenHome renderer with the help of BubbleUPnP on my Mac to stream Tidal. I control everything ...
0
votes
0answers
220 views

RPi B, dietpi, usb soundcard amplifier, mpd and equalizer - usb and alsamixer equalizer impossible?

The last two days I am busy to config the USB sound on a dietpi config and with success. I turned the default Rpi sound off and use only the USB soundcard amplifier (Logitech). I can play files with ...
0
votes
1answer
37 views

Audio processing the sounds of different wood working machines

In my garage wood shop I have the following power tools: table saw, band saw, disc sander, belt sander, and shop vac. Is there a sound or audio processing library that could differentiate between the ...
0
votes
0answers
31 views

Pause/play and foreword/backward capability for audio files in raspberry pi

I am looking to play audio files on the Raspberry pi through the standard audio out. I also want to have pause/play and seek foreword/backward functionality. I am currently using pygame to play the ...
0
votes
0answers
67 views

Streaming microphone audio from Raspberry to PC and send back a responde created with a TTS software

The Pi will have a button and a microphone. The ideal scenario is like this: Someone presses a button The (USB) mic starts recording the audio (the recording needs to be saved for later research ...
0
votes
0answers
48 views

Streaming mic audio from Linux PC client to Pi host and sending result back to PC

I have a task that I'm trying to achieve that seems incredibly over complicated to do. So I have a raspberry pi at a remote location I cannot access. Then I have access to an Ubuntu laptop. What I ...
0
votes
0answers
282 views

Read real time raw data bluetooth

Currently im working on a bluetooth speaker, which has to receive audio via bluetooth from my phone. The bluetooth receiver will be the raspberry pi 3 a+, and it will direct the audio data to an ...
0
votes
0answers
32 views

Is it possible to control echo hardware with a raspberry pi

I'm in the process of building some voice-activated features in my Raspberry Pi. I've been looking at off-the-shelf microphones and speakers, and using my Amazon Echo as reference. It has occurred to ...
0
votes
0answers
185 views

how can I use an external GPIO sound card and set it as default?

I've bought a seeed voice card as an external GPIO sound card and as a input audio device to use pocket sphinx.After it was installed successfully, i typed "cat /proc/asound/cards" to see my card ...
0
votes
0answers
680 views

Reusing old laptop speakers [duplicate]

The speakers are salvaged from an old Toshiba mini nb520 laptop. How could I go forward to use these speakers? Will I have to write my own drivers? Will it be worth the work? What electronic ...
0
votes
0answers
56 views

Using rasberry pi to transmit audio from Laptop to mixing board

I want to send audio from my pc (connected to a private LAN) to a Rasberry pi device that I connect the audio input connection on my mixing console. This needs to be done over a wired LAN. Here’s ...
0
votes
0answers
81 views

No sound from my RetroPie

Hi I just setup my RetroPie and have no sound from it. My tv works fine in the hdmi slot I am using, any ideas why I am not getting sound from my Pi? I get sound on the video previews of games but ...
0
votes
0answers
759 views

Changing bluetooth class to act as a hands free device and car audio

Good morning folks, I have been using this tool to quickly configure my Pi2 as a bluetooth audio link to my camper van, it works brilliantly. My question is regarding changing the class of the ...
0
votes
0answers
94 views

How to stream audio/video from Raspberry Pi to Windows PC

I have a Raspberry Pi 3b that I am using as a radio server with a rtl-sdr (Realtec Software Defined Radio). I would like to have any audio coming from the Raspberry Pi to be streamed to my windows 10 ...
0
votes
0answers
232 views

Play Midi/Audio files using PC speaker

I have managed to create a digital keyboard using a pi, a pc speaker and this tutorial: https://www.youtube.com/watch?v=nyYOYrsPZa4 But since I'm not much of a pianist or an audio engineer I would ...
0
votes
1answer
458 views

RPI 2 - Libreelec with Kodi - sound improvement

I installed Libreelec (with Kodi) on the Raspberry Pi2 and I did connect it to a PC Monitor (HDMI). PC Speakers connected to the monitor or even to the Raspberry Pi (3,5 mm jack) give me poor sound ...
0
votes
0answers
63 views

TDOA Estimate and Plotting results on Matlibplot

I edited the following code in order to the estimate location of sound source(drone) using four stereo microphones. The microphones are connected to Rpi 3 through a stereo to usb converter (HF0200C). ...
0
votes
0answers
42 views

arecord only works with -D

Long story short, my mic was working fine yesterday. I then had a pair of USB speakers connected and then again disconnected. And now I cannot get the little thing to do a arecord with using the "-D" ...
0
votes
1answer
54 views

audio doesn't play when running program on startup

I have a python code that runs an mp3 file. It works perfectly when I run it through python 3.5.3 shell on my pi-top, and I also managed to make the program run on startup, but then everything works ...
0
votes
1answer
53 views

Provision Pwm out makes 3.5mm audio hang

Using pi4j and wiring pi configuring hardware pwm pins for driving servo motors. Also using freetts (speech to text) library for speech. My speaker is actually connected to amplifier to 3.5 mm jack (...
0
votes
1answer
1k views

Route Audio Output Through USB Audio Jack

I've an rPi Zero that I want to connect to my speakers to utilise it as an AirPlay receiver via Shairport. I've made the same setup with my Model B+ and it works great. However, even though I made ...
0
votes
1answer
297 views

Retroactive audio recording/continuously record audio, save last X minutes on command?

I'm trying to set up my Raspberry Pi to continuously record the last X minutes of audio until given the command to save it to a file. The only comparison I can make is an NVIDIA Shadowplay for audio. ...
0
votes
1answer
945 views

MPD with Bluetooth

Is it possible to run MPD with bluetooth in the Pi? Currently many guides which I have seen are mostly utilizing Upnp/Wifi setup to run. Now this is fine if there was only Apple devices. Since ...
0
votes
3answers
211 views

On-board or USB soundcard for better result?

I am working on a "low-latency audio" project and I was wondering which card offers better performances, an Usb one or an on-board ?
0
votes
0answers
185 views

Internet Radio Device with batteries

I have a project that I will make a connection with the Internet and listen to a stream (in my case IP:port or .ogg, .m3u URL online radio station) then decode the music and transmit it to speakers ...
0
votes
0answers
2k views

Video Chat App for Raspberry Pi?

I am searching for an app through which I can send my voice and video feed to another user on laptop using picam and mic module and recieve voice from him. I am gonna use Raspberry Zero W with picam. ...
0
votes
1answer
553 views

Alsa combine 4 mono usb microphones into 1 stereo device

Based on this post: https://raspberrypi.stackexchange.com/a/58174 I was able to get 4 usb microphones to behave as 1 device with 4 channels. What I am looking to do is down mix the 4 microphones into ...
0
votes
0answers
135 views

When trying to play recorded audio file using aplay, gets an error saying No such file or directory

I'm trying to record and play recorded audio file. I use Armbian. I recorded a audio using arecord -D plughw:0,0 --duration=10 test2.wav command. When I'm trying to play that audio file(test2.wav) ...
0
votes
1answer
512 views

Frequency bands from FFT (audio visualizer)

I'm currently working on an audio visualizer running on a 64x64 LED matrix, and some tests showed that the Pi1 is totally capable of doing that. I'm receiving raw PCM audio data using PortAudio, and I ...
0
votes
0answers
345 views

DAC Sound Card For Raspberry Pi 3b Won't Work

I just bought a raspberry pi 3b and the Kuman PIFI Digital DAC+ HIFI DAC Audio Sound Card Module I2S interface for Raspberry pi 3 2 Model B B+ SC08. When I plugged it in to my raspberry pi and hooked ...
0
votes
0answers
195 views

capturing and recording the video and audio at the same time

I am new to Raspberry Pi field and I owe a Rsapberry pi 3 B in which i have installed a windows 10 IoT, am having camera along with mic and 2 outputs from camera one is USB and other is 3.5mm jack ...
0
votes
0answers
144 views

How can I make the JustBoom DAC HAT not interfere with pin #22?

I've got the following tricky problem: I'm using pin #22 (GPIO25) of my Raspi 3B as a GPIO input and read its state by using the pigpio function gpioSetAlertFunc (25, relay::IgnitionISR), where relay::...
0
votes
0answers
183 views

my audio isn't working on my pi-top

A few days ago i unplugged my speaker the put it back in, immediately the computer shut down and after restarting, worked perfectly. The next time i got on the audio was completely gone, and I've ...
0
votes
1answer
206 views

Output Kivy video sound to 3.5mm jack

I'm trying to play a video with sound using Kivy video. When the Pi is attached to a 7" touchscreen it plays the soundtrack from the audio jack as expected. However, when attached to a VGA or DVI ...
0
votes
0answers
122 views

Problems with Darksnow with Raspbian stretch

I am new to the Raspberry Pi, but have a basic knowledge of command line input.I have installed darkice and darksnow on Raspbian stretch with GUI, I can open darksnow, and set up all of the options ...
0
votes
1answer
633 views

OMXplayer play video with no sound and mp3 at 2/4 times the speed

Using a USB sound card, I'm trying to play mp3 files, with the default omxplayer. But although all other software works fine, omxplayer play my mp3 files at 2x speed, sometimes even 4 times. Is ...
0
votes
1answer
561 views

combining sound card and ADC (I2C)

Am thinking of using an Audio Injector sound card, which apparently has a two-channel high-precision ADC. In addition I will be needing to read two different variable resistances. One of these has two ...
0
votes
1answer
365 views

Enable audio over HDMI on Raspbian Jessie with AV Receiver

I am attempting to connect a Raspberry Pi Zero W with HDMI to an AV Receiver (Pioneer VSX-820). My interest is exclusively in playing sound over the speakers connected to the receiver, although there ...
0
votes
1answer
1k views

Playing audio in C?

Every audio engine I've tried (SoLoud, cAudio, openal-soft) hasn't worked on my pi zero. I just want to be able to play audio in a program without too much hassle. I can use a system call like system("...
0
votes
2answers
3k views

UV4L audio + video recording or stream?

I have experimented with a number of different ways of streaming both audio and video from the raspberry pi. The UV4L web server has great webRTC support, and the bi-directional audio/video ...