Wolfson Audio card with Volumio

Thanks I’ll take a look whe I get home from work.

Update:

It appears that some radio stations will play, others will not and others will play white noise!

I mounted my NAS drive and it was able to play to the line out.!

I entered the SPDIF playback .sh with no success however ( the script ran but I’m not getting any output) but at least I’m chasing down a different problem

After the playback .sh ran I unplugged to move into the main listening room and rebooted.

I have to go back and see if this is the “run the force to SPDIF command each time I boot up” problem and check the forums again - but wow what a trip to get here. I should have tried multiple stations from the get go.
Too tired to go further tonight - I’ll take my small success.

Thanks!

Ah, is that what you are doing, playing radio stations? I didn’t pick up on that before. I assumed you were just playing music, like flacs or mp3s.

I guess you might get ‘white noise’ from some radio stations. I don’t play radio stations myself much, so it’s not something I know about.

I don’t know if you’ve tried the wrinkle somebody else mentioned a little while back? Running the Reset_paths.sh, and then running the script for the output you want (headset, lineout, SPDIF). That worked for me to get SPDIF working with the 1.5 image. It wasn’t necessary (for me) for the 1.4 image though.

Well, one plus of having problems is that you learn stuff! However, if you have got file-system corruption on your 1.4 image, as your ‘dmesg’ output seems to suggest, you’re likely to continue to have problems. You might need to re-flash the image, or try another card.

Something you need to be careful of is how you shutdown the Pi. Doing so incorrectly can cause file-system corruption.

Thanks,

I actually did a few other steps that I didn’t report not sure if they affected my previously problem - I just assumed that it was related to which station I was choosing.

Here’s what I did differently;

Downloaded the image to a different laptop
Used winzip instead of bitripper.

Just to close the loop on this I’ll run the dmesg and compare it to the previous one I posted to see if this different approach had an impact on the file.

Hi all,

New to the forums here, but I have a Model B & Wolfson and Have it working with Volumio.

I wrote a complete guide including tweaks for internet radio play as a Reddit post --> reddit.com/r/raspberry_pi/co … tup_guide/

Does the guide make sense? Did I miss anything I should be doing?

Thanks!

Looks good. Is the reboot in Step 6 necessary? I don’t usually do that after setting up the menu options. Maybe your over-clocking makes that necessary?

Does the ‘Best Sinc Interpolator’ work now? I’m sure every time I’ve tried to change anything in that menu option it’s seemed to go back to whatever the default option was.

It’s only necessary if you overclocked (rebooting is necessary for the overclock to take effect) but I have a tech background and I’ve found most people complain less about problems if rebooting is part of the setup instructions. Don’t ask me why :confused:

I just checked mine and it is showing as “fastest” despite that i set it to “Best”. /etc/mpd.conf is also showing “fastest”, so apparently that’s not working.

edit I just modified mpd.conf so that samplerate_converter is “Best Sinc Interpolator” and rebooted. mpd.conf is still showing my settings, Volumio is still showing Fastest Sinc Interpolator. I don’t know if that function just isn’t working in Volumio, or if mpd.conf is being ingored. I’m not much sure it matters!

edit 2 it DID update, but the end result was that any test audio (2 different qualities of streaming + FLAC on a usb drive) lagged horribly. Set it back to “Fastest” and rebooted and i have smooth audio again. Interesting.

I’m not sure it matters either. It’s a bit like the various kernel ‘profiles’. I can’t tell any difference with any of them! I’ve pretty much ignored the Sample Rate Converter option for a long time now, as it seems to be broken

I just read your ‘introduction’ post. Interesting to hear your comments. In what way do you think the Wolfson requires too much customization? For me I just plug it in and go. And I’m not sure it could be any more ‘compatible’. It was specifically designed by Wolfson for the Pi. That’s it’s ‘raison d’etre’. It wouldn’t fit any other piece of kit. The one area they haven’t got sorted yet (which they should have done) was to get the drivers included in the main Raspian distribution. But I gather that’s being addressed now. I suspect the takeover of Wolfson by Cirrus may have had something to do with the delay in that happening.

Tonight I got it working! I started with force to lineout - then force to headphones and then force to SPDIF and it is playing.

I don’t know if it is ^^^^^^ or if I just had a loose connection on the Coax - but it is working finally.

Thanks for your help everyone!

George

Ok so this is new…

All my ripped flac files play just fine through the coax.

Two albums that I bought from hd tracks.com will play but no sound - but the free samples that I downloaded from the same site.

I thought they were all 24 bit 92 kHz but maybe the sample is something less?

Help!

Thanks George

I’m specifically speaking about software and driver compatibility - the hardware obviously was plug and go, but needing to use a (large) custom image to get it working was frustrating, especially since the card has been out for almost a year now. I wasn’t aware until recently of the Cirrus changeover and understand how that could have delayed things, but it still makes integration of the card more difficult.

For Volumio - the only reason I got it working at all was the custom image nicely provided up-thread. I initially tried using the Wolfson demo image and manually installing Volumio on it but had little luck getting everything working. Even with the custom image, it took some tweaking in the settings to get it working and some features (hardware volume control, hardware transcoding) aren’t working.

Overall, the Wolfson is an amazing piece of kit and I look forward to using some of the more advanced features on other projects - but for Volumio it’s overkill for no great reason.

Well if you want to be able to play high resolution audio (192khz - 92bit) Wolfson is hardly overkill.

Last night I was able to get the audio out from the Coax cable it sounded great.

However I had to leave the upsample option as disabled as when I chose any option it wouldn’t output sound.

Also for some reason the high definition audio that I had bought and downloaded won’t play (192-24)

Any ideas what to try next?

Thanks

Sounds like you got your outputs sorted out anyway. Presumably you no longer have errors at the end of your ‘dmesg’?

I have “Audio output format (resampling)” as ‘disabled’ (in Volumio). I don’t think I’ve ever bothered with that option. Is resampling required? I don’t know.

What I get out with that option disabled sounds fine to me. I just played a 24-bit 192khz flac, and it played perfectly.

Is your HD track flac, or something else?

Hi Tyres - yep the high resolution filed are flac. 192 - 24.

What’s funny is the the free download from the site HDtracks.com plays fine ( I recommend it by the way - some good listening ) - only my purchased files (2) are the problem in that no audio comes out of the coax even though the song is playing and comes through the line out just fine.

I never bothered with Wolfson’s demo image, the size of the download put me off! Somebody in the Wolfson forum over on the Farnell website produced a custom image that was much smaller, and I went with that, before trying out some of the Volumio/Wolfson images. Wolfson really did drop the ball, or rather never picked it up, in terms of support. Which is a pity, as the card seems to be a nice piece of kit. I think most people who bought it have stuck with it because they like the sound that comes out of it. Hopefully Cirrus will do better on the support front in due course.

Well, it’s a work in progress. I accept that. The guys doing it don’t get paid for doing it, they do it because they like doing that stuff. And overall I think it’s a nice piece of work (Volumio). The whole ethos of the Pi is ‘DIY’. I think that’s part of the fun :slight_smile:

Well, I started out with USB DACs. The sound wasn’t bad, but the Pi has its issues with playing music over the USB interface. There’s too much else going on over that interface, leading to the infamous ‘clicks’. That doesn’t happen with the I2S interface, which is dedicated to the audio output. For me that alone justifies it. OK there are other I2S DACs that might work as well (HiFIBerry), but the Wolfson was a pretty reasonable price and ticks the boxes for me.

I’ve got a Santana album (showing my age!) from HDTracks, at 24-176. That plays OK (playing it now). I have a number of other freebie HD tracks (all flac) I’ve picked up from various HD download sites, at various resolutions, and they pretty much all play fine.

Yeah it’s strange. Tonight when I get home I’ll take a look at the files to see if there is any difference between the ones that play and the ones that don’t. If that doesn’t show what is going on I’ll try re flashing the card again or maybe try the 1.5 image.

Well I’ve narrowed it down.

If I set the resampling it will play all songs fine… except for those with sampling rate at 192. It won’t output them at all when the resampling is disabled.

It will output these files (192 khz) if I choose one of the re-sampling options but it stutters throughout.

So I can play everything but the 192. Looking at the Wolfson manual it says that "sample rate must be the same as TX is both are enabled concurrently.

TX appears to relate to Pin number 4 “AIF3TXDAT”

Anyone have any idea how to solve this?

Thanks,

This is getting into stuff I don’t know much about. Might be an idea to re-post this in the general ‘Help’ topic, get more eyes on it, and maybe the Wolfson forum over on the Farnell website. They are pretty techie over there.

I think I’ve seen posts in the Volumio ‘Help’ forum about stuttering on HD tracks at 192k.

Having said that, I’m playing tracks at 192k with no problem.

I suppose it isn’t a limitation of the coxial output on your hifi (or whatever you are using to play the tracks)?