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

Simplify the video deemphasis filter generation #479

Merged
merged 1 commit into from
Apr 9, 2020

Conversation

atsampson
Copy link
Collaborator

Previously this needed different hand-tuned scaling factors for PAL and NTSC. The missing bit was pre-warping the zero/pole frequencies to match the bilinear transform.

The resulting filter is very close to the existing one (within 0.1dB for NTSC and 0.3dB for PAL), so this doesn't make much difference to the output.

GNU Radio's implementation of FM (de)emphasis was a useful reference for this.

It might be possible to use the same helper function for the 75µs audio deemphasis as well?

Previously this needed different hand-tuned scaling factors for PAL and
NTSC. The missing bit was pre-warping the zero/pole frequencies to match
the bilinear transform.

The resulting filter is very close to the existing one (within 0.1dB for
NTSC and 0.3dB for PAL), so this doesn't make much difference to the
output.
@atsampson atsampson added enhancement ld-decode An issue only affecting the ld-decode[r] labels Apr 9, 2020
@atsampson atsampson requested a review from happycube April 9, 2020 00:26
@happycube happycube merged commit e5df6a8 into happycube:master Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ld-decode An issue only affecting the ld-decode[r]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants