tts : minor cleanup

This commit is contained in:
Georgi Gerganov 2025-01-06 13:35:39 +02:00
parent 3cecef7def
commit f75349c27d
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 0 additions and 11 deletions

View file

@ -8,7 +8,6 @@
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <fstream>
#include <map>
#include <regex>
#include <string>
@ -16,13 +15,6 @@
#include <vector>
#include <cstring>
//
// Terminal utils
//
#define SQR(X) ((X) * (X))
#define UNCUBE(x) x < 48 ? 0 : x < 115 ? 1 : (x - 35) / 40
static void fill_hann_window(int length, bool periodic, float * output) {
int offset = -1;
if (periodic) {

View file

@ -11,10 +11,7 @@
#include <cmath>
#include <cstdio>
#include <fstream>
#include <map>
#include <regex>
#include <string>
#include <thread>
#include <vector>
//