Previous Page

by SmartOne at 3:13 PM EDT on September 25, 2011
Highly Advanced plays the noise channel too loudly. It ruins Sonic Advance 2, for example. Highly Advanced is obsolete.

I have always assumed viogsf's filtering range to be 0.0 to 1.0. Using -4.0 seems crisper on the PCM channels. I wonder what the true range is, or if the filtering "wraps around."

This part of the code seems to be it:

static void apply_filtering()
{
    soundFiltering_ = soundFiltering;

    int const base_freq = (int) (32768 - soundFiltering_ * 16384);
    int const nyquist = stereo_buffer->sample_rate() / 2;

    for ( int i = 0; i < 3; i++ )
    {
        int cutoff = base_freq >> i;
        if ( cutoff > nyquist )
            cutoff = nyquist;
        pcm_synth [i].treble_eq( blip_eq_t( 0, 0, stereo_buffer->sample_rate(), cutoff ) );
    }
}

So with a sufficiently large value of base_freq, no filtering occurs bellow the Nyquist limit? (As if I know what I'm talking about.)

edited 3:56 PM EDT September 25, 2011
by CapComMDb at 12:22 AM EDT on September 27, 2011
@TheUltimateKoopa - Yes, the filter. (Sorry this is late - busy couple of weeks!)

I'd also assumed the filter only went from 0 to 1, but just added the negative values figuring what the hell, and it actually worked.

You've got me with the code behind it - it's beyond my ken!

Now do you mean -4.0 or -0.4? Because larger values sound quite muddy!
by TheUltimateKoopa at 3:16 PM EDT on October 1, 2011
Isn't -0.4 just the same as 0.4?
by CapComMDb at 12:07 PM EDT on October 3, 2011
Nope! Try it and see! I personally think the negative values sound closer to the actual hardware - the others are too filtered.

Previous Page
Go to Page 0 1

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source