/241Beats

Distributed Sound System

Primary LanguageJava

241Beats - Honors Project for CS 241

##General Idea Our goal is to build a decentralized music player which plays music on multiple android phones. All these phones will play a single playlist shared playlist that can be edited by any phone. Furthermore, playback on all phones will be synchroned so that all phones play the same music at all times. This also means that any phone can control music (play / pause / skip / etc) on all other phones.

##Collaborators

Abhishek Modi [akmodi2@illinois.edu]
Haozhen Ding [hding8@illinois.edu]
Yisong Yue [yyue7@illinois.edu]

##Demo Youtube:

Demo

Please note that while the app will compile, it is almost guaranteed to crash on launch if the server is not running as well. Please configure the settings for your server in the native code. I have removed the server config in the native code for to make it clearer as to what needs to be changed.

#Abhishek Modi's Log

####Week of Monday Dec 7

Completed the app.
Getting the ndk to play nicely took longer than expected.
Server code is not on github. Only the app's code is here.

####Week of Monday Dec 1

Looked into how ndk would work in terms of our project.
Got Java stuff completed.<>

####Week of Monday Nov 24

Thanksgiving week.
This wasn't particularly productive.
I worked a little with multithreading in Android
Didn't get much done in the way of this project.

####Week of Monday Nov 17

WildHacks is was this weekend
I basically learned a lot about Android developement while I was there
This project at Wildhacks is my first actual android app
The stuff I've learned here will help towards this project.

####Week of Monday Nov 3 Hope to start development soon.

####Week of Monday Oct 27

The idea was decided upon.
May need help integrating Java with C.
Development has not as yet begun on this project

Yisong Yue's log

Week of Oct 27

Discussed and decided on the project idea.

Week of Nov 3

Installed Eclipse and NDK.
Tried to run the emulator with NDK example apps.
Read about JNI and other related things.

Week of Nov 10

Received the Android phone.
Installed and ran NDK apps on the phone.
Looked more closely into the native audio app and its code. More reading.

Week of Nov 17

Ran and tested the audio-playing portion of the app written by teammates.

Week of Nov 24

Thanksgiving break.
Learned about sockets and server-client communication for NDK, and planned for this portion of the app.

Week of Dec 1

Wrote some functions to set up clients for receiving and sending data from/to the server.

Haozhen Ding's log

Week of Oct 27

The group discussed about project ideas, and made decision on the music player.

Week of Nov 3

Followed the tutorials for installing NDK and ADT.
Looked at NDK documentations and sample apps.

Week of Nov 10

Studied the native audio playing app and the code.
Wrote a simple audio playing app that had a play and a pause button.

Week of Nov 17

Learnt about Android app structures and how to incorporate Java and C code in a app.

Week of Nov 24

Thanksgiving break.
More readings about multi-threading in Android apps using NDK.

Week of Dec 1

Tested the server-client communication module of the app.


https://github.com/afekete/CS241-Honors/wiki/Groups ######Computer Science
University of Illinois at Urbana Champaign