lorentsinani / FollowMeProject

This project is a simulation of a set of musical clips.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Follow Me Project

A Clip in Live contains musical content, ranging from a short sound to an entire song. Some clips play once, while others loop forever.

Clips start playing when they are triggered. Clips can also have Follow Actions, which allow creating groups of clips that can trigger each other. A clip can have one or two Follow Actions that define what happens after a clip has been playing for a set amount of time.

Every Follow Action has an associated Chance value that controls the likelihood of each of the two Follow Actions occurring.

Our project stimulate this in a simplified way.

This project was given as a Task from University of Pristina.

Usage

Once the application is running you need to provide valid inputs. The inputs are of two types.

First, you need to provide all the clips to be played. It creates a named clip with a set of properties.

type ' clip <follow chance 1> <follow chance 2> <action 1> <action 2> ' .

Second, you need the ticks command, which runs the program a certain number of ticks. If the optional list of floating point numbers is provided the output is made deterministic, otherwise the output is random (taking into account the chances of every action)

type ' ticks <...optional list of floating point numbers> '.

Design

You will find in this project comments for almost everything we did and used but overall this project was designed and approached using a double linked list to store the different clips.

Execution

https://drive.google.com/drive/folders/1zVx6Bq1Nyb80Pk3uyfahMryH6lSDEJfV?usp=sharing

Authors

-Lorent Sinani

-Lorik Mustafa

About

This project is a simulation of a set of musical clips.


Languages

Language:C++ 100.0%