International Journal of Engineering, Management & Sciences (IJEMS) ISSN-2348 –3733, Volume-2, Issue-7, July 2015 Implementation of Internet Radio

Ankit Bapat, Sainath Komakula, Dr.Saurabh Mehta

 Abstract— Internet Radio is an upcoming sector in India. It has great potential since it falls in entertainment industry. The basic object is to build Internet Radio service for our college. The proposed system consists of software which will encode the voice from microphone to MP3 format along with dedicated server which streams the data to end user on an android application. The application includes list of other radio stations along with the detail description of that station. The additional features like rating in which the user can rate other radio stations is also provided in android application. This additional feature can be used as sponsorship for outside world and even in the college. It is a kind of T.R.P rating used to judge live programmers. The viewership of the project can be noted by this mechanism. To store rating information given by user and to keep the account of user who is using the application and listening to the stream, a backend is used. The future scope of this paper is to connect all educational institutes in India through their own Internet radio stations at campus level by using an android application. Fig.1. Block diagram of Internet Radio[5] Index Terms— Server, Data base, Android application, MPEG- Moving Picture Experts Group, MP3 (MPEG-1 Audio Layer 3).WAV-Waveform audio File, AAC- WMA-Windows Media Audio. II. BACKGROUND In India there is a population of 1.2 Billion+ which includes 650 Million Males and 580 Million Females among this I. INTRODUCTION population there are over 900 Million mobile phone Radio service is an age old entertainment activity in India connections with 200 million internet users and 130 million having immense potential for connecting majority of people. smartphones [4]. Indian online population grows steadily and In recent years internet users are increasing at an exponential currently 73.8 million users surfs the web via home or work rate. Most of the features along with entertainment feature computer. India is fourth largest country of internet users like live chat, live online radio, live TV are available with the after CHINA, US and JAPAN. Almost half the internet users user at any time. The demand for live online radio also known are of below 25 years of age which is around 48% of the as Internet radio is increasing nowadays. This is intended to population, the year on year increase in media, entertainment provide basic idea of the software components that are and music app is around 78% [4]. Internet radio application required to develop own Internet radio at an institution level. serves the purpose of streaming live radio to the user through The technology behind the Internet Radio is streaming which internet. is used to distribute audio formats like MP3, WMA, Ogg, WAV and more. Data in the form of audio is continuously transmitted over the local area network in UDP packets, those packets are reassembled at the receiving android application. The streamed audio is played after 1.5 seconds of delay on Internet speed of 2 mbps.

Manuscript received July 24 2015 Ankit Bapat, Student, Dept. of Electronics and Telecommunication, Vidyalankar Institute of Technology,, Mumbai Sainath Komakula, Student, Dept. of Electronics and Telecommunication, Vidyalankar Institute of Technology,, Mumbai Fig.2. Statistics of Internet users Dr.Saurabh Mehta, Professor, Dept. of Electronics and Telecommunication, Vidyalankar Institute of Technology,Mumbai.

13 www.alliedjournals.com

Implementation of Internet Radio

The table ‘History of Internet Radio Stations in India’ shows C. Deccan Radio four early established Internet Radio stations in India .they include Radio Dum Dum which was first developed in 2005 Deccan Radio began operation on 6 July 2008 [2]. Using [2]. Later came other radio stations such as Radio Maska , SHOUTcast technology, Deccan Radio has been Deccan and MyOpus radio broadcasting interactive programs and has gained appreciation of its listeners very quickly.

D. MyOpusRadio

MyOpusRadio has the unique feature of providing customized music players and radio channels for music and event related websites. Confluence Radio, made for the Ladakh Confluence 2009 and 2010, Pubrock Radio, for the Pubrock Fest 2009, Metro Monkey Radio, Headbangers India Radio are some of the players that MyOpusRadio has provided. Live webcast is another feature provided by MyOpusRadio Events like KroaKING, Nasty Peach live, and the Zero Reunion Tour have been streamed live from their venues. It is also available for streaming on mobile phones as well.

III. SERVER Icecast is a streaming media project released as free software maintained by Xiph.org Foundation[1]. It also refers specifically to the server program. Icecast was created by Jack Moffatt and Barath Raghavan to provide open source audio streaming server that anyone can modify and use. This server developed through C language. This Icecast support for Linux Fig.3. History of Internet Radio Stations in and Windows platform. Current version of Icecast is much India[6][7][8][9][10] improved than the previous one. It has start and stop button where start button enables the server to stream the content and stop to disable the streaming. Server status bar indicates A. Radio Dum Dum the current process of server.

Radio Dum Dum was the Indian initial internet radio started as a song playing station to cater the NRI community from Kerala. As the response was enormous, Radio Dum Dum started streaming for other Operating systems other than window like in Mac and Linux OS. Radio Dum Dum is world's first Malayalam Internet radio from Kerala [2]. All kind of Malayalam music and related programs are the main contents. Radio Dum Dum is the only Malayalam radio available through Spodtronics GPRS Spodradio. So we can hear Radio Dum Dum anywhere in the world even if we are on the move.

B. Radio Maska

Radio Maska initially used to play only songs without any presenter, it started live shows with around 15 presenters or rather called Jockey. During March 2009 [2], the station had made some changes in looks of their website and had an add-on feature in which listeners can request and dedicated any song. Radio Maska has customized Screamer Radio to be Fig.3 Statistical data of Icecast server Radio Maska Desktop Player which can downloaded from the website and install in PC for smooth streaming. The stream can be played in tuneIn radio which is available for Blackberry windows IPhone, android Phones. The stream can also be played in Windows media player, ITunes, and in Real player.

14 www.alliedjournals.com

International Journal of Engineering, Management & Sciences (IJEMS) ISSN-2348 –3733, Volume-2, Issue-7, July 2015

Fig.4. Comparison of Servers

IV. SOURCE In our Internet radio we implemented source by using SAM Fig.6. SAM Broadcaster broadcaster. SAM is short for Streaming Audio Manager and was developed specifically with the needs of Internet There are two decks in SAM broadcaster which is necessary broadcasting in mind. It combines many years of research for continuous playing the content on server machine. It has with cutting-edge technology to provide the user the power, other features like MIC input where actually Radio Jockey features, and reliability for professional broadcasting. SAM can sit and talk, which is going to be simplex communication takes control of all aspects of your broadcast and makes the between server and client connection. There is another user sound professional while saving the user’s time and window called playlist where we can make directory of music money. SAM Broadcaster has streaming configuration files or recorded audio so that continuous content can be settings in which we can set IP address, port address, streamed through server to the end android application. password and mount point. There also some additional details we can configure such as Station name, Station description, The encoder in SAM Broadcaster as capable of provide Genre. There is server type selection block where we can various bit rates like 32kbps, 48kbps, 64kbps and 128kbps. connect to desired server. Here we connect Icecast server We can stream as mono channel and stereo channel, we have because it is best compatible with SAM Broadcaster, in to set up encoder of SAM Broadcaster for the ipv4 address of Icecast we choose version 2 for streaming the media content the server machine for the streaming to begin. The fig5 ‘SAM over the internet. broadcaster’ shows that the data is streaming on internet in the encoders section. The figure 6 ‘Encoder of SAM Broadcaster’ shows encoder of SAM Broadcaster. In our web radio we selected 128kbps sampling rate for auto and stereo mode.

Fig.5. Server details Fig: 7. Encoder of SAM Broadcaster

15 www.alliedjournals.com

Implementation of Internet Radio

V. CLIENT Another section called ‘users’ is used to store user’s Client is end module of Internet Radio architecture. It may be username password and email address. This database is an in-built web media player, desktop application or else secured as it asks for admin password and username before it mobile application. In our case we are using mobile can be accessed as only the admin can modify any row or application as our receiving client. It has login activity where column in the database. The only limit of this database is that users have to authenticate themselves before using Internet it can store up to 100 users. The figure 10 ‘Parse Database’ Radio service. We choose Parse for login and authentication shows the entire structure of this database. of the user, another page of the mobile application is a list of radio station which are online available presently all India and outside and along with this lists we have included one more radio station from our own server. Each radio station will have rating bar where listeners will rate a particular station.

Fig.10. Parse Database

VII. GRAPH The graph shown in figure 11 is the output that can be seen in the parse database of all the radio station, this figure shows the number of users along with the duration for which they were listening to Country radio. On right side there are sections for Hindi and Rap radio which stores the similar information stored in country radio section like users listing duration for the radio station Fig.8. Login Page and Home page

There is a dynamic graph which shows number of users connected to particular station, a separate data store value is defined for this type of activity.

Fig.11. Graph

VIII. RATING

The figure 11 ‘Rating for country music’ shows five stars

which are used to rate that particular radio station which in

this case is ‘Country Music’ .When the user clicks on those

rating stars the floating point number gets stored in the

backend database inside a particular section as shown in

figure 10 ‘Parse Database’, which in this case is Fig.9. List of radio Stations and Description ‘CountryRating’ that stores the rating information of

‘Country Music’ radio stations. The ‘CountryRating’ section

also stores the unique id of the user who has rated the radio VI. DATABASE station. In this way the ratings given by the user gets stored The backend database to store the user’s information like along with its ID for future reference. The use of this username, password and email address is done by using Parse additional feature is that the students can judge a live cloud storage database. It also stores the rating information programme. It will serve as a sponsorship programme for giving by the user to a particular station, it has 3 sections to outside world and our own college. It will be a kind of T.R.P store the rating information of each of the three radio stations.

16 www.alliedjournals.com

International Journal of Engineering, Management & Sciences (IJEMS) ISSN-2348 –3733, Volume-2, Issue-7, July 2015 rating system. By the help of this feature viewership of Frequency be F1 project can be easily known. Period for listening the streaming be P1 Bandwidth required be x

Live Streaming Media Bandwidth Requirement,

x= L1*B1*P1*H1 ... (1)

Where, unit for bit rate is in bps (bytes per second) and unit for period is in seconds

XI. IMPLEMENTATION IN COLLEGE

In Vidyalankar Institute of Technology the LAN speed of 100 mbps near a node is supported which increases with the distance. The access point is of 128 mbps 802.11n. The server configurations are as following:-

Fig.12.Description of radio station IBM system 3650m4 32 GB RAM-1600 MHz IX. RESULT 300*2 GB HDD-10k Xeon 16 core processor The output from Icecast can be heard in mozialla firefox as a 1.6 GHz/1866 MHz continuos audio stream and a delay of 1.5 seconds is observed Storage 3 TB after actually playing the song in Sam Broadcaster. To listen streaming audio from icecast server, the URL should be IP A virtual machine of- address of PC that is running icecast server and the port 4 GB RAM, Quad-core-1 processor, 2GB space address of server, which becomes ‘localhost:port/live’ where will be allocated to this streaming programme. The test run mount is mount address of server. The output that can be will be divided into levels in which concurrent users will be heard on the end mobile takes a delay of 2 seconds on the increased on each level the corresponding practical value of internet speed of 2 mbps. bandwidth required will be calculated and accordingly system requirements would be updated to support higher bandwidth.

Fig 13 calculated theoretical value of bandwidth required

XII. CONCLUSION

The paper shows that streaming is the best way of real Fig.13. Result communication with the majority of people. In India there are

few colleges which have started FM radios but Internet radio

at campus level is yet to come. This paper provides X. CALCULATION information about the basic ingredients needed to implement By using Icecast server the streaming of 128 kbps done within it on campus level along with calculation of bandwidth a same LAN of a speed of 2 mbps consumes 0.05 GB of required to actually implement it. If it gets implemented at bandwidth when one user is connected for 1 hour. On a larger campus level many things will get easier such as, notices can scale for same content streamed at same internet speed for 24 be announced in real-time rather than putting content on hours with 500 users connected at a time the bandwidth college web site. In future we can add feature of video consumed becomes 660 GB [3]. streaming so that students will see the missed out content in Formula:- the college. With the advertisements it can be made Let, Concurrent listeners connected be L1 Bit rate be B1

17 www.alliedjournals.com

Implementation of Internet Radio

commercial so that the money raised will be used for further development of Internet radio station.

REFERENCES [1]Ice cast server documentation http://icecast.org/docs/icecast-2.3.0/introduction.html [2] Deccan Radio a model Community Radio Station (Deccan Radio a model Community Radio Station) www.siasat.com/english/news/deccan-radio-model-community-radiostation [3] Calculation of Bandwidth www.internet-radio.com/servers/tools/bandwidth [4] Mobile And Internet In India 2014: 349 Million Unique Mobile Phone Users [INFOGRAPHIC](Daze info) https://www.dazeinfo.com/2014/07/11/mobile-internet-india-2014-349-milli on- unique-mobile-phone-users-70-traffic-mobile-india-shining-infographic [5](Darwin) Streaming Server Administrator Guide https://manuals.info.apple.com/MANUALS/0/MA579/en_US/QuickTimeSt reamingSrvrAdminGuide.pdf [6] Radio Dum Dum http://radio-dum-dum.software.informer.com/ [7] India on Internet http://www.timescrest.com/culture/indie-on-the-internet-585 [8] Radio Maska terms http://www.radiomaska.fm/maskatermandcondition.aspx [9] Deccan Radio 24/7 http://www.deccanradio.com/community/ucp.php?mode=privacy [10] Rise of internet radio http://www.mxmindia.com/2012/04/rise-of-internet-radio-what-do-tradition al-fm-players-think/

18 www.alliedjournals.com