-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add wave generator preview #1959
Conversation
2861763
to
92289a4
Compare
fixing codacy in a minute... |
Nice. For phase, would be better if we can show a reference waveform and with respect to that the changes. |
Oh okay. I can do that.. i will keep the reference wave with zero phase and grey color. Sounds right? |
Yes. And for vertical axis labels, make them 0V at the bottom and 5V at top |
I was thinking of removing the y axis labels. Since we can change the amplitude in oscilloscope. These labels might confuse the users |
92289a4
to
4477075
Compare
@CloudyPadmal I have added reference wave as you suggested... Have updated GIFs and apk. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
@mariobehling please review and merge this. I need a function implemented in this PR to add sound feature in wave generator. Thanks |
Fixes #1938
Changes: wave generator preview working fine
Screenshot/s for the changes:
Analog Mode

Digital Mode

Checklist: [Please tick following check boxes with
[x]
if the respective task is completed]strings.xml
,dimens.xml
andcolors.xml
without hard-coding themstrings.xml
,dimens.xml
orcolors.xml
APK for testing:
wave_gen_preview.zip
@CloudyPadmal @mariobehling I have added the preview feature to the wave generator UI. It is really looking good. Please review. I have made a getSamplePoints() function which I will use again to produce sound for different waves for the issue #1937