Re: Information about linux drivers for voice in neofreerunner........

2012-01-22 Thread Arslan Abbasi
I haven't got any clue about software access of FR's MCU's sound port i.e,
IIS port. Please provide me with help regarding this.

Thanks!

On Thu, Jan 19, 2012 at 1:23 PM, Thomas Zimmermann  wrote:

> On Wednesday, January 18, 2012 18:19:41 Arslan Abbasi wrote:
> > Simple recording and playback of recorded sounds can be done but, can
> > anyone give me some clue if it has enough
> > processing power to do real time voice processing and transmitting
> > processed voice at the same time. And please, if anybody has any code
> > related to voice manipulations on this phone or in particular real time
> > voice processing while transmitting through gsm, share it. It'll be very
> > nice of you.
> >
> > @Dave... Encrypting gsm is legal in our country, and as far as i think
> > encryption shouldn't be illegal coz voice/data is your private property
> so
> > protecting it further shouldn't be a problem with anybody as long as it
> > doesn't affects their systems.
>
> What I've found in the archive is this thread:
> http://lists.openmoko.org/pipermail/community/2007-February/002878.html
> But it's not the thread I remember, i think there was somone who did it for
> real as a bachlor thesis or sth like this...
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Information about linux drivers for voice in neofreerunner........

2012-01-19 Thread Thomas Zimmermann
On Wednesday, January 18, 2012 18:19:41 Arslan Abbasi wrote:
> Simple recording and playback of recorded sounds can be done but, can
> anyone give me some clue if it has enough
> processing power to do real time voice processing and transmitting
> processed voice at the same time. And please, if anybody has any code
> related to voice manipulations on this phone or in particular real time
> voice processing while transmitting through gsm, share it. It'll be very
> nice of you.
> 
> @Dave... Encrypting gsm is legal in our country, and as far as i think
> encryption shouldn't be illegal coz voice/data is your private property so
> protecting it further shouldn't be a problem with anybody as long as it
> doesn't affects their systems.

What I've found in the archive is this thread: 
http://lists.openmoko.org/pipermail/community/2007-February/002878.html
But it's not the thread I remember, i think there was somone who did it for 
real as a bachlor thesis or sth like this...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Information about linux drivers for voice in neofreerunner........

2012-01-18 Thread Timo Juhani Lindfors
Arslan Abbasi  writes:
> Simple recording and playback of recorded sounds can be done but, can
> anyone give me some clue if it has enough
> processing power to do real time voice processing and transmitting

I hit alsa issues:

#2330 recording from usb headset and playing back audio at the same time prints 
"frame 0 active: -18"

http://docs.openmoko.org/trac/ticket//2330

http://lindi.iki.fi/lindi/openmoko/tickets/2330

Opened [21]18 months ago

recording from usb headset and playing back audio at the same time prints "frame
0 active: -18"

   Reported by:lindi   Owned by:   openmoko-kernel
Priority:  normal  Milestone:
Component: kernel   Version:   unspecified
Severity:  normal  Keywords:
   Cc: HasPatchForReview:  no
   Blocked By:Estimated Completion (week):
PatchReviewResult: Blocking:
  Reproducible:always

  Description

Steps to reproduce:
0) connect usb headset to openmoko
1) alsactl restore -f stereoout.state
2) cat /dev/zero | aplay -D hw:0,0 -t raw -r 8000 -f S16_LE -c 2
3) arecord -D hw:1 -t raw -r 48000 -f S16_LE -c 1 > /dev/null
4) Try to run both at the same time

Expected results:
2) audio is played with speaker
3) audio is recorded from usb headset
4) audio is played with speaker and recorded from usb headset

Actual results:
2) seems to work:

Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo

and vmstat shows almost no load:

procs ---memory-- ---swap-- -io -system-- cpu
 r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy id wa
 0  0108  12952  10016  5746800 0 0  326  244  0  1 99  0
 0  0108  13584  10016  5746800 0 0  323  258  0  1 99  0
 0  0108  13200  10016  5746800 0 0  344  283  0  2 98  0
 0  0108  13172  10024  5746800 0 2  313  253  2  2 95  1
 0  0108  13172  10032  5746800 0 2  311  234  0  0 98  2
 0  0108  13172  10032  5746800 0 0  310  229  0  1 99  0
 0  0108  13172  10032  5746800 0 0  319  237  0  1 99  0
 0  0108  13172  10032  5746800 0 0  348  242  0  1 99  0
 0  0108  13172  10032  5746800 0 0  311  238  0  1 99  0

3) seems to work

Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate
48000 Hz, Mono

and vmstat again shows almost no load:

procs ---memory-- ---swap-- -io -system-- cpu
 r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy id wa

 0  1108  14148  10084  5747200 0 2 2306  238  0  0 97  3
 0  0108  14120  10084  5747200 0 0 2307  249  2  2 95  2
 0  0108  14120  10092  5747200 0 2 2305  246  0  0 98  1
 0  0108  14120  10092  5747200 0 0 2311  242  0  0 100  0
 0  0108  14120  10092  5747200 0 0 2308  244  0  0 99  0
 0  0108  14120  10092  5747200 0 0 2304  240  0  0 100  0

4) causes aplay to print

underrun!!! (at least 5.185 ms long)
underrun!!! (at least 0.015 ms long)
underrun!!! (at least 3.817 ms long)
underrun!!! (at least 1.094 ms long)
underrun!!! (at least 9.648 ms long)
underrun!!! (at least 0.540 ms long)
underrun!!! (at least 0.700 ms long)
underrun!!! (at least 5.194 ms long)
underrun!!! (at least 0.013 ms long)
underrun!!! (at least 0.014 ms long)
underrun!!! (at least 0.715 ms long)
underrun!!! (at least 2.273 ms long)
underrun!!! (at least 7.920 ms long)
underrun!!! (at least 3.670 ms long)
underrun!!! (at least 0.069 ms long)

and kernel to print

[16892.715000] frame 0 active: -18
[16892.725000] frame 0 active: -18
[16892.725000] frame 0 active: -18
[16892.725000] frame 0 active: -18
[16892.725000] frame 0 active: -18
[16892.725000] frame 0 active: -114
[16892.725000] frame 0 active: -18
[16892.725000] frame 0 active: -18
[16892.73] frame 0 active: -18
[16892.73] frame 0 active: -114
[16892.73] frame 0 active: -18
[16892.73] frame 0 active: -18
[16892.73] frame 0 active: -18
[16892.73] frame 0 active: -18
[16892.73] frame 0 active: -18
[16892.735000] frame 0 active: -18
[16892.735000] frame 0 active: -18
[16892.735000] frame 0 active: -18
[16892.735000] frame 0 active: -18
[16892.735000] frame 0 active: -18
[16892.735000] frame 0 active: -114
[16892.735000] frame 0 active: -18
[16892.74] frame 0 active: -18
[16892.74] frame 0 active: -18
[16892.74] frame 0 active: -114
[16892.74] frame 0 active: -18
[16892.74] frame 0 active: -18
[16892.74] frame 0 active: -18
[16892.74] frame 0 active: -18
[16892.745000] frame 0 active: -18
[16892.745000] frame 0 active: -18
[16892.745000] frame 0 active: -18
[16892.745000] frame 0 active: -18
[16892.745000] frame 0 active: -18
[16892.745000] frame 0 active: -18
[16892.745

Re: Information about linux drivers for voice in neofreerunner........

2012-01-18 Thread Ed Kapitein
Hi Arslan,

A while ago i tried to write a software modem to communicate between 2
freerunners.
One of the things that went wrong was a 90 degree phase shift in the
audio signal.
So when you write audio software, please keep in mind that it might get
phase shiffted.

Kind regards,
Ed

On 01/18/2012 06:19 PM, Arslan Abbasi wrote:
> Simple recording and playback of recorded sounds can be done but, can
> anyone give me some clue if it has enough
> processing power to do real time voice processing and transmitting
> processed voice at the same time. And please, if anybody has any code
> related to voice manipulations on this phone or in particular real
> time voice processing while transmitting through gsm, share it. It'll
> be very nice of you.
>
> @Dave... Encrypting gsm is legal in our country, and as far as i think
> encryption shouldn't be illegal coz voice/data is your private
> property so protecting it further shouldn't be a problem with anybody
> as long as it doesn't affects their systems.
>
> On Wed, Jan 18, 2012 at 7:28 PM, Dave  > wrote:
>
> Hi,
>
> I don't know the laws of your country, however, encrypting GSM
> might be illegal.
>
> Dave
>
>
> On Wed, Jan 18, 2012 at 9:28 PM, Thomas Zimmermann
> mailto:m...@vdm-design.de>> wrote:
>
> On Wednesday, January 18, 2012 08:56:45 Radek Polak wrote:
> > On Wednesday 18 January 2012 07:16:06 Arslan Abbasi wrote:
> > > The Inter IC sound pins interfaced with the audio codec.
> > > I need help regarding any sound manipulation on this
> platform, if any
> > > code is available.
> >
> > IIRC there was a program which recorded phone call if this
> is what you
> > need. I dont know how it's done on GTA02 but on GTA04 phone
> modem is just
> > another sound card which can be used by alsa programs. E.g.
> you can play
> > mp3 instead of speaking.
> >
> > Regards
> >
> > Radek
>
> There was already somebody who developed a program to do
> encrypted GSM calls
> with two FR. But i don't remeber who it was.
>
> But one should find something in the archive of this mailinglist.
>
> Regards,
> Thomas
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org 
> http://lists.openmoko.org/mailman/listinfo/community
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org 
> http://lists.openmoko.org/mailman/listinfo/community
>
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Information about linux drivers for voice in neofreerunner........

2012-01-18 Thread Arslan Abbasi
Simple recording and playback of recorded sounds can be done but, can
anyone give me some clue if it has enough
processing power to do real time voice processing and transmitting
processed voice at the same time. And please, if anybody has any code
related to voice manipulations on this phone or in particular real time
voice processing while transmitting through gsm, share it. It'll be very
nice of you.

@Dave... Encrypting gsm is legal in our country, and as far as i think
encryption shouldn't be illegal coz voice/data is your private property so
protecting it further shouldn't be a problem with anybody as long as it
doesn't affects their systems.

On Wed, Jan 18, 2012 at 7:28 PM, Dave  wrote:

> Hi,
>
> I don't know the laws of your country, however, encrypting GSM might be
> illegal.
>
> Dave
>
>
> On Wed, Jan 18, 2012 at 9:28 PM, Thomas Zimmermann wrote:
>
>> On Wednesday, January 18, 2012 08:56:45 Radek Polak wrote:
>> > On Wednesday 18 January 2012 07:16:06 Arslan Abbasi wrote:
>> > > The Inter IC sound pins interfaced with the audio codec.
>> > > I need help regarding any sound manipulation on this platform, if any
>> > > code is available.
>> >
>> > IIRC there was a program which recorded phone call if this is what you
>> > need. I dont know how it's done on GTA02 but on GTA04 phone modem is
>> just
>> > another sound card which can be used by alsa programs. E.g. you can play
>> > mp3 instead of speaking.
>> >
>> > Regards
>> >
>> > Radek
>>
>> There was already somebody who developed a program to do encrypted GSM
>> calls
>> with two FR. But i don't remeber who it was.
>>
>> But one should find something in the archive of this mailinglist.
>>
>> Regards,
>> Thomas
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Information about linux drivers for voice in neofreerunner........

2012-01-18 Thread Dave
Hi,

I don't know the laws of your country, however, encrypting GSM might be
illegal.

Dave

On Wed, Jan 18, 2012 at 9:28 PM, Thomas Zimmermann  wrote:

> On Wednesday, January 18, 2012 08:56:45 Radek Polak wrote:
> > On Wednesday 18 January 2012 07:16:06 Arslan Abbasi wrote:
> > > The Inter IC sound pins interfaced with the audio codec.
> > > I need help regarding any sound manipulation on this platform, if any
> > > code is available.
> >
> > IIRC there was a program which recorded phone call if this is what you
> > need. I dont know how it's done on GTA02 but on GTA04 phone modem is just
> > another sound card which can be used by alsa programs. E.g. you can play
> > mp3 instead of speaking.
> >
> > Regards
> >
> > Radek
>
> There was already somebody who developed a program to do encrypted GSM
> calls
> with two FR. But i don't remeber who it was.
>
> But one should find something in the archive of this mailinglist.
>
> Regards,
> Thomas
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Information about linux drivers for voice in neofreerunner........

2012-01-18 Thread Thomas Zimmermann
On Wednesday, January 18, 2012 08:56:45 Radek Polak wrote:
> On Wednesday 18 January 2012 07:16:06 Arslan Abbasi wrote:
> > The Inter IC sound pins interfaced with the audio codec.
> > I need help regarding any sound manipulation on this platform, if any
> > code is available.
> 
> IIRC there was a program which recorded phone call if this is what you
> need. I dont know how it's done on GTA02 but on GTA04 phone modem is just
> another sound card which can be used by alsa programs. E.g. you can play
> mp3 instead of speaking.
> 
> Regards
> 
> Radek

There was already somebody who developed a program to do encrypted GSM calls 
with two FR. But i don't remeber who it was.

But one should find something in the archive of this mailinglist.

Regards,
Thomas

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Information about linux drivers for voice in neofreerunner........

2012-01-17 Thread Radek Polak
On Wednesday 18 January 2012 07:16:06 Arslan Abbasi wrote:

> The Inter IC sound pins interfaced with the audio codec.
> I need help regarding any sound manipulation on this platform, if any code
> is available.

IIRC there was a program which recorded phone call if this is what you need. I 
dont know how it's done on GTA02 but on GTA04 phone modem is just another 
sound card which can be used by alsa programs. E.g. you can play mp3 instead 
of speaking.

Regards

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Information about linux drivers for voice in neofreerunner........

2012-01-17 Thread Arslan Abbasi
The Inter IC sound pins interfaced with the audio codec.
I need help regarding any sound manipulation on this platform, if any code
is available.

Thanks!

On Wed, Jan 18, 2012 at 10:25 AM, Timo Juhani Lindfors  wrote:

> Arslan Abbasi  writes:
> > accessing the IIS port of it's MCU. And can i get any direction about
> > how
>
> What's IIS port?
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Information about linux drivers for voice in neofreerunner........

2012-01-17 Thread Timo Juhani Lindfors
Arslan Abbasi  writes:
> accessing the IIS port of it's MCU. And can i get any direction about
> how

What's IIS port?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Information about linux drivers for voice in neofreerunner........

2012-01-17 Thread Arslan Abbasi
Hi,

I'm a development engineer at a firm and I'm working on a project of
encrypted voice communication using gsm. So, with the open functionality
provided by NeoFreeRunner, I opted for this phone. Currently i'm unable to
find any help related with real time voice processing and my target kinda
desires it.

I want to know if there are any embedded linux drivers available for
accessing the IIS port of it's MCU. And can i get any direction about how
to manipulate voice in it's application processor if there's any sample
code available.

Thanks & With Regards,
Arslan Mumtaz Abbasi.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community