how the patch works - Gazwilde/Weather-Playlist GitHub Wiki
Main Patch
The Patch works by bringing live data from a weather website using a JIT.UIDI
How often this data is updated is controlled by a metro that controls a bang.
The data is then unpacked and the data for each parameter is displayed.
The three parameters used for this patch are:
- Temperature
- Humidity
- Wind speed
The data coming from each of the parameters is divided by 10, then sent to three number box. After the number boxes, the three numbers are added together and sent through a Inlet to the Player patch
Player Sub Patch
Upon entering the sub patch the number goes through a bang that can be accessed from the presentation GUI. this allows the user to change the song if it is repeated.
This Final number is then fed into the player which played the corresponding song
Songs can be added to the play list by dragging and dropping them into the Player. Before dragging them in they need to be scored on how they relate to different weather.
Presentation Mode
The presentation mode is the user interface GUI. This controls the the Application. In the GUI there is on/off top left, Volume top right, volume level centre, playlist bottom left and the bang to change song bottom right,