f4exb / sdrangelcli

Browser based client application for SDRangel in remote mode
MIT License
56 stars 8 forks source link

Merge spectrum display components from SDRangelSpectrum app #1

Closed f4exb closed 2 years ago

f4exb commented 5 years ago

This is to create a component capable to render the spectrum data that would be sent from a SDRangel instance when this ticket is implemented: https://github.com/f4exb/sdrangel/issues/224

f4exb commented 5 years ago

Example of Canvas usage: https://medium.com/@tarik.nzl/creating-a-canvas-component-with-free-hand-drawing-with-rxjs-and-angular-61279f577415 Very similar: https://gist.github.com/anupkrbid/6447d97df6be6761d394f18895bc680d Very very minimal example: https://stackblitz.com/edit/canvas-example-angular Simple animations: https://codeburst.io/canvas-animations-in-typescript-97ba0163cb19 An application with waterfall: https://github.com/mikestir/webradio

drom commented 5 years ago

I can help with creating such a component if you are still interested.

f4exb commented 5 years ago

Sure! This has been more or less stalled due to other priorities but still a desirable feature.

drom commented 5 years ago

Do you have Idea about desired API or data format that component would accept?

f4exb commented 5 years ago

There were ideas listed above in my comments from last February but I didn't go further due to the lack of examples. I know OpenwebRX uses web sockets to transmit and render spectrum information. I am not against web sockets in this context if it facilitates implementation.

f4exb commented 5 years ago

If you look at the SDRangel counterpart https://github.com/f4exb/sdrangel/issues/224 I already had a look at possible implementation using WebRTC which could be nice but again was stuck because of lack of examples.

f4exb commented 2 years ago

The current implementation as an independent app works fine. It is perfectly and may be even more practical to have it in a separate tab in the browser.