element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Internet Radio
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Raspberry Pi requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 9 Jan 2015 2:03 AM Date Created
  • Views 220 views
  • Likes 0 likes
  • Comments 4 comments
Related
Recommended

Internet Radio

Former Member
Former Member
9 Jan 2015

I am trying to make my Raspberry Pi stream music to the internet, in such a way that it can be received on most platforms just by using it's IP address.  The problem is, I don't know where to start.

  • Sign in to reply

Top Comments

  • binauralhead
    binauralhead over 7 years ago +1
    That's a good start! A question! It's easy with the Pi, I have one set up with the old Pi, downloaded "Darkice" and "Icecast2" I managed to get mine to work headless and portable on the 3G network too…
  • Former Member
    Former Member over 7 years ago in reply to binauralhead

    I should not have that problem as I only wish to stream music, no voice, but thanks anyways!  And, yes I will let you know how it goes, but I am working on another project and that has higher priority currently.  Making a handheld emulation system, doubles a a project in CAD as I am 3-D printing the case!  image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • binauralhead
    binauralhead over 7 years ago in reply to Former Member

    Let me know how you are getting on.

     

    The ONLY big problem I had was in the darkice.cfg, the line which stated the microphone was "hw:1,0" audio was popping and clicking and speeded up (or slowed down depending on the data rate set), yet, changing the device line to "plughw:1,0" resolved all issues.

    Perfect (for my Logitech 910 webcam microphone, and Behringer UCA202)

     

    I'm hoping to use the Cirrus Logic audio card instead of the Behringer UCA202 - and I can't do it yet!

     

    So if you have issues with your sound, try: sudo nano /etc/darkice.cfg

    and change the device to read: plughw

     

    ctrl+X, Y and save

     

    [Darkice.cfg snippet below]

    # this section describes the audio input that will be streamed

    [input]

    device        = plughw:1,0           # Alsa soundcard device for the audio input

    sampleRate    = 44100            # sample rate in Hz. try 11025, 22050 or 44100

    bitsPerSample = 16               # bits per sample. try 16

    channel       = 2                # channels. 1 = mono, 2 = stereo

     

     

    Are you just wanting to stream MP3 files, or would you like to be able to chat too?

    That radio web server link is very good by the way, you can point the web server to your Pi's DDNS/IP address and be streaming within minutes after switch on.

     

    Have fun!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 7 years ago in reply to binauralhead

    Thank you very much, I have been checking this thread daily (ish), watching the view count rise, but the comment count stayed steady...at 0.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • binauralhead
    binauralhead over 7 years ago

    That's a good start!

    A question!

     

    It's easy with the Pi, I have one set up with the old Pi, downloaded "Darkice" and "Icecast2"

    I managed to get mine to work headless and portable on the 3G network too, the sound card I used for that project was a Behringer 202UC (about 20UKP on eBay) it was too easy to do, I've stereo streaming from binaural microphones now image

     

    "Ices" can stream MP3 files so if you don't want to live stream

     

    Here's some juicy inspirational links:

    https://stmllr.net/blog/live-streaming-mp3-audio-with-darkice-and-icecast2-on-raspberry-pi/

    https://lawrencematthew.wordpress.com/2013/08/07/connect-raspberry-pi-to-a-3g-network-automatically-during-its-boot/

    Free web server for streaming: https://shoutca.st/

    DDNS (NO-IP) Using The Raspberry Pi as a NoIP Client - Average Man vs Raspberry Pi

     

    Have fun image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • 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 © 2023 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube