View previous topic :: View next topic |
Author |
Message |
supercow216 Regular Member
Joined: 02 Nov 2018 Posts: 60 Location: Finland
|
Posted: Fri Nov 02, 2018 3:47 pm Post subject: Android app: rest as much as you play |
|
|
Hi everyone,
This is my first post but I have been stalking the Herals for a while
I just began playing trumpet a year ago, and always thinking how to make sure we rest as much as we play, and not falling into playing a phrase in 2 minutes straight and end the practice in frustration.
A few days ago, I decide to make an app just for this. This will detect when we play (or do something loud), then trigger a timer set to the duration of the phrase we play. When the timer set off, the program will make a beep. Upon this, we can start another phrase!
It is in .apk format for now, for testing.
Link: https://drive.google.com/open?id=12PRTGR-8rdQMqa2aJNn_7EiYV0GBMQ-h
Updated: 23:00 7th Nov 2018 (GMT +2)
Improved timing and working with metronome.
Added color mode (green: ready, blue: playing, red: rest)
Tested with my Samsung J5 and Xiaomi 4.
TODO list for this app:
-Bypass audio compression (for proper volume detection)
-The rest time is now very close to the play time but not exactly equal (due to my inexperience with programming). I want it to be more accurate.
-Fix layout so that it can be used in many phones (different reso)
-Improve stability
Any contribution is welcome! _________________ Oink, oink.
I am still learning!
Last edited by supercow216 on Wed Nov 07, 2018 4:12 pm; edited 14 times in total |
|
Back to top |
|
|
Richard III Heavyweight Member
Joined: 22 May 2007 Posts: 2611 Location: Anacortes, WA
|
Posted: Fri Nov 02, 2018 4:34 pm Post subject: |
|
|
I don't see the need. I get tired. I take a break. Good for you for making something. Maybe there are people out there who will use it. I think they spend too much time worrying about stuff, but I'm not politically correct. _________________ Richard
Conn 22B Trumpet
York Eminence Model 4028 Cornet
1903 Conn The Wonder Cornet |
|
Back to top |
|
|
supercow216 Regular Member
Joined: 02 Nov 2018 Posts: 60 Location: Finland
|
Posted: Fri Nov 02, 2018 7:24 pm Post subject: |
|
|
Richard III wrote: | I don't see the need. I get tired. I take a break. Good for you for making something. Maybe there are people out there who will use it. I think they spend too much time worrying about stuff, but I'm not politically correct. |
Well, not everyone needs it really, especially seasoned ones, who know well their own limit.
I use it often and wanna share. It is tailored very toward my practice, but who knows someone else find it interesting _________________ Oink, oink.
I am still learning! |
|
Back to top |
|
|
ironrabbit Regular Member
Joined: 24 Jun 2007 Posts: 19
|
Posted: Fri Nov 02, 2018 10:27 pm Post subject: |
|
|
I think this is a great idea! I downloaded it and had trouble getting it installed though. |
|
Back to top |
|
|
supercow216 Regular Member
Joined: 02 Nov 2018 Posts: 60 Location: Finland
|
Posted: Sat Nov 03, 2018 1:34 am Post subject: |
|
|
Hmm, this is actually a pain. I could not get the app to be uploaded properly due to Google blocking apk (you need to sign up to app store or sth like it). I will get back to you very soon
ironrabbit wrote: | I think this is a great idea! I downloaded it and had trouble getting it installed though. |
_________________ Oink, oink.
I am still learning! |
|
Back to top |
|
|
supercow216 Regular Member
Joined: 02 Nov 2018 Posts: 60 Location: Finland
|
Posted: Sat Nov 03, 2018 3:25 am Post subject: |
|
|
it works now for me
let me know if you have any trouble with installing. _________________ Oink, oink.
I am still learning! |
|
Back to top |
|
|
ironrabbit Regular Member
Joined: 24 Jun 2007 Posts: 19
|
Posted: Sat Nov 03, 2018 11:00 am Post subject: |
|
|
I got it to work. Thank you! |
|
Back to top |
|
|
Brad361 Heavyweight Member
Joined: 16 Dec 2007 Posts: 7080 Location: Houston, TX.
|
Posted: Sat Nov 03, 2018 12:20 pm Post subject: |
|
|
I guess it might be useful for some, but do we really need an app for this?
Maybe in 2018 we do.....š¤
Brad _________________ When asked if he always sounds great:
"I always try, but not always, because the horn is merciless, unpredictable and traitorous." - Arturo Sandoval |
|
Back to top |
|
|
atom_anderson Veteran Member
Joined: 20 Jan 2003 Posts: 408 Location: Aurora, Colorado
|
Posted: Sat Nov 03, 2018 3:53 pm Post subject: |
|
|
I played around with this today doing some Clark exercises. It was really helpful! I would recommend that when the user chooses start that the screen stays on and doesn't go to sleep. When the user selects start, add the following code in your activity, in the click listener:
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
When the user selects stop call this:
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
Erik |
|
Back to top |
|
|
supercow216 Regular Member
Joined: 02 Nov 2018 Posts: 60 Location: Finland
|
Posted: Sat Nov 03, 2018 6:07 pm Post subject: |
|
|
Brad361 wrote: | I guess it might be useful for some, but do we really need an app for this?
Maybe in 2018 we do.....š¤
Brad |
Nah, some ppl find it helpful, some dont. I can definitely see an app with 10 features will eventually become distractive, just like running apps todays.
But hei, it's 2018, I learnt to code _________________ Oink, oink.
I am still learning! |
|
Back to top |
|
|
supercow216 Regular Member
Joined: 02 Nov 2018 Posts: 60 Location: Finland
|
Posted: Sat Nov 03, 2018 6:09 pm Post subject: |
|
|
atom_anderson wrote: | I played around with this today doing some Clark exercises. It was really helpful! I would recommend that when the user chooses start that the screen stays on and doesn't go to sleep. When the user selects start, add the following code in your activity, in the click listener:
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
When the user selects stop call this:
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
Erik |
Thank you I will implement it as an option in settings. I usually let the screen off and listen to the beep, instead of fixing on the timer.
UPDATE: implemented!!! _________________ Oink, oink.
I am still learning! |
|
Back to top |
|
|
ironrabbit Regular Member
Joined: 24 Jun 2007 Posts: 19
|
Posted: Sun Nov 04, 2018 8:39 pm Post subject: |
|
|
On my Android phone, phase one is significantly longer than phase two. |
|
Back to top |
|
|
CJceltics33 Veteran Member
Joined: 24 Aug 2017 Posts: 475
|
Posted: Mon Nov 05, 2018 3:48 am Post subject: |
|
|
It should include a total timer so we can see how much we practice on a given day. And if you want to get fancy, you can keep track of the days.
But I like the idea! Thanks for putting this out to us. But Iām on iPhone |
|
Back to top |
|
|
supercow216 Regular Member
Joined: 02 Nov 2018 Posts: 60 Location: Finland
|
Posted: Mon Nov 05, 2018 8:12 am Post subject: |
|
|
ironrabbit wrote: | On my Android phone, phase one is significantly longer than phase two. |
Ah, what was the name of the apk you download? Can you download the latest link (beyond v6 I think, I uploaded it yesterday) _________________ Oink, oink.
I am still learning! |
|
Back to top |
|
|
supercow216 Regular Member
Joined: 02 Nov 2018 Posts: 60 Location: Finland
|
Posted: Mon Nov 05, 2018 8:17 am Post subject: |
|
|
CJceltics33 wrote: | It should include a total timer so we can see how much we practice on a given day. And if you want to get fancy, you can keep track of the days.
But I like the idea! Thanks for putting this out to us. But Iām on iPhone |
Ah, fancy is exactly what I want to avoid the idea is it is just another practice tool like the metronome, something non-intrusive.
But I like the idea of total practice time, one told me you play for 30 mins, you rest for 30 mins too
Sorry, I dont have a MAC to make one for iPhone, but I can share the code for anyone interested. _________________ Oink, oink.
I am still learning! |
|
Back to top |
|
|
Rod Haney Heavyweight Member
Joined: 22 Aug 2015 Posts: 937
|
Posted: Mon Nov 05, 2018 5:01 pm Post subject: |
|
|
Brad361 wrote: | I guess it might be useful for some, but do we really need an app for this?
Maybe in 2018 we do.....š¤
Brad |
Not so much on exercises, but sometimes I wear headphones and wail away with an album and get carried away, or keep skipping back to get some part down, and then I can blow myself out, it needs a loud alarm!
Rod
I wear headph |
|
Back to top |
|
|
roynj Heavyweight Member
Joined: 19 Oct 2002 Posts: 2065
|
Posted: Mon Nov 12, 2018 6:43 am Post subject: |
|
|
When practicing etudes, such as Clarke second study, I found years ago that it was helpful to count out a rest between phrases that was about the same number of beats used to play it. Helpful because something happens during that small rest period, especially during a warmup. This was a little suggestion from a very well known teacher who pointed out that there was a fermata over the double bar at the end of each line, which was intended to tell the player to take just a mini rest after playing each phrase. I tried it, but not believing that it would be all that helpful. To my surprise, this almost "nothing" suggestion did facilitate playing of the entire set of etudes with better mouthpiece feel, sound, focus, and much less fatigue. I think the fingers benefitted as well. I don't think I need an app to count 16 beats, however. Just sharing my personal experience regarding the benefits of taking small rests during your practice session. I found the same benefits in practicing Schlossberg and Caruso studies as well. |
|
Back to top |
|
|
|