Zalogowany jako: gość

Forum

Wątek: sending data over series of sound tones: a working receiver and sender prototype

Wróć do listy wątków

1 z 3

Następna

1 z 42: bomberman29

hello guyz. some time ago a bulgarean developer Georgy Gerganov created a library to transmit data... well, over sound. Each byte of data is encoded into a beep of it's corresponding frequency and it is played back via speaker. then a microphone of the receiver listens for the sounds and decodes it.
Do you want to try it out? here's a command line tool attached.
how to use:
when you start it, it starts listening.
to send a text, just type this text into the console window.
to change the protocol: type /p <numberfrom0to8>.
to send a file: type /f filepath
note. To send a file, a receiver must listen nearby because the receiver must send the unheard blocks if it has not heard something in the data
to stop the transmission: type /stop but it may not work as expected.
to exit: type /exit
enjoy!
my github: https://github.com/denizsincar29
09.10.2022 16:20

2 z 42: bomberman29

here's the link because i can't attach:
https://r1oaz.ru/deniz/gw/receiver.exe

my github: https://github.com/denizsincar29
09.10.2022 16:21

3 z 42: bomberman29

and guys try to decode this audio messages.
in this attached recording, i was typing that messages and beeping them out. you just open the receiver and let the microphone here this audio recording
my github: https://github.com/denizsincar29
09.10.2022 16:29

4 z 42: bomberman29

some microphones doesn't let you here from the speaker so if it doesn't decode, use the stereo mix or another computer with the receiver.
my github: https://github.com/denizsincar29
09.10.2022 16:31

5 z 42: Seedy-Threepio

So, kinda like a modem emulator? Also, screw Yandex.

09.10.2022 17:52

6 z 42: nikolai

Could I get a link to the developers website?
The Program comes for us all. https://programaudioseries.com/
09.10.2022 17:56

7 z 42: bomberman29

i'm the developer and i don't have a website yet ahahaha. but i'm working on autoupdater for this one
my github: https://github.com/denizsincar29
10.10.2022 10:07

8 z 42: bomberman29

why screw yandex? just because it's russian?
it's working as expected and yandexdisk is ok. but next updates will be on my friends website.

-- (Seedy-Threepio):
So, kinda like a modem emulator? Also, screw Yandex.

--
my github: https://github.com/denizsincar29
10.10.2022 10:09

9 z 42: nikolai

Oh cool. Is this a project you plan to opensource?
The Program comes for us all. https://programaudioseries.com/
10.10.2022 18:37

10 z 42: techboy

And can I use phone to recieve it?
Trussville roll: Deep-fried, smoked salmon, crab salad, cream cheese, topped with mango sauce, sweet soy-reduction, green onion. MMMMM
11.10.2022 00:09

11 z 42: techboy

I wonder if you could set it up for a radeo thing.

Trussville roll: Deep-fried, smoked salmon, crab salad, cream cheese, topped with mango sauce, sweet soy-reduction, green onion. MMMMM
11.10.2022 00:23

12 z 42: nikolai

Theoretically possible. There exists things for transmitting data over radio that are more effective than this though. This is because you don't have as much reflection to worry about. That's the reason this sound transmission protocoll is kinda slow, especially when you are dealing with rooms that reverberate like a cathedral. I'm bringing up extreme examples here though but what ever.
The Program comes for us all. https://programaudioseries.com/
11.10.2022 12:59

13 z 42: daszekmdn

Good idea, i will try in the evening.

11.10.2022 13:10

14 z 42: ArcticMoon

We don't hate jandex because it's russian, but because it's more clunky than other cloud storages.
U3RhbmQgd2l0aCB0aGUgZ3JlYXQgUnVzc2lhIGFuZCBIdW5nYXJ5IQ==
11.10.2022 16:25

15 z 42: bomberman29

yes guys i am planning to opensource it when i will have time to download git on my new windows. now i'm preparing to my school exams but i will release updates of this.
my github: https://github.com/denizsincar29
11.10.2022 20:05

16 z 42: bomberman29

yes you can transmit data through radio or phone. there are 3 protocols made especially for radios and phones. they use more low pitched sounds than other protocols and they have error correction codes for secure delivery.
try to change protocols with /p <protocol_number> command, e.g. /p 0
my github: https://github.com/denizsincar29
11.10.2022 20:09

17 z 42: bomberman29

there are 11 protocols in ggwave.
protocol from 0 to 2 is normal pitch slow0, medium1 and fast2.
protocols from 3 to 5 are ultrasonic slow, medium and fast. but some microphones are not so great to recognize that.
protocols 6 to 8 are radio slow, radio medium and radio fast. they are made for transmitting through phone or radio.
protocols from 9 to 11 are single tone with fixed length. but i didn't implement it yet in my app. it will through an error if you set /p 9 for example.
the last single tone protocols are made to simplify the recognition in microcontrollers and other crappy processor powered devices.
my github: https://github.com/denizsincar29
11.10.2022 20:15

18 z 42: bomberman29

i apologize for inconvenience. the developer of the library is Georgy Gerganov but i just made a command line app with that library.
ggwave.ggerganov.com
https://github.com/ggerganov/ggwave
-- (nikolai):
Could I get a link to the developers website?

--
my github: https://github.com/denizsincar29
11.10.2022 20:20

19 z 42: nikolai

Oh. Thanks for clarifying.
The Program comes for us all. https://programaudioseries.com/
11.10.2022 20:56

20 z 42: nikolai

Also, I tried installing it using pip but it totally failed. Do I need to install extra C lib tools or is something unsupported?

I am using '3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]'

Event logg:

Collecting ggwave
Using cached ggwave-0.4.1.tar.gz (76 kB)
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for ggwave, since package 'wheel' is not installed.
Installing collected packages: ggwave
Running setup.py install for ggwave ... error
error: subprocess-exited-with-error

× Running setup.py install for ggwave did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
running install
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2032.0_x64__qbz5n2kfra8p0\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_ext
building 'ggwave' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> ggwave

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.


Also also: this just became a programming thread. #no regrets.
The Program comes for us all. https://programaudioseries.com/
11.10.2022 21:08

Wróć do listy wątków

1 z 3

Następna

Nawigacja


Copyright (©) 2014-2024, Dawid Pieper