element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Wolfson Audio Card can't record from linein with darkice and playback on speaker with squeezelite
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 661 subscribers
  • Views 278 views
  • Users 0 members are here
  • raspberry_pi
  • raspeberry_pi_accessories
Related

Wolfson Audio Card can't record from linein with darkice and playback on speaker with squeezelite

jfz
jfz over 8 years ago

Hello,

 

I'm having an issue with my Wolfson Audio card using this Ragnar's image on my Rpi https://www.element14.com/community/message/106822/l/re-wolfson-modified-noobs-raspbian-zipped-img-cannot-unzip-new-down…

using darkice localy on the Pi using this post https://www.element14.com/community/external-link.jspa?url=http%3A%2F%2Fwww.t3node.com%2Fblog%2Flive-streaming-mp3-audio… 

And icecast on my ubuntu server.

Casting work great image thanks to all this people !

By the way I still have an issue wanting using the same Pi to play the stream on the Wolfson speakers.

I have squeezelite on the Pi and the LMS on my ubuntu server. Both communicating well with each other.

 

when I use on my Pi

mplayer http://myipserver:8000/mylive

while he's streaming, it works great too on the speakers.

 

Equal when I m using squeezelite with some music on the LMS and without streaming with darkice.

 

But when I play the stream from squeezelite, only annoying noises are going out the speakers.

The reason I prefer to use squeezelite is to be able to sync the playing stream with my others squeezelite players (Rpi too)

 

I m using Ragnar's darkice.cfg too image

lauching squeezelite like this :

sudo /usr/bin/squeezelite-armv6hf -o sysdefault:CARD=sndrpiwsp

 

here are the command someone could ask me to understand what is happening :

aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: sndrpiwsp [snd_rpi_wsp], périphérique 0: WM5102 AiFi wm5102-aif1-0 []
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: ALSA [bcm2835 ALSA], périphérique 0: bcm2835 ALSA [bcm2835 ALSA]
  Sous-périphériques: 7/8
  Sous-périphérique #0: subdevice #0
  Sous-périphérique #1: subdevice #1
  Sous-périphérique #2: subdevice #2
  Sous-périphérique #3: subdevice #3
  Sous-périphérique #4: subdevice #4
  Sous-périphérique #5: subdevice #5
  Sous-périphérique #6: subdevice #6
  Sous-périphérique #7: subdevice #7

 

arecord -l
**** Liste des Périphériques Matériels CAPTURE ****
carte 0: sndrpiwsp [snd_rpi_wsp], périphérique 0: WM5102 AiFi wm5102-aif1-0 []
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0

 

I'm using basic scripts :

Playback_to_Speakers.sh

Record_from_lineIn.sh

 

Notice that launching squeezelite with -o sysdefault:CARD=ALSA works too but sound goes on headset output image

 

Is anyone have an idea about what is happening ?

 

Thanks

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube