Efficient storage and playback of speech

2010-04-03 Thread Alberto Mardegan

Hi all,
  I need to install on the device a few (I guess around 10-20) audio 
files with some seconds of speech each (it's for GPS navigation).
What file format do you suggest to use, considering that one requirement 
is that the audio is played almost immediately (the lag should be under 
1 second) when I request it to?


The 22Khz 16bit WAV from the sound recorder sound good, but they are a 
bit heavy, taking more than 100Kb for 3 seconds of speech.
I'm a bit concerned because I'll eventually ship translations for these 
audio files in different languages, so they might end up taking quite 
some space.


Ciao,
  Alberto

--
http://blog.mardy.it - geek in un lingua international!
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Efficient storage and playback of speech

2010-04-03 Thread Gibro Vacco
Hi,

in my opinion ogg/vorbis should be good enough, but it requires to install the 
extra codecs. If you prefer a proprietary solution mp3 is also quite good, and 
you can encode on your favourite linux distro withe lame.

I don't suggest to try esotheric experiments like g729 encapsulated in a 
container format.

Regards

- Messaggio originale -
 Hi all,
       I need to install on the device a few (I guess around 10-20) audio 
 files with some seconds of speech each (it's for GPS navigation).
 What file format do you suggest to use, considering that one requirement 
 is that the audio is played almost immediately (the lag should be under 
 1 second) when I request it to?
 
 The 22Khz 16bit WAV from the sound recorder sound good, but they are a 
 bit heavy, taking more than 100Kb for 3 seconds of speech.
 I'm a bit concerned because I'll eventually ship translations for these 
 audio files in different languages, so they might end up taking quite 
 some space.
 
 Ciao,
       Alberto
 
 -- 
 http://blog.mardy.it - geek in un lingua international!
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Routing SMS to another app.

2010-04-03 Thread Sukhbir Singh
Hi developers,

I was wondering whether there is any way I can divert SMS messages from the
Inbox to another app that I would be designing for this purpose. Like when a
SMS comes, I just need to delete it from the Inbox, extract the sender's
name and the message body and store it inside my app. Is there any way to do
this? I am potential GSoC student.

--
Sukhbir
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Routing SMS to another app.

2010-04-03 Thread kate.alhola


From: maemo-developers-boun...@maemo.org [maemo-developers-boun...@maemo.org] 
On Behalf Of ext Sukhbir Singh [singheinst...@gmail.com]
Sent: Saturday, April 03, 2010 2:32 PM
To: maemo-developers@maemo.org
Subject: Routing SMS to another app.

Hi developers,

I was wondering whether there is any way I can divert SMS messages from the 
Inbox to another app that I would be designing for this purpose. Like when a 
SMS comes, I just need to delete it from the Inbox, extract the sender's name 
and the message body and store it inside my app. Is there any way to do this? 
I am potential GSoC student.

Easiest way is to do this with QtMobility messaging API. There QMEssagestore, 
you can get signal of arriving SMS and then delete it.
QTmobility Messagign with Messge Store support will be there in next couple of 
weeks.

Kate

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Routing SMS to another app.

2010-04-03 Thread Sivan Greenberg
On Sat, Apr 3, 2010 at 2:00 PM,  kate.alh...@nokia.com wrote:


From: maemo-developers-boun...@maemo.org [maemo-developers-boun...@maemo.org] 
On Behalf Of ext Sukhbir Singh [singheinst...@gmail.com]
Sent: Saturday, April 03, 2010 2:32 PM
To: maemo-developers@maemo.org
Subject: Routing SMS to another app.

Hi developers,

I was wondering whether there is any way I can divert SMS messages from the 
Inbox to another app that I would be designing for this purpose. Like when a 
SMS comes, I just need to delete it from the Inbox, extract the sender's name 
and the message body and store it inside my app. Is there any way to do 
this? I am potential GSoC student.

 Easiest way is to do this with QtMobility messaging API. There QMEssagestore, 
 you can get signal of arriving SMS and then delete it.
 QTmobility Messagign with Messge Store support will be there in next couple 
 of weeks.

In the pymaemo or the pyside stack?

Sivan
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Routing SMS to another app.

2010-04-03 Thread Sukhbir Singh
Kate, can we use this to hijack voice calls also? Like the SMS thing you
mentioned, that before the message comes we can trap the signal. Does the
same hold for voice calls too?
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Routing SMS to another app.

2010-04-03 Thread Ville M. Vainio
  Easiest way is to do this with QtMobility messaging API. There 
  QMEssagestore,
  you can get signal of arriving SMS and then delete it. QTmobility Messagign
  with Messge Store support will be there in next couple of weeks.

 In the pymaemo or the pyside stack?

Mobility apis haven't been wrapped yet afaik. I don't doubt for a second that 
someone will step up to do it sooner or later, though

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Routing SMS to another app.

2010-04-03 Thread Sukhbir Singh


 Mobility apis haven't been wrapped yet afaik. I don't doubt for a second
 that someone will step up to do it sooner or later, though


Would it be ok if I mention this in my GSoC application? Most importantly,
would it be done tentatively by 24th May, i.e. when the development begins?
Cause if yes, then it would be awesome.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Routing SMS to another app.

2010-04-03 Thread Sukhbir Singh
By 'hijack', I mean that if a voice calls comes, my app can control its
state - that is reject it or accept it. Like a call comes, my app rejects it
and then makes a note about it. We are working on a call filtering app for
Maemo, I guess that should clear up everything.

On Sat, Apr 3, 2010 at 6:21 PM, kate.alh...@nokia.com wrote:


 
 From: ext Sukhbir Singh [singheinst...@gmail.com]
 Sent: Saturday, April 03, 2010 3:27 PM
 To: Alhola Kate (Nokia-FNDC/Helsinki)
 Cc: maemo-developers@maemo.org
 Subject: Re: Routing SMS to another app.
 
 Kate, can we use this to hijack voice calls also? Like the SMS thing you
 mentioned, that before the message comes we can trap the signal. Does the
 same hold for voice calls too?

 There is not yet voice call support in QtMobility but you can get signal of
 incoming voice call using libtpsession. It then depends what do you mean
 hijack.
 You can Catch SMS or Voice call singal but with these methods you can't
 prevent other applications like Messaging Ui or Phone UI getting also
 notification of incoming SMS or Call.

 Kate

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers