Skip to content

Commit

Permalink
Generative models are now supported
Browse files Browse the repository at this point in the history
Former-commit-id: ea24aa1
  • Loading branch information
YuzukiTsuru committed May 27, 2022
1 parent 8a677e7 commit 8548934
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/GenerateAudioModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ void GenerateAudioModel::WavFileModel(const std::filesystem::path &wav_path) {
void GenerateAudioModel::GenerateModelFromFile() {
// TODO: Add mutithread support
for (const auto &file: wav_files) {
YALL_INFO_ << "Modeling Audio File: " + file.string();
WavFileModel(file);
}
}
Expand Down
9 changes: 5 additions & 4 deletions src/lessampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

#include "Utils/LOG.h"
#include "Dialogs/Dialogs.h"
#include "GenerateAudioModel.h"

#include "lessconfig.h"

#include "lessampler.h"
Expand All @@ -40,7 +42,7 @@ void lessampler::show_logo() {
" Version: "
<< PROJECT_GIT_HASH
<< " |_| "
<< "\nCopyright (c) 2018 - 2022, YuzukiTsuru <[email protected]>"
<< "\n\nCopyright (c) 2018 - 2022, YuzukiTsuru <[email protected]>\n"
<< cc::reset
<< std::endl;
}
Expand All @@ -52,11 +54,10 @@ void lessampler::run() const {
}

// model generation
if (argc == 1) {
if (argc == 2) {
show_logo();
YALL_INFO_ << "Start modeling against the audio files in the provided destination folder...";


GenerateAudioModel genmodule(argv[1], configure);
}

if (argc < 2) {
Expand Down
3 changes: 0 additions & 3 deletions src/lessampler.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ class lessampler {
private:
void read_audio_file();

void GenerateAudioModelDictory();

void GenerateAudioModel();
private:
static void show_logo();
};
Expand Down

0 comments on commit 8548934

Please sign in to comment.