org.quietmodem.Quiet icon indicating copy to clipboard operation
org.quietmodem.Quiet copied to clipboard

how to create a new profile?

Open chanduthedev opened this issue 5 years ago • 3 comments

Hi Brian, I would like to create a new profile with 21000 frequency. Is it possible to create that? if yes, can you please guide me the steps to do that. Thanks in advance.

chanduthedev avatar Apr 29 '19 07:04 chanduthedev

I tried to change the value of center_frequency to 21000 for ultrasonic profile but it didn't worked. Do I need to modify any other values in the profile or any code changes required for this to work? Thanks in advance.

chanduthedev avatar Apr 29 '19 09:04 chanduthedev

Yes, it should be as simple as changing the center frequency though you will also need to change interpolation to avoid aliasing at 44.1 kHz sample rate.

Can I ask how you decided on 21000? You're going to make things harder on yourself at that frequency since that will be heavily attenuated by most sound devices.

brian-armstrong avatar Apr 29 '19 18:04 brian-armstrong

Hi Brian, thanks for quick reply. Its my bad, bymistake i closed this thread, so reopened it. I am trying to transfer data between mobile devices. and I read ultrasonic frequency is above 20000, so I was trying with 21000. And I also tested with ultrasonic-experimental profile, it works for ~70cm between samsung and apple devices. sometimes it worked for 1.5m as well. But not consistent.

chanduthedev avatar Apr 30 '19 01:04 chanduthedev