New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for I2S DACs etc #1333
Comments
Hi, I have an iquaudio hat which works just fine with i2s on the latest Sonic Pi. All I need to do is enable the device tree overlay with If you want to send me one to play with I can make sure it works. Does your hat have audio in? |
just as a passing comment, one dac that I haven't got to work yet (with Sonic Pi) is the Pimoroni pHat Audio hat. Based on HiFiBerry (uses same chip). Anyone else had any luck with this? |
@samaaron can you email me your address ( shawaj at gmail dot com) and I will send over one of each of the cards when they are available (Amp, DAC, Digi HATs and a standalone Amp that stacks). We don't have audio in on any of these boards, but possibly on a future product. |
Not sure about our new range yet but I believe the iqaudio and HiFiberry boards already work with Sonic Pi? Not sure about the DAC pHAT from Pimoroni though. Is that the one you're looking at? |
@shawaj This is the one I was looking at: https://shop.pimoroni.com/products/phat-dac |
Hmm... Looks like someone's been having problems - https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=152417 But also someone having success - "Andrea's advice is spot on about adding dtoverlay=i2s-mmap which is needed to run sonic pi, on Jessie anyway. From here... |
@shawaj Brilliant, thanks - that's good enough to risk £30 or whatever... The other platform I'm interested in is PocketCHIP - I'm not sure anyone has yet got it running there https://bbs.nextthing.co/t/sonic-pi-on-the-chip/3847/10 |
I still haven't got the pimoroni board to work with so. I also have the iqaudio board which works fine. I think the berry bosrd also works. Sent from my iPhone
|
Yeah that would be great actually. What's the audio like on the pocketchip? |
It comes with Sunvox installed, sounds pretty good to me |
It uses the same chip as the original HiFiberry DAC so should work if that There is a report on that Pimoroni review of someone getting it to work. Thanks On 12 Aug 2016 10:47 p.m., "Robin Newman" notifications@github.com wrote:
|
I know the phat dac from pimoroni uses the same chip as the HiFi Berry board, but the installation is a bit odd. It does not appear in the audio prefs in raspbian which Sonic Pi uses to select the appropriate output, and I haven't managed to get SP to recognise its existence, even by trying some of the hacks I had to use when the IQAudio board first came out. Otherwise the board works fine: I use it in an air play project, playing music from my iPhone to speakers. I am posting a query on the pimoroni forum to ask about this. Will report back. |
Did you do the manual setup or did you use the auto setup script? On 13 Aug 2016 10:02 a.m., "Robin Newman" notifications@github.com wrote:
|
I think I’ve tried both. It was some time ago...
|
It's odd because the setup instructions are almost identical. The only I wouldn't have thought this would make any difference though. On 13 Aug 2016 10:28 a.m., "Robin Newman" notifications@github.com wrote:
|
https://volumio.org/forum/volume-control-issues-volumio1-rpi-zero-dac-phat-t4319.html MZP 2016-08-13 11:30 GMT+02:00 Aaron Shaw notifications@github.com:
|
I tried again with my phat dac on a fresh install and it worked with Sonic-Pi. (you need to add the dtoverlay=i2s-mmap to the config.txt file in the boot partition as well as the two changed in the phat dac install instructions giving changes :
Note commenting out the dtparam=audio=on makes sure that the phatdac is in card slot 0 where Sonic Pi will find it despite ther being no entry in the audio device preferences. Not also I upgraded the kernel to get rid of crackling on the sound as per this (see the end of the discussion for solution): |
You can't do hardware volume control with pHAT DAC but you should be able On 15 Aug 2016 5:58 p.m., "Robin Newman" notifications@github.com wrote:
|
but you should be able to do software volume control? MZP 2016-08-15 22:10 GMT+02:00 Aaron Shaw notifications@github.com:
|
Closing this for now. The general solution for i2s DACs is to first ensure the device is configured correctly w.r.t. device tree overlay in |
Hi,
Got a new I2S DAC for Raspberry Pi we're developing and want to make sure it will work with Sonic Pi. Just wanted to see if there was anything to be aware of? And to understand the best way to ensure support?
Know this is probably not the right place to ask but couldn't find any other way to contact.
Thanks in advance
The text was updated successfully, but these errors were encountered: