Apple declared war on Spotify, Tidal and Pandora, as it unveiled its new music streaming service.
Apple Music, available to users of iPhones and iPads on June 30 in 100 countries, includes a radio station with personalized playlists and a choice from millions of songs on demand.
Tim Cook described Apple's new service as "the next chapter in music". It will include
, a 24-hour radio station featuring Kiwi DJ and former Radio 1 presenter Zane Lowe. The company is billing it as "all the ways you love music in one place".
The sections on Apple Music include "for you", which will recommend songs for users based on personal recommodations, not algorithms, and "new". Apple Music Connect will allow artists to suggest songs to users.
It will launch on June 30 and cost US$9.99 per month. However, the first three months will be free. Families will also be able to pay US$14.99 and share an account between six people.
The streaming service potentially makes Lowe the most powerful DJ in the world.
Beats 1, led by Lowe, will be broadcast live out of Los Angeles, New York and London.
Lowe surprised fans when he left his top rating UK radio show in March to take up an undefined role with Apple.
At the time, Lowe said leaving the BBC "wasn't easy".
"It's about the best place I've ever worked in my life. And it's got the most inspiring people, who do things for all the right reasons - because they love it, they feel proud to do it there, they feel honoured at the privilege of being able to do it for the people, and they take that responsibility very seriously," he said.
Apple Music will also give artists a forum called "Connect" to allow them to interact with fans by releasing demos, playlists, soundbites, videos and songs.
Helmed by Jimmy Iovine, the app brings together elements of the music world that are confusing and currently spread across many apps.
Iovine launched the app at Apple's Worldwide Developers Conference in San Francisco.
"Apple Music is really going to move the needle for fans and artists," said Iovine. "Online music has become a complicated mess of apps, services and websites. Apple Music brings the best features together for an experience every music lover will appreciate."
The service includes a live radio station called Beats 1, tools to find curated playlists or individual songs and a social music network on which users can comment on music and share it.
"We love music, and the new Apple Music service puts an incredible experience at every fan's fingertips," said Eddy Cue, Apple senior vice president of Internet software and services.
"All the ways people love enjoying music come together in one app - a revolutionary streaming service, live worldwide radio and an exciting way for fans to connect with artists."
Apple also launched:
New operating system for iPhone and iPad, which includes major improvements to assistant service Siri, such as using emails to recognise mystery phone numbers not in contact books, playing music when you plug headphones in, and recognising what room of your house you are in and suggesting relevant apps. The proactive assistant is a rival to Google Now.
On the iPad, iOS 9 includes a new "multitasking" service that allows users to have two apps open at the same time, such as web browser Safari and Apple Maps. It allows splitscreens and a picture-in-picture so that users can watch video and work at the same time. This will be available on the iPad Air 2 and the iPad Mini 2 and 3.
A lower-power mode will help users to add three hours to their battery life.
iOS 9 public beta will be available in July and as a free update for everyone in the Autumn.
A new application that allows users to build personalised collection of articles from publications around the world. App will suggest sources and topics that user may be interested in. App is an aggregator of news sources including The Telegraph and New York Times. Will launch in UK, US and Australia.
The "native" operating system for the Apple Watch, which will make it easier to develop new apps for the smartwatch. Tim Cook described it as a "giant moment". The new operating system will allow users to reply to emails and use FaceTime audio.
The successor to OS X Yosemite, the operating system for Macs. The new system is named after the famous mountain in Yosemite. This is because, according to Apple, the key to the new system was "inside Yosemite".