-
-
Notifications
You must be signed in to change notification settings - Fork 443
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
Measure Activity for Sugarizer #708
Conversation
57b113c commit message is a bit brief. You could say what you used, like p5 sound. I see you added |
@quozl @llaske I am developing this activity for Sugarizer. Sugar has the measure activity and I took the inspiration from https://help.sugarlabs.org/measure.html .A few days ago I asked in sugar-devel to make this activity for sugarizer. |
Good start. Nice. You should also adapt the UI to Sugarizer. Specifically, settings should be in a palette, not directly on the string. Plus the buttons in the toolbar should be selected/unselected instead of hidden. |
@llaske Thanks for the feedback. |
Yes I mean the sliders. |
Working on the suggestions. |
@llaske I am finding difficulties in moving the sliders to the toolbar palette. As the current sliders have been made using p5.js and these sliders are directly linked to the waveforms if I am making any changes to these, everything breaks. Could you provide me some documentation for sliders in sugarizer . I have tried to implement the working of sliders from different activities but it didn't work. |
@abhishektanwar sliders in Sugarizer is just HTML input with the type |
@llaske thanks for the help it worked. |
@ashish0910 @llaske removed console logs. Please review. |
@llaske @ashish0910 Waveform is plotted from the values of sliders (amplitude and frequency). Initially, the values of amplitude and frequency slider is 0(zero). As the sliders are moved, the corresponding waveform is plotted.
|
So do not start with a value of zero for amplitude and frequency and display the waveform at launch. |
thanks for the feedback. working on it. |
please review |
I think to maintain the working of activity similar to for all the browsers , activity can be started with pause state (the button which is being used to pause the graph) and then the user can start the activity by clicking on play button or we can proceed as you suggested earlier by tweaking the pause button for chrome browser. |
I'm not agree. The activity should start automatically. |
Okay then activity will start normally for all browsers . But for chrome ,activity will start with paused state . User will have to click play button. |
For Chrome, only when run from |
can you layout the steps you followed to run this activity from the beginning . It worked fine on my side @llaske |
Just cleaning the browser cache. Then launch a new instance of Measure. |
@llaske there was one error . Fixed it . Please review again. |
@llaske it is working fine on my side in file mode . |
Do you clear your browser cache? |
@llaske Yes, I have cleared all the cached files in the chrome browser. |
What can we do with this?What do you recommend?
Yes it can happen because according to previous discussions activity was designed to switch between time and frequency graphs only when the graph is in play mode (not in pause state). |
|
I have tweaked the activity for chrome a bit . Please review it again . Works fine on mine side(tested after clearing cache)
Fixed |
Still few issues:
|
Replaced by #709 |
Developed the Measure Activity in sugar for Sugarizer.