Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added different modulations in signal generator #2492

Merged
merged 4 commits into from
Jan 26, 2025

Conversation

daviderud
Copy link
Contributor

Added DSB, AM 100% mod index and AM 50% mod index. Changed UI.

image

Added DSB, AM 100% mod index and AM 50% mod index. Changed UI.
@gullradriel gullradriel self-requested a review January 25, 2025 15:07
@gullradriel
Copy link
Member

Hello @daviderud .
Thanks for the contributions.
Please apply proper formatting by running format-code.sh at the root of your clone. Commit the changes so the checks can pass.

@gullradriel
Copy link
Member

proc_siggen.cpp is not correctly formatted.
Maybe you forgot to commit after caller format-code.sh ?

@daviderud
Copy link
Contributor Author

For some reason VS Code in windows do not perform any format correction in the proc_siggen.cpp . Had to run the sh script on a linux virtual machine...
I will try to see if I manage to add the clang in the docker so that the script can be run from there in Windows.

@gullradriel
Copy link
Member

I relaunched the checks, we will see if all is good :-)

Copy link
Member

@gullradriel gullradriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks !

@gullradriel
Copy link
Member

I think we are going to bypass firmware limits with that PR.
Please wait a bit that we externalize one or two more apps before we merge.

@daviderud
Copy link
Contributor Author

daviderud commented Jan 26, 2025 via email

@gullradriel gullradriel merged commit 520ad97 into portapack-mayhem:next Jan 26, 2025
3 checks passed
@voxo22
Copy link

voxo22 commented Jan 31, 2025

@daviderud Many thanks for this excellent feature! Awesome, dude. Do you think it will be possible to add AM modulation switch also to Morse app and to Soundboard app?
By the way, I think there is no useful Signal Generator program for Hack RF anywhere (not including Portapack), except maybe GNU radio, but... you know... That's why the Signal generator app is more than useful in Portapack, it's very handy.
What I would welcome so much is also pulse generator, which is definitively missing. Do you think you can improve Signal Generator with pulse generator feature? I will log it as a new enhancement issue.
Thanks!

@voxo22
Copy link

voxo22 commented Jan 31, 2025

#2505

@daviderud
Copy link
Contributor Author

@daviderud Many thanks for this excellent feature! Awesome, dude. Do you think it will be possible to add AM modulation switch also to Morse app and to Soundboard app? By the way, I think there is no useful Signal Generator program for Hack RF anywhere (not including Portapack), except maybe GNU radio, but... you know... That's why the Signal generator app is more than useful in Portapack, it's very handy. What I would welcome so much is also pulse generator, which is definitively missing. Do you think you can improve Signal Generator with pulse generator feature? I will log it as a new enhancement issue. Thanks!

Hi, thanks for the message.

With the Hack RF in HackRF mode you can use the SDRAngel freeware on the computer to have a GUI that allows you to configure the transmitter in many modes including morse keying.

With just the portapack would be easier the setup. So far I studied the code of the signal generator and not the one of the other apps, so can't tell how easy is to include the modification also there. In principle there could be just one signal generator that performs the modulation of math functions, mic, or wave, but this is would be a wide modification I guess.

The pulse generation might be easy to do in the signal gen maybe adding some code like the BPSK, but with half of the period with no signal generation and half with signal. Not sure it is what you are after.

Cheers

@voxo22
Copy link

voxo22 commented Feb 1, 2025

@daviderud Hi,
please look at issue #2505 and tell me, if you can make something like that.
I mean, 50% duty cycle pulse generator is not exactly, what I want, I prefer to have just single pulse generator with variable pulse width, launched with START button. And then some other variable for the pause width + "loop" checkbox. CW modulation. That's it. Purpose: I often check broadband meters time response and also spectrum analyzer sweep speed. Then I need to generate e.g. pulse with 10 µs duration and see, if the meter or analyzer correctly detected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants