Our current SDR online list: https://sdr-list.xyz/

Suggestions for App.svelte and other components

Started by Emmanuel SV1BTL, Jan 04, 2025, 12:11 PM

Previous topic - Next topic

Phil - NY4Q

Quote from: Emmanuel SV1BTL on Jan 05, 2025, 03:48 PMP.S. Moving the cursor through the whole band, we all notice that the modulation and the band button indicator is changing. This is very good. Shall we think the same thing for the step also? E.g. Broadcasting band to automatically tuned to 5KHz step, european MW to 9KHz etc, but when we move away from the band with a cursor, the step to change to given default?

I will look into that too - that is a very good observation.

Phil

I will be away for a while - my father in law is here to help me work in the yard.

Phil - NY4Q

There's a bug in the verifyRegion function and I am looking into that.

Gianni - I have your bandwidth button section done and it is working good. I will upload a new App.svelte as soon as I chase down this bug in the function mentioned.

Phil

hb3xdc

Sounds great, thank you for your work Phil. I appreciate it very much.


I tried today again to solve the frequency scrolling inside of the waterfall but somehow have not figured out a solution to make tuning steps working there
Gianni - HB3XDC
WebSDR Lucerne
Sardinia SDR

Phil - NY4Q

The latest build is up. If you are just pulling App.svelte, then for this change, you must also pull waterfall.js - they are working together to set up the waterfall display based on ITU region, and that value (siteRegion) is pulled from site_information.json.

The latest is compiled and running on http://websdr.lumpkinschools.com/

Phil

Emmanuel SV1BTL

Quote from: Phil - NY4Q on Jan 05, 2025, 05:14 PM
Quote from: Emmanuel SV1BTL on Jan 05, 2025, 03:48 PMP.S. Moving the cursor through the whole band, we all notice that the modulation and the band button indicator is changing. This is very good. Shall we think the same thing for the step also? E.g. Broadcasting band to automatically tuned to 5KHz step, european MW to 9KHz etc, but when we move away from the band with a cursor, the step to change to given default?

I will look into that too - that is a very good observation.

Phil

I will be away for a while - my father in law is here to help me work in the yard.

Well, is done Phil, by Sakis (SV2AMK). Please check my websdr.
Into every band, a step is defined as "default". Moving from the band, the Modulation and Step is changing automatically, according to the values we've defined. Moving with the cursor to the next band, Modulation, Band button AND the Step are changing again, etc.
If you think it is useful, I'll pass you the code, so to adapt it to this in git

Phil - NY4Q

#35
Ok, there was a bug in the CB band setting and the audio was not recording, but those have both been fixed.

As of this post, there are no 'known' bugs.

Pull a new waterfall.js and audio.js for those fixes or simply pull a new package.

Phil

Phil - NY4Q

I think something that would be helpful is for someone to write a Help File, that we could place a link to and that file goes into the description of each section and explains those areas - that or add more detail to the tutorial and have an option to re-read that - which I think most people skip for some reason!

Would someone like to put that together?

My next task will be to add a 'toggle' to these fixed bandwidth buttons so they are be turned on and off - and to add those settings also the the bookmarks area for saving.

I am back to work today after Christmas holiday, so my coding will slow a bit.

Phil - NY4Q

Quote from: Emmanuel SV1BTL on Jan 06, 2025, 06:49 PMWell, is done Phil, by Sakis (SV2AMK). Please check my websdr.
Into every band, a step is defined as "default". Moving from the band, the Modulation and Step is changing automatically, according to the values we've defined. Moving with the cursor to the next band, Modulation, Band button AND the Step are changing again, etc.
If you think it is useful, I'll pass you the code, so to adapt it to this in git

I will take a look at this later today. Thank you.

9a7aof

Quote from: Phil - NY4Q on Jan 06, 2025, 06:56 PMOk, there was a bug in the CB band setting and the audio was not recording, but those have both been fixed.

As of this post, there are no 'known' bugs.

Pull a new waterfall.js and audio.js for those fixes or simply pull a new package.

Phil

Dear Sir,
is it possible to add date and time to recorded_audio.wav?
Thanks!
Darko, 9a7aof

Phil - NY4Q

Quote from: 9a7aof on Jan 06, 2025, 08:03 PMDear Sir,
is it possible to add date and time to recorded_audio.wav?
Thanks!
Darko, 9a7aof

Yes. I will add that to the list. Thanks.

Emmanuel SV1BTL

Quote from: Phil - NY4Q on Jan 06, 2025, 07:54 PMHelp File
Sure! very good idea, I'll try to do it, but I'm afraid that a native english speaker has to edit and correct it!...

Emmanuel SV1BTL

Quote from: Phil - NY4Q on Jan 06, 2025, 08:00 PM
Quote from: Emmanuel SV1BTL on Jan 06, 2025, 06:49 PMWell, is done Phil, by Sakis (SV2AMK). Please check my websdr.
Into every band, a step is defined as "default". Moving from the band, the Modulation and Step is changing automatically, according to the values we've defined. Moving with the cursor to the next band, Modulation, Band button AND the Step are changing again, etc.
If you think it is useful, I'll pass you the code, so to adapt it to this in git

I will take a look at this later today. Thank you.

Maybe it's better to show a video, of what is exactly SV2AMK Sakis has achieved.

Let's say that we are on 160m. band. I am moving the cursor by hand, so look at the 1.- Modulation, 2.- Band button, 3.- Step and the buttons becoming "light" or "dark".
As you can see, moving the cursor, the three these button becoming "light", according to the situation and place of the cursor. You will see e.g. LSB on higher 160m band, CW on the lower 160m. After that we have USB modulation with 1KHz step till to 180m. band, where the modulation becomes AM, the step turns 5 KHz and the 180m. button is light. Then we move to MW band, where the modulation remains AM, but the step becomes 9 KHz and of course MW button becomes lighter.

Absolutely the same results when we QSY not moving the cursor, but the mouse wheel.


Phil - NY4Q

I found another bug - if the siteSDRBaseFrequency set in site_information.json was != 0, then the buttons would not populate correctly. I have fixed that and will upload a new App.svelte after I make a few other changes.

Phil

Phil - NY4Q

The latest bugs are fixed and a fresh App.svelte is ready to pull.

Phil - NY4Q


What about for those 'Tuning Steps' I build a slide bar that has the values, then you use the slide to make a choice and then just have a (+) and (-) button?

I could do the same for the static IF filters.

That would free up a lot of real estate. The interface is getting pretty cluttered. I do plan to move 'Recording Options' to the Audio Section since that has to do with audio.

Let me know your thoughts.

Phil

Powered by EzPortal