THE STORY / 05 CARDS
How laSallefy came together.
At a glance
- Problem
- A music player with no audio files allowed, built in a pair for the object oriented programming course.
- My role
- Java · Object-oriented programming
- Key decision
- We agreed the interfaces between the layers before writing anything behind them, so two people could build against a contract.
- Outcome
- A working player, built as pair coursework, that synthesises every song in real time with no audio files.
01 / 05Who it is for
La Salle's object oriented programming course, built in a pair. The constraint was the point: no audio files allowed.
A media player that reads files is a file browser with a play button. Without files, there is no shortcut: the architecture has to hold the whole thing up.
02 / 05What it does
Every song is a sequence of frequencies synthesised in real time by four custom wave engines, inside strict layers. An AlbumGenerator assembles random albums filtered by mood and target length.
03 / 05The decision, in full
Working in a pair, we kept blocking each other: one of us could not start until the other had finished the class underneath. The fix was not better coordination, it was agreeing the interfaces between the layers before either of us wrote anything behind them. After that we could both build against a contract instead of against each other's unfinished work.
04 / 05What I learned
Strict layers are what made working in a pair possible: we could each build against an interface instead of waiting for the other. The constraint produced a cleaner architecture than a file based player ever would have.
05 / 05Where it stands
- Status
- Academic
- My role
- Java · Object-oriented programming
- Built
- Pair, with a classmate
There is no real capture of this one running yet, so judge it by the code rather than by the images on the card.
JavaOOPDSP