Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 1 of 1

Thread: Bass Enhance in Teensy Audio

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2016
    Posts
    9

    Bass Enhance in Teensy Audio

    Hi,

    I'm currently working with the Teensy Audio board to improve the sound of a small pair of speakers. I looked into the datasheet of the SGTL5000 and the documentation of the audio library but wasn't still completely sure how to implement the bass enhancement algorithm properly.

    This was the info I found:

    // audioShield.enhanceBass((float)lr_level,(float)bas s_level,(uint8_t)hpf_bypass,(uint8_t)cutoff);
    // please see http://www.pjrc.com/teensy/SGTL5000.pdf page 50 for valid values for BYPASS_HPF and CUTOFF

    My questions:

    1. What does the lr_level do? Is this similar to the general volume command; audioShield.volume(0.8)?
    2. What does the hpf_bypass exactly do and how could I implement it?
    3. Is the following reference list of the cut-off frequencies correct?

    0 80Hz
    1 100Hz
    2 125Hz
    3 150Hz
    4 175Hz
    5 200Hz
    6 225Hz

    4. If you want to specify the specific parameters do you have to call both enhanceBassEnable() and enhanceBass() or can you do without the first?

    Thanks in advance!
    Last edited by ybr; 05-31-2017 at 02:35 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •