Voice alerts test build

More
22 Mar 2017 20:53 #60576 by pulpfiction15
Replied by pulpfiction15 on topic Voice alerts test build
Good news,

Finaly got it working :P

I used the library file from Marlacus (tanks for that) and used 'Dfuse USB upgrade tools 2.31' and now I have again the voices on my Dev 12.

Thanks to all for your patience. ;)

Please Log in or Create an account to join the conversation.

More
22 Mar 2017 21:44 #60580 by Moeder
Replied by Moeder on topic Voice alerts test build
I will move Volume initialization from splash_page to model.c, it makes more sense there anyways.

FDR wrote: the proper volume setting on startup sometime...

Please Log in or Create an account to join the conversation.

More
22 Mar 2017 21:51 #60581 by Morlacus
Replied by Morlacus on topic Voice alerts test build

pulpfiction15 wrote: Good news,

Finaly got it working :P

You are more advanced now than I. As I have no sound...
Are you using a devo 12s or a devo 12e ?

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 04:09 #60586 by magic_marty
Replied by magic_marty on topic Voice alerts test build

pulpfiction15 wrote: @moeder;

When the voice.ini (music.map) was in the root it worked nicely on my 12s.
With voice.ini moved to the media folder i am strugling, to get it working :S


Agreed ...Much easier to have the voice.ini in the root to make things simple..I have stopped testing due to the fact i can't get it working on my Devo12 :( Hopefully things will get easier once everything is worked out till then i just follow the thread and see what happens..

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 09:22 - 23 Mar 2017 09:25 #60590 by Morlacus
Replied by Morlacus on topic Voice alerts test build
No way to have any sound on my devo 12s. All works well but no sound....:( Any idea ?

A remark about presentation.on the TX config screen. The titles and underlining are not correctly displayed (Same for devo 8s)

Attachments:
Last edit: 23 Mar 2017 09:25 by Morlacus.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 09:40 - 23 Mar 2017 09:45 #60591 by FDR
Replied by FDR on topic Voice alerts test build
There might be some inconsistences between the test build and the config.ini, because it should look like this:


I guess your config.ini is out of date...

EDIT: I've just tried, that the underline option indeed doesn't work well when the section label is center aligned...
Attachments:
Last edit: 23 Mar 2017 09:45 by FDR.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 10:21 #60592 by pulpfiction15
Replied by pulpfiction15 on topic Voice alerts test build
@Morlacus,

I have a Devo12S.

What I did is ;
1. Uploaded the voice build
2 Changed the hardware.ini and added the entry 'voice=dfplayer'
3. in /media added the voice.ini and made the library dfu and uploaded that with 'Dfuse USB upgrade tools'
4. added the mp3 folder to the micro sd card of the dfplayer (a mistake I made was to put the mp3 files as root on the sd card, that didn't work!)

now I figured out it is not that complicated. Hope you will manage also.;)

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 13:05 #60605 by Morlacus
Replied by Morlacus on topic Voice alerts test build
Thanks Pulpfiction15

That's all what I did. I also tested my ppm port by using it in training. That works. Formated the usb drive, reinstalled all.
But impossible to have a sound from the box.

Anybody, please What to test now ?

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 13:14 #60608 by Moeder
Replied by Moeder on topic Voice alerts test build
Morlacus, I will make you a dev build with debug messages. Anything else modified in the tx? Do you have a logic analyzer or a serial to USB converter available?

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 13:43 #60612 by Morlacus
Replied by Morlacus on topic Voice alerts test build
Thanks for your help
Nothing modified in the tx. Unfortunately I have neither logic analyzer nor serial to usb converter.
May be I could buy a serial to usb converter but please give me a link for this device and what to do with

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 13:46 #60613 by FDR
Replied by FDR on topic Voice alerts test build
@Moeder
I would say merge it to the trunk.
We (actually you :P ) can polish it later...

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 17:26 #60630 by magic_marty
Replied by magic_marty on topic Voice alerts test build
Kind of got it working but my background is all Black and i can't see the menu selections until i high light them ..How do i get the background back to the Blue color it was before?

Also why is there no detailed instructions on how to use the MKdevo tool? It would really help if there was..

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 17:32 #60631 by Morlacus
Replied by Morlacus on topic Voice alerts test build
For magic_marty
You have probably to rename the file devo12.bmp in backgrnd.bmp in the media directory before making our lib.dfu

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 19:15 #60634 by Moeder
Replied by Moeder on topic Voice alerts test build
Your choice. I thought we had the two approval rule back in the days B)
I admit there is some polishing to do. Did you check if all beeps work when voice is not defined or a ppm mode activated?

FDR wrote: @Moeder
I would say merge it to the trunk.
We (actually you :P ) can polish it later...

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 21:36 #60647 by magic_marty
Replied by magic_marty on topic Voice alerts test build

Morlacus wrote: For magic_marty
You have probably to rename the file devo12.bmp in backgrnd.bmp in the media directory before making our lib.dfu

Tried that and still all my background is black. I must be doing something wrong with it still

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 21:45 #60648 by victzh
Replied by victzh on topic Voice alerts test build
I'd say we wait for couple more approvals. This pull request is so extensive - I'd like to take a detailed look. It touches so many things - 88 files, so it's better be on the safe side.

But conceptually FDR is right - too large a change is not good, it's better to merge what you have so that further changes would be smaller and more manageable.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 21:57 - 23 Mar 2017 21:57 #60650 by Morlacus
Replied by Morlacus on topic Voice alerts test build

magic_marty wrote: Tried that and still all my background is black. I must be doing something wrong with it still


For a devo 12s you can also try the lib.dfu I posted page 22 which worked for pulpfiction15
Last edit: 23 Mar 2017 21:57 by Morlacus.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 22:15 - 23 Mar 2017 22:16 #60651 by FDR
Replied by FDR on topic Voice alerts test build

Moeder wrote: Your choice. I thought we had the two approval rule back in the days B)

We are too few for that.
As far as I see even most of us only care about the things which fall into his interest/expertise, so don't expect too many people will approve it, especially that it has too many files to look into.

Moeder wrote: Did you check if all beeps work when voice is not defined or a ppm mode activated?

Not yet, but I promise I will.
However that's not essential, and there is nothing we won't be able to correct.

victzh wrote: I'd say we wait for couple more approvals. This pull request is so extensive - I'd like to take a detailed look. It touches so many things - 88 files, so it's better be on the safe side.

Yep, we missed you and also Hexfet, but I say it would be easier to test and contribute if it was in the trunk.
BTW while it affects a lot of files, it doesn't touch any substantial working part, but mostly the GUI and the feedback.

But of course take your time if you want, I would be more than happy if someone with much more knowledge then me would approve it.
I'm just brave enough, because I've tried the test build, and I think it is basically a working solution, which really only needs polishing.
Last edit: 23 Mar 2017 22:16 by FDR. Reason: typos

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 22:27 #60654 by victzh
Replied by victzh on topic Voice alerts test build
@FDR if you need my email - I can tell you, just in case ;-)

The majority of changes are in #ifdefs, so it should be easy to turn it off in case of something going out of hand with this code. I will look through the changes anyways.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 22:59 - 23 Mar 2017 23:24 #60655 by magic_marty
Replied by magic_marty on topic Voice alerts test build

Morlacus wrote:

magic_marty wrote: Tried that and still all my background is black. I must be doing something wrong with it still


For a devo 12s you can also try the lib.dfu I posted page 22 which worked for pulpfiction15

That's the one i am using I think...
I will redownload it tonight and give it another try ..
Last edit: 23 Mar 2017 23:24 by magic_marty. Reason: Confused

Please Log in or Create an account to join the conversation.

Time to create page: 0.175 seconds
Powered by Kunena Forum