You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Problem]
The playback button doesn't do anything at the moment.
[Solution]
Added the playback scene which displays a waveform based on
the properties of the tone. Properties of the tone are stored
in the application context and then passed to the view model
that displays the animation.
The view for the animation is simply a custom view that has
a callback called to draw to its canvas continuously. The waveform
is drawn with lines in order to ensure it is drawn properly connected.
Can currently display sine waves and square waves.
[Testing]
Ran on device and confirmed working as expected.
Copy file name to clipboardexpand all lines: README.MD
+1
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ This project depends on [uFBT](https://github.com/flipperdevices/flipperzero-ufb
11
11
The application is structured such that each scene can be self contained, with the sharing of data between scenes done via the app context. All of the scenes can be found with their corresponding source and header files in the `src/scenes` directory. The scenes do as follows:
12
12
13
13
-**Starting Scene**: The scene where the application starts. This has the main menu options that users see when they start the app.
14
+
-**Playback Scene**: The scene where the sound is played. Animates a waveform with the *approximate* shape of the sound being played.
14
15
-**Settings Scene**: The scene where users can configure the tone's properties.
15
16
16
17
Note as well that the app context file is generic, and designed in such as way that it should not need to be updated for things specific to the application. This allows for an easier time to allow scenes to self manage, insteaed of having somewhere else that centrally manages everything.
0 commit comments