0% found this document useful (0 votes)
44 views45 pages

Nobela Martha-Multimedia Player System

This document appears to be a project report for developing a multi-mode media player system. Section A describes investigating the current system and identifying problems with existing media players. It requires access to multimedia, audio, and video files without internet and in a simple interface. Section B considers improving the current system or developing a new one. It describes input, output, and testing plans for the new media player.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views45 pages

Nobela Martha-Multimedia Player System

This document appears to be a project report for developing a multi-mode media player system. Section A describes investigating the current system and identifying problems with existing media players. It requires access to multimedia, audio, and video files without internet and in a simple interface. Section B considers improving the current system or developing a new one. It describes input, output, and testing plans for the new media player.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 45

qwertyuiopasdfghjklzxcvbnmqwertyui

opasdfghjklzxcvbnmqwertyuiopasdfgh
jklzxcvbnmqwertyuiopasdfghjklzxcvb
Multi-mode Media Player
nmqwertyuiopasdfghjklzxcvbnmqwer
Final Project 2017

tyuiopasdfghjklzxcvbnmqwertyuiopas
11/8/2017

Martha Nobela

dfghjklzxcvbnmqwertyuiopasdfghjklzx
cvbnmqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwertyuio
pasdfghjklzxcvbnmqwertyuiopasdfghj
klzxcvbnmqwertyuiopasdfghjklzxcvbn
mqwertyuiopasdfghjklzxcvbnmqwerty
uiopasdfghjklzxcvbnmqwertyuiopasdf
ghjklzxcvbnmqwertyuiopasdfghjklzxc
vbnmqwertyuiopasdfghjklzxcvbnmrty
uiopasdfghjklzxcvbnmqwertyuiopasdf
ghjklzxcvbnmqwertyuiopasdfghjklzxc
vbnmqwertyuiopasdfghjklzxcvbnmqw
SECTION A : SELECTION , ANALYSIS AND INVESTIGATION 2
 PROBLEM DEFINITION
 INVESTIGATION OF CURRENT SYSTEM
 REQUIREMENT SPECIFICATION……………………………………………………………………………………………………
 AIMS AND OBJECTIVES………………………………………………………………………………………………………………. 6

SECTION B :DESIGN
 CONSIDERATION OF ALTERNATIVE METHODS…………………………………………………………………………….7
 FINAL CHOICE JUSTIFIED
 INPUT DESIGN…………………………………………………………………………………………………………………………….
 DATA STRUCTURES OR FILE DESIGN………………………………………………………………………………………..
 OVERALL PLAN……………………………………………………………………………………………...............................
 OUTPUT DESIGN……………………………………………………………………………………………………………………….
 TEST
PLAN………………………………………………………………………………………………………………………………..19

SECTION C :SOFTWARE DEVELOPMENT 20


 TECHINICAL DOCUMENTATION…………………………………………………………………………………………………
 USER DOCUMENTATION…………………………………………………………………………………………………………..34

SECTION D:TESTING AND EVALUATION………………………………………………………………………..35


 USER TESTING…………………………………………………………………………………………………………………………..
 SYSTEM TESTING……………………………………………………………………………………………………………………….
 EVALUATION OF THESYSTEM…………………………………………………………………………………………………….44

Section A

Selection, Investigation and Analysis

Multimedia Player System

Background Analysis

Since time immemorial digitalisation has been used in order to access files such as audio and visual. Media started
out with plane black and white photographs in a two dimension environment. It was then further improved in order
to make the photographs move. They have since revolved to colour television and 3-dimension to an astounding 4-
dimension in some technologically advanced countries through the use of light intensity and the speed of light and
the addition of audio features.

2|Page
Choice of problem

After looking at this I realised that St James, and its surrounding community whose population is 1000 is still a bit
backward when it comes to technology so I decided to create my own Multimedia player system. This as you may
well know has become a huge part of our lives from social standing to education in terms of accessing media files.
My system will show a step by step evolution of a multimedia player system so that other programmers can make
alterations to it if the need arises. Firstly, it will consist of an audio player. To add on, it will also consist of a picture
viewer and finally will consist of a video player with the absence of sound and finally a combination of all the systems
into one system, hence the multimedia playing system.

Investigation of the current system

Research instruments

1. Observation
2. Questionnaire

Observation

I chose observation as a research instrument because the data I will collect is more reliable as I get to see the current
software applications in use.

I chose to make use of the following for my research

Users of personal computers who require access to their media files on a daily basis
Personal experience as I also make use of media applications to access my files.
Reading user guides for current systems.
Observing other people using the current systems
Browsing on the internet.

Questionnaire

Since this is a system that the whole community will have access to I decided to ask the following questions to find
out if the locals are encountering any problems with access to their files.

Questions

NB; if a box is allocated beneath the question, tick either one of the spaces provided

1. What role do media play in your life?

3|Page
2. What kind of files do you require access to routinely?
a) Multimedia Files
b) Audio Files
c) Visual Files
d) Other

3. How do you access these files?

4. Do any problems occur whilst you are trying to gain access to your files?

Yes No

a) If yes, what are these problems?

b) If no, do you feel that the current system can be improved?

5. If internet access is required to open your files what do you do?

6. What are the problems you face when trying to gain access to your files given that the software
application does not require internet access.

4|Page
7. Do you feel that the system can be improved?

Yes No

8. In what ways do you think the system can be made to suit your requirements?

9. In the event that a new system is developed, do you think the problems that arise with its
implementation can be dealt with cost effectively?

Yes No

Reason;

Problems with the current system

Complex for computer illiterate locals.


Requires internet access which is expensive.
Contains a complicated user interface hence making it hard to use.
Limited to only a few people as it requires too much formality such as documentation.
Has to be updated on a regular basis.
Employees have to wait until hard copies of their files have been made before they can access them, which
may take too long.
Restricted access to personal files since the readily available software only shows text and numeric data.

Requirements specification

User Requirements

 Understanding of the basic concepts of computers


 Computer

5|Page
Software Requirements

 Word Processing
 Programming language
 Internet Connection

Hardware Requirements

 Monitor with picture resolution


 Speakers
 Camera
 Recorder
 Compact Disc
 16 Gigabyte RAM and ROM

Aims and Objectives

Aims

 To develop a system that will enable human-machine interfacing to be simpler so that computer illiterates
can be able to use it too.
 To develop a system that can be used in the event that there is no access to the internet.
 Create a system that will give users unlimited access to their media files.
 Enable users to protect their files from physical damage through use of backup files.

Objectives

 The system should give users access to their images and allow them to view them.
 Allow users to locate, select and view data from their computers.
 Ability access audio files from compact discs.

6|Page
 Ability to view their videos.
 Enable users to access media files quickly.
 Contain an understandable user interface to accommodate locals.
 System should be readily accessible for students and facilitators who may want to use it.

Evidence that research has been carried out

Description of Observation

From my observation, I noted the following:

1. People require access to media files on a regular basis. These include;


o Facilitators – for creating and viewing graphic displays during lessons to enlighten the learning
environment and encourage learner participation.
o Learners - for gaining access to files on the internet and making graphic presentations for group
discussions.
o The church - for informing locals on upcoming events and their dates.
o Auxiliary staff -for writing reports on certain events and providing feedback to School authorities.

2. Some systems require internet access before they can be used and since the internet is limited to some
areas, this then becomes a challenge.
3. There is a need to keep on updating the systems as the demand for more flexible systems grow.
4. E-learning at St James is not being properly implemented due to lack of appropriate software.

Section B

Alternative methods considered

1. Purchase a system that has already been developed and implement it

Advantages
Less expensive as manufacturing costs are shared by many users.
It will save on time that is used when creating a new system, testing it and implementation.

Disadvantages

The system may not apply to the situation.


The system may have additional features not required.
The system may be working progress and might still contain a lot of errors.

7|Page
2. Improve the current System
 All that is required is to improve the current systems such as Windows Media Player or Pot Player
and then make it suit the requirements of the users by additional features or removing some
features.

Advantages

Cheaper as not much training is required since the users are already familiar with the system.
No costs associated with developing a new system are incurred
Saves on time

Disadvantages

Expensive in the long run.


Not user friendly.

Final Choice

Creating a new system

Justification of method of solution

Advantages

It is problem specific.
Cheap to use in the long run.
Contains only the features that are required of it.
It is not complicated.
More secure way of storage and access to records.
More efficient way of media file access.

8|Page
Input Design

Data Capture Forms

Login Form

9|Page
Picture Viewer Input Design

10 | P a g e
Input Design for Audio Player

11 | P a g e
Input Design for Media Player

12 | P a g e
The media player combines the Data structures of an audio player and a picture viewer, but it has an improved
picture resolution and matches the speed of sound with the speed of light.

Data Structures for Multimedia Player

13 | P a g e
This system uses a queue which is very similar to the operation of a stack. To create a multimedia player I
combined the LIFO and FIFO stacks into one program with an option to choose the method. It saves on time of
having to load a program separately.

The principle of operation of a queue is the same as the principle of a ‘normal queue’ waiting to be served in a
shop, first in the queue is the first to be served and the first out. This is demonstrated in the following diagram;

FIFO Stack (Queue)

13
Front 24
53

Back

Screen Layouts

MDI Form

14 | P a g e
Splash Form

Overall Plan

MultiMedia Player System

15 | P a g e
Welcome Menu

Audio Player Compact Disc Player Picture Viewer

This allows the user A disc is inserted into The user selects all
to select the drive the computer and a graphic files in the
from which the audio track is selected. drive and is provided
file is to be fetched Features for previous with a drop down list
from showing several and next are of folders. A folder is
folders from which available and the then selected and the
the audio file is program shows the file list box now
chosen, current tract and its shows the images in
number. that folder. A file is
selected .

Output Design

 The output forms will be the same as the input forms because they serve as both input forms and
output forms.

Picture Viewer Output Design

16 | P a g e
Audio Player Output Design

17 | P a g e
Multimedia Player / Video Player Output Design

18 | P a g e
Test Plan

Top-Down Testing

19 | P a g e
Here, I will test the program with limited functionality. This is because I split the code into different functions, all of
which are useful individually and I combined those features into one which is the multimedia player.

Normal Data

File Type Length Test Data Expected Outcome


Audio 00:03:00 .mp3 Play
Video 02:30:00 .mp4 Play
Image 3.50KB .jpeg Show

Extreme Data

File Type Length Test Data Expected Outcome


Audio 00:30:00 .mp3 Play
Video 60:00:00 .mp4 Play
Image 100KB .jpeg Show

Abnormal Data

File Type Length Test Data Expected Outcome


Audio 00:03:00 .mp4 Error
Video 02:30:00 .jpeg Error
Image 60KB .mp3 Error

Section C: Software Development

Technical Documentation

Flowcharts

20 | P a g e
Flowchart for Login

Start

Enter Password

Display “Invalid
Password”

Is
N0
password= “Ma
rtha”?

Yes

Display MDI Form

Stop

Flowchart for Picture Viewer

Start

ListIndex=0
21 | P a g e
File1.Parttern=0
Enter Data

Diplay “InvalidData”

No
Is ListIndex=1 and
File1.Parttern=1

Yes

Display Image

Stop

Flowchart for Overall Design

Start

Media Player =0

Audio Player =0

Picture Viewer =0

22 | P a g e
Select a file

Is it audio or No
visual

Yes

Picture Viewer= 1
Media Player= 1
Audio Player =1

Open File

Stop

Pseudo Codes

Pseudo Code for login Form

Enter Password

If Password = “Martha” Then

Display MDI Form

Else MsgBox = “Invalid Password”

EndIf

EndSub

Pseudo Code for Picture Viewer

23 | P a g e
ListIndex = False

File1.Partten = False

If ListIndex = True and File1.Parttern = True Then

Display Image

Else

MsgBox “Invalid Data”

End If

EndIf

EndSub

Pseudo Code for Overall Design

Media Player = False

Audio Player = False

Picture Viewer = False

If a file is selected Then

Is it Audio or Visual ?

If Audio = True Then“Play”

If Visual Then “Display Image”

ElseIf Media Player = True Then “Stream”

EndIf

EndIf

EndIf

EndSub

24 | P a g e
Code for Logging into the system

Option Explicit

Public LoginSucceeded As Boolean

Private Sub cmdCancel_Click()

'set the global var to false

'to denote a failed login

LoginSucceeded = False

Me.Hide

End Sub

Private Sub cmdOK_Click()

'check for correct password

25 | P a g e
If txtPassword = "" Then

MsgBox "Enter the password!"

frmLogin.Show

End If

If txtPassword = "Martha" Then

'place code to here to pass the

'success to the calling sub

'setting a global var is the easiest

LoginSucceeded = True

Me.Hide

Else

MsgBox "Invalid Password, try again!", , "Login"

txtPassword.SetFocus

SendKeys "{Home}+{End}"

End If

End Sub

Code for Picture Viewer

Private Sub CmdShow_Click()

If Right(File1.Path, 1) <> "\" Then

FileNam = File1.Path + "\" + File1.FileName

Else

FileNam = File1.Path + File1.FileName

End If

Picture1.Picture = LoadPicture(FileNam)

End Sub

Private Sub Combo1_Change()


26 | P a g e
If ListIndex = 0 Then

File1.Pattern = ("*.bmp;*.wmf;*.jpg;*.gif")

Else

File1.Pattern = ("*.*")

End If

End Sub

Private Sub Dir1_Change()

File1.Path = Dir1.Path

File1.Pattern = ("*.bmp;*.wmf;*.jpg;*.gif")

End Sub

Private Sub Drive1_Change()

Dir1.Path = Drive1.Drive

End Sub

Private Sub File1_Click()

If Combo1.ListIndex = 0 Then

File1.Pattern = ("*.bmp;*.wmf;*.jpg;*.gif")

Else

File1.Pattern = ("*.*")

End If

If Right(File1.Path, 1) <> "\" Then

FileNam = File1.Path + "\" + File1.FileName

Else

FileNam = File1.Path + File1.FileName

End If

End Sub

27 | P a g e
Private Sub Form_Load()

Left = (Screen.Width - Width) \ 2

Top = (Screen.Height - Height) \ 2

Combo1.Text = "All graphic files"

Combo1.AddItem "All graphic files"

Combo1.AddItem "All files"

End Sub

Code for Audio Player

Private Sub cmdPlay_Click()

'To play WaveAudio file or Midi file

If Combo1.ListIndex = 0 Then

MMControl1.DeviceType = "WaveAudio"

ElseIf Combo1.ListIndex = 1 Then

MMControl1.DeviceType = "Sequencer"

MMControl1.Command = "Open"

MMControl1.Command = "Play"

MMControl1.FileName = txt1.Text

Txt1.Text = (FileNam)

EndIf

End If

End Sub

Private Sub cmdStop_Click()

MMControl1.Command = "Stop"

End Sub

Private Sub Combo1_Change()


28 | P a g e
'To determine file type

If ListIndex = 0 Then

File1.Pattern = ("*.wav")

ElseIf ListIndex = 1 Then

File1.Pattern = ("*.mid")

Else

File1.Pattern = ("*.*")

EndIf

End If

End Sub

Private Sub Dir1_Change()

'To change directories and subdirectories (or folders and subfolders)

File1.Path = Dir1.Path

If Combo1.ListIndex = 0 Then

File1.Pattern = ("*.wav")

ElseIf Combo1.ListIndex = 1 Then

File1.Pattern = ("*.mid")

Else

File1.Pattern = ("*.*")

EndIf

End If

End Sub

Private Sub Drive1_Change()

'To change drives

Dir1.Path = Drive1.Drive

End Sub

29 | P a g e
Private Sub File1_Click()

If Combo1.ListIndex = 0 Then

File1.Pattern = ("*.wav")

ElseIf Combo1.ListIndex = 1 Then

File1.Pattern = ("*.mid")

Else

File1.Pattern = ("*.*")

End If

EndIf

If Right(File1.Path, 1) <> "\" Then

FileNam = File1.Path + "\" + File1.FileName

Else

FileNam = File1.Path + File1.FileName

End If

txt1.Text = FileNam

End Sub

Private Sub Form_Load()

'To center the Audioplayer

Left = (Screen.Width - Width) \ 2

Top = (Screen.Height - Height) \ 2

Combo1.Text = "*.wav"

Combo1.AddItem "*.wav"

Combo1.AddItem "*.mid"

Combo1.AddItem "All files"

End Sub

Code for Compact Disc Player

Private Sub cmdExit_Click()


30 | P a g e
MMControl1.Command = "Stop"

MMControl1.Command = "Close"

End Sub

Private Sub cmdNext_Click()

MMControl1.Command = "Next"

End Sub

Private Sub cmdPlay_Click()

MMControl1.Command = "Play"

End Sub

Private Sub cmdPrevious_Click()

MMControl1.Command = "Prev"

End Sub

Private Sub cmdStop_Click()

MMControl1.Command = "Stop"

End Sub

Private Sub Form2_Load()

'To position the page at the center

Left = (Screen.Width - Width) \ 2

Top = (Screen.Height - Height) \ 2

End Sub

Private Sub Form2_Activate()

'Load the CDPlayer

MMControl1.Notify = False
31 | P a g e
MMControl1.Wait = True

MMControl1.DeviceType = "CDAudio"

MMControl1.Command = "Open"

End Sub

Private Sub Form2_unload()

'Unload the CDPlayer

MMControl1.Command = "Close"

End Sub

Private Sub Label1_Click()

Label1.Caption = MMControl1.Track

End Sub

Private Sub MMControl1_StatusUpdate()

'Update the track number

MMControl1.Track = 1

End Sub

32 | P a g e
User Documentation

Installation

1. Make the program executable


2. Install it on a disk
3. Transfer it to another machine
4. Install it there

Running the system

3. Log into Welcome Menu


4. Select the a specific function in the code that will allow you to view a specific file
5. Choose a drive from which the file is stored, open it. A drop down list of subfolders will appear, select a
certain folder and pick a file.
6. If you want to use all features, select the media player.
7. Choose the required file.

Navigation in the system

1. Select the Multimedia player system


2. Type in password
3. Select view

33 | P a g e
Exiting the system

1. Click on exit.
2. Cancel the process

Evidence of Exiting the System

34 | P a g e
Section D

Testing and Evaluation

User testing

The following data is entered into the system and the results are displayed along with the data.

Test for functionality of Picture Viewer

Normal Data

Extreme Data

35 | P a g e
Abnormal Data

Test for functionality of audio player

Normal Data

36 | P a g e
Extreme Data

Abnormal Data

37 | P a g e
Test for functionality of Media Player

Normal Data

38 | P a g e
Extreme Data

Abnormal Data

39 | P a g e
Sample Runs

Audio Player

Picture Viewer

40 | P a g e
Video Player

Error Messages

Login Form Error message

41 | P a g e
Picture Viewer Error messages

Audio Player Error messages

42 | P a g e
Movie Player Error messages

43 | P a g e
System Testing

Ease of use

The system is designed in such a way that the properties follow a specific format which will not confuse the user as
they try to access their files. It contains a few but very useful command buttons and it allows easy access to media
files within the computer.

Reliability

The system is very reliable as it suits the requirement specifications of the users, though I feel that a few features
have to be improved.

The system also produces results instantaneously and it is highly efficient.

Evaluation of the System

Achievements

o The system has a user friendly interface


o It does not require internet access
o It is more affordable
o Requires little formality in implementation

Extent to which user specifications were met

o System is able to search for data


44 | P a g e
o Does not need to be updated frequently
o Users can view their images
o Users can watch their videos
o Users can listen to their audio files
o Users can listen to tracks on Compact discs

Limitations

o The system does not allow separate forms to run at the same time.

Evaluation of results against system objectives

o Basically, the system does what is required of it.

Opportunities for future developments

o Enable system to connect to the internet and access individual files on the web.

45 | P a g e

You might also like