I am honored to work with Banshee and have learn a lot from you guys, I have read all the mails since I started working for Banshee and tracking the progress of Banshee. Unfortunately I was not able to engage in bug fixing due to the work load. I have learn so many thing being a member of the Banshee community especially from my mentor Alexander and I’m thank full for proper guiding by David ,Bertrand , Phil , Olivier and Andres. As this year's GSoC project has ended, here I present a short summary of this project for your info.
My project proposal was to add voice control mechanism to the basic functions of the Banshee media player. So added the speech recognition packages pocketsphinx which is developed in Java. To call to pocketsphinx I had to use the GStreamer and I had to develop little C code also. It was very challenging to me. Still all the GStreamer C# bindings were not completed so I had to develop the C code. Then I implemented the C# code to invoke the C code to get the output. Everything was new to me and I have spent lot of time to understand and develop the code I have committed in the repo.
When I installed the extension in my environment the basic functions like “PLAY”, “PAUSE” and “STOP” worked very well. I can easily implement the other basic functions also. But when I tried testing it I got the above mentioned issue.
I was spending much time trying to fix the bug above mentioned. But it was not resolved.
I tried these options to overcome it.
It also might be that an exception is being thrown in the managed (C#) callback that's being invoked by C code. When managed exceptions propagate up the stack, they cannot pass though C frames, and causecrashes. I put a try/catch inside the lambdas that passing to the C code.
But I got the same scenarios of crashing Banshee unexpectedly.
It looks like Mono can't use the native debugger (gdb) to backtrace the process when it crashes because it doesn't have permissions to attach.
It was very challenging to manage all the work during the academic times.
It seems that Alex and the community has decided my progress is not good enough to pass the final evaluation. Though I would like to continue work on my extension. Your comments and suggestions will so much valuable.
my extension code is in a separate branch of the community extension repositorySorry for not mentioning itThanks.!!!On Sun, Aug 12, 2012 at 11:44 PM, Udesh Liyanaarachchi <la udesh1987 gmail com> wrote:
Hi Folks,I've added pocketsphinx for Banshee as a community extension.please install pocketsphinx and sphinxbase from http://cmusphinx.sourceforge.net/wiki/download/ and follow the steps inUnix-like Installation
To test installation, run pocketsphinx_continuous and check that it recognizes words you are saying to the microphone.if it is working correctly build the community extensions following http://banshee.fm/contribute/write-extensions/ .voicecontrol extension can play the selected track to the voice command "PLAY" and pause the track to the voice command "PAUSE" .There is a known bug as below.Stacktrace:Native stacktrace:banshee() [0x80e126c]banshee() [0x812046c]banshee() [0x805fe7d][0x4002040c][0x40e72d88]/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x1ac) [0x4169dc4c]Debug info from gdb:Could not attach to process. If your uid matches the uid of the targetprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or tryagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.confptrace: Operation not permitted.No threads.=================================================================Got a SIGSEGV while executing native code. This usually indicatesa fatal error in the mono runtime or one of the native librariesused by your application.=================================================================/bin/bash: line 3: 10805 Aborted banshee --uninstalled --debugmake: *** [run] Error 134The problem must be with the C code in the extension. I'm unable to figure it out.Please be kind to test this and let me know any suggestions to correct the code.The code is not cleaned as I'm testing it.Please be kind to suggest me a way to debug the code through mono IDE when developing a community extension.Thanks..!!
Cheers,Udesh
--On Tue, Jan 17, 2012 at 7:10 PM, gnomeuser gmail com <gnomeuser gmail com> wrote:
2012/1/17 olivier dufour <olivier duff gmail com>:
> Hi,I would generally be in favor, it would be a good accessibility
>
> Best is to ask on banshee mailing list.
feature. I know several people who would benefit from commanding
Banshee (and other apps) with their voice instead of their regular
input such as a chin joystick
> Olivier Dufour
>
>
> On Tue, Jan 17, 2012 at 7:37 AM, Udesh Liyanaarachchi
> <la udesh1987 gmail com> wrote:
>>
>> Thanks Olivier. What are the opinions of other contributors..?? Will it be
>> a good feature for banshee..?
>>
>>
>>
>> Udesh Liyanaarachchi
>>
>>
>>
>>
>> _______________________________________________
>> banshee-list mailing list
>> banshee-list gnome org
>> http://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here)
>
>
>
> _______________________________________________
> banshee-list mailing list
> banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here)
_______________________________________________
banshee-list mailing list
banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here)
Udesh LiyanaarachchiB.sc. Eng (Undergraduate)University Of Moratuwa
Department of Computer Science & Engineering
Sri Lanka.
--
Udesh LiyanaarachchiB.sc. Eng (Undergraduate)University Of Moratuwa
Department of Computer Science & Engineering
Sri Lanka.