halsulaiman / kraigsandroid

Automatically exported from code.google.com/p/kraigsandroid
0 stars 0 forks source link

Silent portion of an alarm tone suppressed #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I feel that an alarm tone which restarts promptly results in an insistent, even 
irritating feeling.
In order with cope with that I edited the midi file with my choice short tune, 
just introducing silence on its end.
Noted however that the app suppressed the silent portions, which became upon 
hearing the same as before.

Request:
Either to add the option of introducing an adjustable pause between repeats
or to allow tthe file to be played from beginning to end.

Original issue reported on code.google.com by pastr...@gmail.com on 25 Aug 2010 at 2:01

GoogleCodeExporter commented 9 years ago
This application uses the built-in android media player library 
(http://developer.android.com/reference/android/media/MediaPlayer.html).  It 
simply gives the media player a file name and sets it to repeat.  It does not 
have the capability of augmenting the sound file in anyway.

I'm not sure why your edited version of a midi file would not work.  However, 
there do seem to be a lot of bugs open for the media player library concerning 
midi files.  They don't seem to be supported very well.  Have you tried 
converting your file to a wav or mp3 file?  They seem to work better with this 
media player.

Original comment by kraigs.a...@gmail.com on 25 Aug 2010 at 1:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Can you attach the file that you're having trouble with?

Original comment by kraigs.a...@gmail.com on 26 Aug 2010 at 12:05

GoogleCodeExporter commented 9 years ago
I've deleted my former comment, since the MP3 file is played as it should.

Don't know why a ringtone other than the selected one was played earlier (my 
error, probably); repeated test a number of times and it's OK. Sorry if this 
diverted you.

Original comment by pastr...@gmail.com on 27 Aug 2010 at 1:51

GoogleCodeExporter commented 9 years ago

Original comment by kraigs.a...@gmail.com on 27 Aug 2010 at 5:57