Тёмный

Raspberry Pi 3 SunVox Synth HiFiBerry DAC+ Standard vs. Behringer UCA202 USB Audio (Saga Continues) 

Marky Shaw
Подписаться 1,9 тыс.
Просмотров 16 тыс.
50% 1

** Update edit: Due to recent changes with Raspbian, the Behringer UCA202 works wonderfully without almost no noticeable latency. Pick one up for yourself today! amzn.to/2xc6nXv
This episode is a continuation from my previous video on the Raspberry Pi 3 and SunVox. Previously I was using Raspbian Jessie Lite, and I ran in to latency issues with the Behringer UCA202 device, so I compiled RT support in the Linux kernel which made some improvements, but not a whole lot.
I decided to buy a DAC+ to solve the latency issues however it was quite a challenge and I ran in to many road bumps. Click play to see how it turns out!
Check out this video to view a demonstration of the differences between the 2 audio interfaces in playability.
Background music is custom made by myself through my business Westbound Sounds at wbsounds.com
Thank you for watching!
Other cool songs!
===============
Mark Anthony Shaw - Old Man
Spotify: open.spotify.c...
iTunes: itunes.apple.c...
Google Play Music: play.google.co...
Mark Anthony Shaw - Revolution
Spotify: open.spotify.c...
iTunes: itunes.apple.c...
Google Play Music: play.google.co...
Stay tuned for my upcoming album release, which will be available on iTunes, Spotify, Google Play Music, and more!
If you enjoy these videos and would like to see more or have requests, feel free to check out my Patreon page to become a contributor.
/ mshaw

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@robertchanrussell2010
@robertchanrussell2010 4 года назад
Thanks Marky! I am using the UCA202 for my RPi Audio Looper (redesigning and eventually rewriting it from scratch). Good to know I don't need to bother changing the audio interface.
@InderNett4tube
@InderNett4tube 3 года назад
I have a HiFiBerry AMP+ (which is identical to the DAC+ on the digital side) and for me it worked perfectly from the first day!
@MarkyShaw
@MarkyShaw 3 года назад
Good to know my friend! It has been a few years since I've tried it, but there have also been newer versions of Raspbian since I last recorded this. I think it's worth another try to revisit the HiFiBerry! I still have it in a box somewhere and haven't used it yet. Thanks for the update and hope it works well for you!
@MrMaksVolkov
@MrMaksVolkov 6 лет назад
Thank you so much! You saved my money!))) (Greetings from Ukraine and sorry for bad English if any)
@mrdovie47
@mrdovie47 2 года назад
I'm using Sunvox with Zorin OS 15 and there's not much latency using my regular keyboard as a controller (MIDI controller on order) My desktop has it's own sound card, but I use a USB soundcard if I'm worried about my inputs. Thanks for the very useful Info.
@vojtech3978
@vojtech3978 5 лет назад
Thank you ! You helped me so much.
@ChrisLeeW00
@ChrisLeeW00 7 лет назад
Very odd, I was surprised because my usb dac does not have noticeable latency on my pi b+
@MarkyShaw
@MarkyShaw 7 лет назад
Hi there Chris, I'm definitely curious on the make and model of the USB DAC you're using. There seems to be a vast difference with each manufacturer in how well they perform for things like MIDI on the Pi. Perhaps I'll snag one up myself and give it a little test. Are you using SunVox in your testing? How about ALSA vs. JACK? I appreciate the insight!
@jesselegg819
@jesselegg819 2 года назад
I came by this video and i don't know what to think. I don't want to sound contemptuous, but it seems like you are making this too hard. I had real problems with that stock Rasbian OS, so i tried DietPi, and that was what i needed. I had to install certain things manually, like libsdl2 for sunvox, but it worked seamlessly, just like Linux on a regular PC. I got Sunvox 1.9 running on a Pi 1b with 11ms latency very stable. I used it with GPIO. You can go as low as 5ms but obviously, at 700mghz it's hardly going to allow any modules. at 11ms it works much better and has no jitter in the output of audio, MIDI, or GPIO. rock solid. my soundcard is just the HDMI out, no input at this time.I don't think that the soundcard really matters in Linux, which is why this video is so odd to me.
@MarkyShaw
@MarkyShaw 2 года назад
It was a much different situation back when Raspbian Jessie was out. We're talking 4-5 years now. There was no real-time support compiled in the Linux kernel at the time and audio was very finicky in general with 3rd party devices. We've come a long way since then and the process is basically effortless.
@itme7685
@itme7685 7 лет назад
Thanks for documenting this!! I’ve spent hours fiddling with trying to make music on a Raspberry Pi 2, and even Pi zero. It’s definitely not for people that don’t like tinkering. While I’d like to make a little box running SunVox someday. It runs great on my iPhone 6, and my 3 iPads including one made this year and one from 2011. So, I’d probably only build it as a novelty. I’ll probably pick up one of these cheap Behringer just as a useful interface. The USB interface I have doesn’t seem to be liked by the Pi. I think the chipset was CM108. Do you happen to remember what chipset the UCA202 is? Also, sorry for all the questions, but have you had any luck getting audio in with the UCA202?
@MarkyShaw
@MarkyShaw 7 лет назад
I totally hear you on the iPhone and iPad Apps! I purchased them as well and they work beautifully. There's something about the challenge of getting it working well on the Pi that intrigues me enough to continue working on it. I really love the idea of building a totally stand-alone unit with a custom box, MIDI keyboard with button labels, hopefully a future touchscreen, and everything you need ready-to-go from the moment you turn on the power. It takes a lot of work to get there and has made for a fun project thus far. It looks like the UCA202 uses the PCM2902 from Texas Instruments. That's what shows when I perform an "lsusb" at least! I haven't tried a CM108 yet, but I can honestly say that each manufacturer from what I've seen so far, has fairly different drivers and software options. It's definitely a guessing game with these Pi's. I've had great luck with the Behringer so far. It's holding up to the test! Audio In works perfectly fine. I plugged in an old turn-table and captured audio in Audacity without any problems. Great quality too!
@glennmeader626
@glennmeader626 6 лет назад
zynthian.org seems to have gotten the HiFiBerry DAC+ working with low latency on their Pi-based synth project.
@MarkyShaw
@MarkyShaw 6 лет назад
Glenn Meader good to know! I really dig their platform. I’d be curious to try it for myself. Sunvox in particular runs awful with it. Maybe a software problem? I’ve since reused my DAC+ for audio listening and it’s much better as a stereo component for me. Either way it’s good to hear that some music platforms are working well with it because it certainly looks the best out of everything I’ve tried :-)
@glennmeader626
@glennmeader626 5 лет назад
Marky Shaw I downloaded the Zynthian image and booted it on my Pi3 with just official RPi touchscreen and DAC board. Just works. Easy configuration with built-in web UI. No need to build the box with the 4 encoders and hardware MIDI. Stunning collection of synths built-in. Touchscreen interface is cool. PS thanks for your videos on Sunvox - learning a lot from you.
@MarkyShaw
@MarkyShaw 5 лет назад
Awesome to hear, Glenn! So much has changed since I looked at Zynthian over a year ago! It was confusing to even find the downloads for their image. Now it's all there and much more easily accessible! Looking forward to trying out the HiFiBerry DAC+ again to see how it works! Are you using the latest DAC+ ADC from HiFiBerry? I see they have a new version of the DAC as well, which I don't have. I really wonder what has changed. A big thing that irritated me was an "Auto Mute" setting that couldn't be disabled in ALSA. Sounds like a fun new project to explore again! Thanks for the update my friend. Super glad to hear how well it went!
@ZipSnipe
@ZipSnipe 6 лет назад
weird I have Raspbian stretch, a piZeroaudio dac but when I open up the boot config I do not have that line"dtparam-audio=on", I am stumped
@MarkyShaw
@MarkyShaw 6 лет назад
Hey there ZipSnipe, I wonder if this is because the Pi Zero doesn't have the same audio outputs as the Pi 1,2,3? That still might not explain why the heck that line isn't showing up in /boot/config.txt - I assumed you've scrolled all the way down to the very bottom of that file. Do you see other param lines at all? Since the Stretch image download is the same one regarding of a regular Pi vs. Zero, it would make sense that those lines should exist on both devices. Although it's possible that some kind of auto-detect feature disables the need for that param line in config.txt because it might not use the same audio chipset or audio outputs? I believe audio only passes through HDMI on the Pi Zero, which might have to be disabled through a different option. Seems unlikely though! Perhaps you can skip this step entirely as long as it doesn't cause any issues for ya. You'll just need to make sure to select the right driver in JACK. Let me know how you make out!
@allengee
@allengee 7 лет назад
Have you tried with the DietPi distro? I don't have that particular DAC atm, but I am going to do some experimenting with this myself. The guy who made the "moonbox" runs the IQaudio raspberry pi jessie lite distro at iqaudio.com.
@MarkyShaw
@MarkyShaw 7 лет назад
I have not heard of it until now! That is definitely great info. I'd love to hear your results. I had a feeling IQAudio was going to be a much better solution. I believe their custom image has everything ready to go for their device. The moonbox is definitely what inspired me to look in to this further. I had a feeling IQAudio was on to something good. The thing that intrigues me the most, is that these DACs are targeted towards the Audiophile which doesn't necessarily mean it's good for musicians. I'd love to try our their product side-by-side with the HiFiBerry. It could just be something as silly as the chipset or driver software differences! I'm definitely going to play around with DietPi. Maybe I'll try it on my Pi Zero :-) Thanks so much for your comment!
@allengee
@allengee 7 лет назад
I had a problem with sunvox requiring 1.2 version of the libSDL, and the dietpi installer installs version 2.0 Investigating a remedy for this problem now. Hopefully I will get it sorted and can post a blog post or something to help walk people through it. I will try out a few of DACs and hopefully report back good news. Someone recommended installing libsdl1.2-dev so I will try that today and see if it works. EDIT: Yes that worked. Sunvox now runs. Will have to update later when I can do some further testing - cheers!
@allengee
@allengee 7 лет назад
BTW what audio software are you running on your pi? Im still waiting for some DACs to come in to test further, in the meantime I am running a behringer UCA222, but sunvox doesn't find the audio device with the super skinny image file (500mb one with no GUI and no menu installers). I know you can generally run ALSA, PULSE, JACK etc.. I am trying not to clutter up my box too much tho. I will re-test on the bigger raspbian image later. I am having to isolate a major problem on my dietpi image due to sunvox freezing up after changing parameters, loading a sunvox file etc... The odd thing is, the keyboard still keeps playing, but the windows are completely frozen requiring a ALT-SYSREQ-K to be used. EDIT: This could be due to sunvox version 1.9 I am going to try to run an older version and see if the freezing still happens. UPDATE: Older version (1.8) freezes as well.
@MarkyShaw
@MarkyShaw 7 лет назад
Hi Allen! I've only really played around with SunVox, amsynth, and SonicPi. Unfortunately SonicPi doesn't work with either DAC I use for some reason. I have yet to be able to figure out a way to choose a different audio interface that isn't the built-in one. Even when I disable the built-in audio device, SonicPi just doesn't even load at all. I thought it would have been fun to program some sounds that could be invoked through a MIDI device, but alas, no love quite yet. That's interesting that the UCA222 doesn't work on the skinny image. The driver module must have been omitted from the build. I would definitely try the standard Raspbian image. I have a feeling it will work no problem! But I hear you on wanting to keep things as minimal as possible. I will say that my UCA202 worked just fine on Raspbian Jessie Lite as of a few months ago. I have not tried it on Raspibian Stretch Lite. I was hoping that by decreasing the bloat as much as possible it would help with audio performance, but honestly, at least with SunVox, I've noticed no major performance increases by using a Lite version. I bet you'll get different results on a different Raspbian image. It would definitely be worth a shot. SunVox would only ever freeze on me if I had it set to JACK, and JACK wasn't configured properly. I'll set it back to ALSA just to try troubleshooting issues with the program starting, but that's about it! Best of luck and feel free to keep us posted on your progress.
@allengee
@allengee 6 лет назад
I've isolated my freeze to a faulty SD card. Still waiting for my DACs to come in the mail. The stretch image actually works pretty darn well. Installed qjackctl to help setup virtual patching. I was contemplating setting up a blog, since there are probably quiet a few people interested in getting the best performance for this kind of thing.
@hiteck007
@hiteck007 5 лет назад
You forgot to include how to install SUNVOX. The one i downloaded has all versions but when you click on it Nothing happens. What you show in your videos is handy info if only something would acually work when I try it. The jackctl runs but no sound at all. Nothing makes sense here. I tried another program called Grand orgue & that works but the Latency makes it unuseable with almost a second lagg, using a laptop with behringer 204. With that setup i tried the jackctl as you suggest but that produced No sound at all. I long for the Old Amiga days, they did So much with so little, now we have such Powerful computers & still can't get them to JUST BLOODY WORK. Pretty frustrated after 2 weeks of No good results.
@MarkyShaw
@MarkyShaw 5 лет назад
There's nothing to install my friend. You unzip SunVox and run the binary. It sounds like you're not running it from the Terminal. Open up a terminal, use the "cd" command to change to the directory in which SunVox is located, for example "cd /home/user/Downloads/sunvox" then cd again to the raspberrypi directory, and run ./sunvox. There are several video parts to my series on Raspberry Pi synths, and it takes patience to understand how all the components tie together. The latency issue is why we use JACK to address those problems. You can use some of the settings I've outlined in qjackctl. But don't click the "Start" button in Jack. Close out of it. Once you've set that up, run your software, whether SunVox or Grand Orgue. Check any audio settings in the software to make sure you're using the "JACK" driver if the option is available like it is in SunVox. Then, run qjackctl AGAIN while the other software is running, check the MIDI tab, and connect your instrument in there.
@MarkyShaw
@MarkyShaw 5 лет назад
Please feel free to contact me via email mark at wbsounds.com or Discord - Comet#9899 and I'd love to try and help you get this working properly.
@hiteck007
@hiteck007 5 лет назад
I also discovered my linux was out of date & crashed after updating it. Downloaded a new distro & started again, still got big Latency but, so yea more work & more gear on order.
@pianokeyjoe
@pianokeyjoe 3 года назад
Note to self, either buy a raspberry pi 4B/4GB with a USB pro midi/audio interface with driver support on modern ARM linux OS.. Or stay with a fanless intel computer solution...Yeah thats it!
Далее
A Raspberry PI5 hardware VST Host (2024)
10:56
Просмотров 14 тыс.
Airpod Through Glass Trick! 😱 #shorts
00:19
Просмотров 2,3 млн
Лучше одной, чем с такими
00:54
Просмотров 942 тыс.
BEHRINGER U-CONTROL UCA222 ОБЗОР, REVIEW
40:25
Просмотров 15 тыс.
Headless Raspberry Pi Zero W Synthesizer with SunVox
18:50
Headless Raspberry Pi Synthesizer Update
13:36
Просмотров 48 тыс.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Raspberry PI effects plugins vs. ZOOM MS100BT
9:08
Просмотров 33 тыс.
How to use a Raspberry PI as a synthesizer
16:01
Просмотров 100 тыс.
The Raspberry Pi 5 is a $80 Gaming Beast
14:56
Просмотров 652 тыс.