Skip to content

alihakimtaskiran/TheIncusProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

The Incus Project

A headphone is an escape from reality. When you upset, you start to listen a music then you feel relief. When you are in underground train, you seem to be felt scared; however, this not the case. Most of us listen music during the journey and we feel something depending on what is included in the music. Great accompanionship! This implies that hearing impacts out mood and it is very strong sense. The Incus Project renders this fact. It creates real like audio. By this way you would create your own reality and determine what you hear.

Tree of the Module

Continuum(entity,sample_rate=44100)---|
                                      |----monotonicSpeaker(location, time_interval, amplitude, frequency, phase=1.5*pi)
                                      |----hear(location)
                                      |----play_music(path_to_file,location,start_time)

Docs

Continuum(entity,sample_rate=44100)

It is the simulated reality. It represents a 4D unreality and functions associated with them.
    entity is size of the continuum. It contains 4 elements. They stands for **(duration, x_points, y_points, z_points)**. **duration** signifies how many seconds of time period measured, and others signifies how many points exist per dimension.
    sample_rate represents how many samples per second.

monotonicSpeaker(location, time_interval, amplitude, frequency, phase=1.5*pi)

Creates a virtual oscillator that creates monotonic audio.
    location:Location of the speaker. It is a tuple with 3 elements
    time_interval: Signifies which time periods tone will be played. It is a tuple with 2 elements
    amplitude: Indicates amplitude of the tone
    frequency :Indicates frequency of the tone
    phase :Indicates phase of the tone

hear(location)

Renders which sound is heard in given location through the entire time period of the *Continuum* - location: Indicates location of the virtual microphone. It is a tuple with 3 elements

play_music(path_to_file,location,start_time)

Adds a sound file into Continuum
    path_to_file : Indicates location of **.wav** file. **Only .wav files are accepted**.
    location:Indicates where will file played. It is a tuple with 3 elements.
    start_time: Signifies when the file is played.