31 lines
778 B
Python
31 lines
778 B
Python
# ------------------------------------------------------------
|
||
# AAC Coder/Decoder - Configuration
|
||
#
|
||
# Multimedia course at Aristotle University of
|
||
# Thessaloniki (AUTh)
|
||
#
|
||
# Author:
|
||
# Christos Choutouridis (ΑΕΜ 8997)
|
||
# cchoutou@ece.auth.gr
|
||
#
|
||
# Description:
|
||
# This module contains the global configurations
|
||
#
|
||
# ------------------------------------------------------------
|
||
from __future__ import annotations
|
||
|
||
# Imports
|
||
from core.aac_types import WinType
|
||
|
||
# Filterbank
|
||
# ------------------------------------------------------------
|
||
# Window type
|
||
# Options: "SIN", "KBD"
|
||
WIN_TYPE: WinType = "SIN"
|
||
|
||
|
||
# TNS
|
||
# ------------------------------------------------------------
|
||
PRED_ORDER = 4
|
||
QUANT_STEP = 0.1
|
||
QUANT_MAX = 0.7 # 4-bit symmetric with step 0.1 -> clamp to [-0.7, +0.7] |