• FAQ  • Search  • Memberlist  • Usergroups   • Register   • Profile  • Log in to check your private messages  • Log in 

Android app: rest as much as you play



 
Post new topic   Reply to topic    trumpetherald.com Forum Index -> Pedagogy
View previous topic :: View next topic  
Author Message
supercow216
New Member


Joined: 02 Nov 2018
Posts: 8
Location: France

PostPosted: Fri Nov 02, 2018 3:47 pm    Post subject: Android app: rest as much as you play Reply with quote

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
View user's profile Send private message
Richard III
Heavyweight Member


Joined: 22 May 2007
Posts: 1586
Location: Amador County, CA

PostPosted: Fri Nov 02, 2018 4:34 pm    Post subject: Reply with quote

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

Reynolds Contempora French Horn
The Clevelander Cornet
Back to top
View user's profile Send private message Send e-mail
supercow216
New Member


Joined: 02 Nov 2018
Posts: 8
Location: France

PostPosted: Fri Nov 02, 2018 7:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
ironrabbit
New Member


Joined: 24 Jun 2007
Posts: 4
Location: Olympia, WA

PostPosted: Fri Nov 02, 2018 10:27 pm    Post subject: Reply with quote

I think this is a great idea! I downloaded it and had trouble getting it installed though.
Back to top
View user's profile Send private message
supercow216
New Member


Joined: 02 Nov 2018
Posts: 8
Location: France

PostPosted: Sat Nov 03, 2018 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message
supercow216
New Member


Joined: 02 Nov 2018
Posts: 8
Location: France

PostPosted: Sat Nov 03, 2018 3:25 am    Post subject: Reply with quote

it works now for me
let me know if you have any trouble with installing.
_________________
Oink, oink.

I am still learning!
Back to top
View user's profile Send private message
ironrabbit
New Member


Joined: 24 Jun 2007
Posts: 4
Location: Olympia, WA

PostPosted: Sat Nov 03, 2018 11:00 am    Post subject: Reply with quote

I got it to work. Thank you!
Back to top
View user's profile Send private message
Brad361
Heavyweight Member


Joined: 16 Dec 2007
Posts: 5493
Location: Houston, TX.

PostPosted: Sat Nov 03, 2018 12:20 pm    Post subject: Reply with quote

I guess it might be useful for some, but do we really need an app for this?
Maybe in 2018 we do.....šŸ¤”

Brad
_________________
"I always try but, not always, because the horn is mercy-less, unpredictable and traitorous." - Arturo Sandoval
Back to top
View user's profile Send private message Send e-mail
atom_anderson
Veteran Member


Joined: 20 Jan 2003
Posts: 397
Location: Aurora, Colorado

PostPosted: Sat Nov 03, 2018 3:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
supercow216
New Member


Joined: 02 Nov 2018
Posts: 8
Location: France

PostPosted: Sat Nov 03, 2018 6:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
supercow216
New Member


Joined: 02 Nov 2018
Posts: 8
Location: France

PostPosted: Sat Nov 03, 2018 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
ironrabbit
New Member


Joined: 24 Jun 2007
Posts: 4
Location: Olympia, WA

PostPosted: Sun Nov 04, 2018 8:39 pm    Post subject: Reply with quote

On my Android phone, phase one is significantly longer than phase two.
Back to top
View user's profile Send private message
CJceltics33
Veteran Member


Joined: 24 Aug 2017
Posts: 234
Location: Maryland

PostPosted: Mon Nov 05, 2018 3:48 am    Post subject: Reply with quote

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
View user's profile Send private message
supercow216
New Member


Joined: 02 Nov 2018
Posts: 8
Location: France

PostPosted: Mon Nov 05, 2018 8:12 am    Post subject: Reply with quote

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
View user's profile Send private message
supercow216
New Member


Joined: 02 Nov 2018
Posts: 8
Location: France

PostPosted: Mon Nov 05, 2018 8:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Rod Haney
Heavyweight Member


Joined: 22 Aug 2015
Posts: 566

PostPosted: Mon Nov 05, 2018 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
roynj
Heavyweight Member


Joined: 19 Oct 2002
Posts: 2058

PostPosted: Mon Nov 12, 2018 6:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    trumpetherald.com Forum Index -> Pedagogy All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group