[toh sdk] document sound guidelines

asked 2015-03-18 12:54:18 +0300

mikelima gravatar image

updated 2015-03-18 14:09:43 +0300

Jare gravatar image

I have started packaging my own ambiences, using the toh sdk (even if I do not plan on creating my own TOH, it is convenient to have it packaged, plus, sounds do not show up in the media player) and I have found that there are limits on which sounds I can use: - Sounds shorter than 2-3 seconds are not played - alarm tone cannot be longer than something between 30-60 seconds - ring tone probably needs to be shorter than 30 seconds

It would be nice these requirements be documented in the SDK, and maybe they should be updated when the specifications change.

edit retag flag offensive close delete

Comments

The main problem with some sounds not being played is usually down to low bitrate of the given audio file. This has been a problem for many users who are just wanting apply their own sounds in general.

Short or long tones will play if the bitrate is correct, otherwise they fail. See this post; https://together.jolla.com/question/30533/mediaplayer-fails-with-low-samplerates/

I have made a few Ambience packages which are found on Openrepos. I made them on the device rather than using any SDK.

You may also find some helpful hints here;

http://talk.maemo.org/showthread.php?t=92963&highlight=packaging+RPM

I realise your are using the SDK but many principles remain the same. This is a good guide written by Schturman and it certainly did help me produce my own ambience packages.

Regards,

Spam Hunter ( 2015-03-18 13:06:16 +0300 )edit

@Markkyboy, packaging on the phone is doable, but so would be using rpmbuild directly on the pc, I guess. I have the sdk installed for other project and it is convenient.

I was referring specifically to the "toh-sdk", since there is an example packaging for a template ambience, but packaging my own sounds I have found that some work, and others do not.

For example, I expected I could use a long playing mp3 for the alarm tone... but it gets truncated abruptly after some time. Knowing this, I would have added a fadeout at some point.

The other problem I found is that "beep" sounds have a minimum length to be played at all. So putting a notice on the minimum/maximum length for each sound category would be helpful.

mikelima ( 2015-03-18 13:29:58 +0300 )edit

Support for non-binary packages, like the ambiance packages, is going to be a part of the sdk in the future. And there will be some supporting documentation for them. Unfortunately I can't give any kind of timeline for this right now.

Jare ( 2015-03-18 14:09:36 +0300 )edit