Audio (voice) - Stock 9X PCB

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
User avatar
GTiDon
Posts: 177
Joined: Wed Mar 28, 2012 6:15 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by GTiDon »

jhsa wrote:What sound files are you using? it sounds like you don't have the "number files" where they sould be. Please try these ones. just copy all the sound files to your sound module's SD Card.. Backup yours first of course ;)

viewtopic.php?f=64&t=1290&p=18110#p18110


Also are you running the latest version of the er9x_FrSky firmware?

João
I am using the sounds on the first post of this page. Is that correct?
The sounds, "Minutes, seconds, volts". Etc play right away as if its starting to play over the number sounds..
Can any bad connection between the two boards pins create this behavior? The main reason I did this mod was for flight battery voltage and other telemetry data :(
How are the two sounds combined by the software? Should it play one sound then delay then the next, or does it queue them?
Er9X Flashed
Speaker Mod Done
Haptic Feedback Mod Done
Telemetry Mod Done with FRSky TTL Lite
Voice Mod Done with Emartee Board
HK Backlight Done
FRSky Telemetry DIY Module Installed
----All these mods removed and installed Sky 3.0 board with DJT Module.

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

did you download the attached file called "Sounds wav 16KHz 8 Bit.zip" ?? when did you download them? they have changed a while ago.. The numbers have changed.. Please download it again an replace the ones in your card..

I really think that your problerm are the wrong files, or an old version of them..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

The sounds are queued up, as the module goes 'not busy' the next sound is sent to it.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
GTiDon
Posts: 177
Joined: Wed Mar 28, 2012 6:15 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by GTiDon »

MikeB wrote:The sounds are queued up, as the module goes 'not busy' the next sound is sent to it.

Mike.
It seems mine is not queing. If I switch the gear up down fast it doesnt queue the sound.

I have downloaded the current file. Tried over and over

What can cause it not to queue?
Er9X Flashed
Speaker Mod Done
Haptic Feedback Mod Done
Telemetry Mod Done with FRSky TTL Lite
Voice Mod Done with Emartee Board
HK Backlight Done
FRSky Telemetry DIY Module Installed
----All these mods removed and installed Sky 3.0 board with DJT Module.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

If you didn't do it already, you could format the sd card (FAT/FAT16) and copy only the sound files into it..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

How fast is fast? I only check the (voice) switches every tenth of a second.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
bill516
Posts: 160
Joined: Fri Feb 24, 2012 6:31 pm
Country: -
Location: UK Sheffield City of Steel

Re: Audio (voice) - Stock 9X PCB

Post by bill516 »

I can flick my 3 pos switch straight from 1 to 3 in one go a lot less than a tenth of a second and it will play the posn 2 voice before posn 3 and back again it will play the 2posn voice then the 1posn voice.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

if we switch from ID0 to ID2 and vice-versa could the middle position be ignored? I mean, for me it is ok as it is but it would be nice if possible. and if the others agree with it, of course..

Joao
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
GTiDon
Posts: 177
Joined: Wed Mar 28, 2012 6:15 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by GTiDon »

MikeB wrote:How fast is fast? I only check the (voice) switches every tenth of a second.

Mike.
Not extremely fast, but just before the sound finnishes. It stops imediately and plays the new position file
Er9X Flashed
Speaker Mod Done
Haptic Feedback Mod Done
Telemetry Mod Done with FRSky TTL Lite
Voice Mod Done with Emartee Board
HK Backlight Done
FRSky Telemetry DIY Module Installed
----All these mods removed and installed Sky 3.0 board with DJT Module.
User avatar
GTiDon
Posts: 177
Joined: Wed Mar 28, 2012 6:15 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by GTiDon »

Is it possible that my Pin 13 - P06 - Has a connection fault? Could this cause no queing?
Er9X Flashed
Speaker Mod Done
Haptic Feedback Mod Done
Telemetry Mod Done with FRSky TTL Lite
Voice Mod Done with Emartee Board
HK Backlight Done
FRSky Telemetry DIY Module Installed
----All these mods removed and installed Sky 3.0 board with DJT Module.
User avatar
thomas9x
Posts: 230
Joined: Wed Feb 29, 2012 3:12 am
Country: -
Location: USA

Re: Audio (voice) - Stock 9X PCB

Post by thomas9x »

Is it possible that my Pin 13 - P06 - Has a connection fault? Could this cause no queing?
Yes, that is one of the symptoms of a problem with the Busy signal (P06). Check your circuit and review all connections to TR1, R1, R2, and R3. Also, use the TR1 transistor part number shown in the schematic (avoid substitution!).

- Thomas
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Huurraahh, my second sound module just arrived.. Let the fun begin :mrgreen: I hope it is the right one..

Now I just need the encoders and boards :D

Joao
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
bill516
Posts: 160
Joined: Fri Feb 24, 2012 6:31 pm
Country: -
Location: UK Sheffield City of Steel

Re: Audio (voice) - Stock 9X PCB

Post by bill516 »

Well cmon what markings has it got ?
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Here is a pic. The jumper is on the other side.. My first one has the jumper on the components side..

João
Attachments
260920122141.jpg
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
adagiohr41
Posts: 51
Joined: Thu Feb 02, 2012 3:28 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adagiohr41 »

Is there an easy way to test the emartee board on the bench without connecting it to the radio, providing you connect +3.3VDC, ground, speakers, etc? I'd hate to solder the connections in the transmitter and chance creating an additional problem without knowing if the board works.
Last edited by adagiohr41 on Wed Sep 26, 2012 8:14 pm, edited 1 time in total.
bill516
Posts: 160
Joined: Fri Feb 24, 2012 6:31 pm
Country: -
Location: UK Sheffield City of Steel

Re: Audio (voice) - Stock 9X PCB

Post by bill516 »

Joao, whats it got on the other side, the one that I have that works has 1_1, but both of them have the jumper on the component side.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

It has anything else but 2 jumpers.. the other little jumper connects where the board says 5mm.. I think they just decided to do a better job and place the jumpers where they should be..

Joao
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
bill516
Posts: 160
Joined: Fri Feb 24, 2012 6:31 pm
Country: -
Location: UK Sheffield City of Steel

Re: Audio (voice) - Stock 9X PCB

Post by bill516 »

They dont make things easy for us to identify this board do they. It must be as you said, make you buy the wrong one, then buy the right one.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

well, I made them confirm that they were sending the right one.. let's hope they did..
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

Hi guys, have anybody tryed to connect audio out to headphones? I was wondering to do it, but I guess that some amplier will be needed,right?
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

Hello, have anybody tryed made this mod for usage with headphones? I will need amplier, right?
Oliver
Posts: 177
Joined: Mon Jul 23, 2012 1:02 pm
Country: -
Location: SPb, Russia

Re: Audio (voice) - Stock 9X PCB

Post by Oliver »

MikeB wrote:So what we really need is a suitable Atmel chip programmed to talk to a SD card using SPI, and output PWM voice. It should be able to handle the same two-wire input.
This way we won't be relying on purchasing a specific module.
16 kHz sampling, 8-bit unsigned needs a PWM clock of only 4.096 MHz, so this is possible.
Much of the work might even be already done, see http://elm-chan.org/works/sd20p/report.html.
Anyone interested/able to do something like this?
I don't have enough time myself at present.

Mike.
Hello!
Similar project (on Russian, welcome to googletranslate), but not SPI, but UART. :(
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Mike, would it be possible to interrupt a voice being spoken? imagine that we had a long file playing. is it possible to interrupt it while is playing to play a more important message?

Thanks

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

It might well be possible if we ignore the busy signal, and then we would need a mechanism to request a voice file to do this.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

for example (this is just one of the situations) if we are listening to a loop of events and suddenly we have an important RSSI, batt, etc alarm, it should kick in immediately and override all the other voices being played..

Example number two that just came to my mind and is a Kick a** :)
Aerobatic training. We have a voice file with the planned aerobatic figures program. Like a co-pilot. The radio is telling us what to do next. but if suddenly there is an alarm, obviously the alarm must override the program so we can abort it..

Example number three but not important :) you are flying and listening to your favourite song ;) but obviously if there is an alarm, the same as above happens not letting you hate the song... :D :D

Lot's of possibilities.. I definitely like the second one as it would be a good tool for practicing without having to look to a piece of paper or having someone reading it for you..

Just a thought.

Joao

P.S. - Sometimes when I'm alone at the field I just turn my car radio to full blast when I'm flying.. :P
And then dance to the music with the plane :mrgreen: Crazy, I know :mrgreen:
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Also, maybe an option to play the next track (file number) with the flick of a switch (TRN switch for example) :)
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: Audio (voice) - Stock 9X PCB

Post by hageha »

Mike,
we now have many ways to say switch positions. Important, but also unimportant such as "Landing lights on"
You can see it!
I think this is one of the most important tasks of the Audio(voice), the announcement of the telemetry data.
What we lack is the ability to adjust from "A1 and A2" and the classification of units.
In a small glider, I have no room for the HUB.
An analog altimeter offers a small, lightweight solution.
Needed in this case, a multiplier of 2.25 (arbitrary), and the addition of a correction.
For example: A2 = 125: 125x2.25 = 281.25 (- 30) (+/- !)
Announcement "251 meters"
The same applies also for speed measurements with a pressure sensor.
(km / h ...)

Hans
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Important, but also unimportant such as "Landing lights on"
You can see it!

Not if you're blind ;) :)
But I do agree that the telemetry and alarms are important, hence my posts above about priorities..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
thomas9x
Posts: 230
Joined: Wed Feb 29, 2012 3:12 am
Country: -
Location: USA

Re: Audio (voice) - Stock 9X PCB

Post by thomas9x »

I like the idea of assigning a high/low priority to the voice queue files. Unfortunately for many of us there's little remaining memory (both Flash and EEProm) on the stock 9x board, which limits the magic the software can do in this regard. But maybe there is a compromise that would be kind to the limited system resources. With that in mind, here's my thoughts:

1. Do not queue a new voice alert if the same alert is already in the queue. This will help prevent a voice alert from dominating the queue.

2. Keep the voice message lengths short, perhaps make an effort to limit them to less than a few seconds (as is the case now). This will eliminate the need to abort/stop a voice alert that is in progress if a higher priority event needs to be spoken.

3. Create two queues (instead of only one like is used now). One queue holds the low priority spoken events and the other is for high priority events. The user's voice alert menu settings would include a new field where they can flag their high priority voice events.

4. Low priority events would not play until the high priority queue was empty. Or perhaps dither/interleave the two so that there's a useful mix of both priorities.

I'm not saying I can write this code - I'm just offering my simple thoughts for discussion. :)

- Thomas
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

I would like an RSSI alarm to stop everything else for example.. the same with the radio Batt..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “er9x”