Skip to content

Commit

Permalink
Merge pull request #423 from Gamnn/patch-2
Browse files Browse the repository at this point in the history
fix for #422
  • Loading branch information
happycube committed Jan 22, 2020
2 parents 8619bd4 + 6e00acf commit 8522619
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ld-decode
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ parser.add_argument('--ignoreleadout', dest='ignoreleadout', action='store_true'
parser.add_argument('--verboseVITS', dest='verboseVITS', action='store_true', default=False, help='Enable additional JSON fields')

parser.add_argument('--lowband', dest='lowband', action='store_true', default=False, help='Use more restricted RF settings for noisier disks')
parser.add_argument('--WibbleRemover', dest='WibbleRemover', action='store_true', default=False, help='PAL/digital sound: (try to) remove spurious ~8.5mhz signal')
parser.add_argument('--WibbleRemover', dest='WibbleRemover', action='store_true', default=False, help='PAL/digital sound: (try to) remove spurious ~8.5mhz signal. Mitigate interference from analog audio in reds on NTSC')

parser.add_argument('-t', '--threads', metavar='threads', type=int, default=5, help='number of CPU threads to use')

Expand Down
2 changes: 1 addition & 1 deletion lddecode/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def computevideofilters(self):
SF['Fvideo_lpf'] = filtfft(video_lpf, self.blocklen)

if self.system == 'NTSC' and self.WibbleRemover:
video_notch = sps.butter(3, [DP['video_lpf_freq']/self.freq_half, 5.0/self.freq_half], 'bandstop')
video_notch = sps.butter(3, [DP['video_lpf_freq']/1000000/self.freq_half, 5.0/self.freq_half], 'bandstop')
SF['Fvideo_lpf'] *= filtfft(video_notch, self.blocklen)

video_hpf = sps.butter(DP['video_hpf_order'], DP['video_hpf_freq']/self.freq_hz_half, 'high')
Expand Down

0 comments on commit 8522619

Please sign in to comment.