mirror of
https://github.com/Toastconcern/FrameStudio.git
synced 2026-10-29 04:02:56 +01:00
Frame Studio now builds for Windows (x64, x86, ARM64), Linux (x64, x86, ARM64)
and macOS (Apple Silicon, Intel):
- studio/platform.h with Win32 and POSIX implementations (dialogs through
tinyfiledialogs on Linux/macOS), a GLFW window beside the Win32 one, and a
platform-neutral frame pacer
- MoltenVK support in the renderer (portability enumeration) and bundled in
the macOS app
- 32-bit builds: large-address-aware, LZMA packing within a 32-bit address space
- unaligned file reads in the loaders go through loadUnaligned (no UB)
- scripts/build-studio.sh, studio/build_windows.bat [x64|x86|arm64],
cmake/llvm-mingw.cmake, and a GitHub Actions workflow building every target
Frame Home installs without Studio: frame/install-frame-home.{sh,ps1} and
"Install Frame Home.bat" (packaged as FrameHome-installer.zip).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
795 B
C
42 lines
795 B
C
/* Auto generated from checkpoint pitch_vsmallconv1.pth */
|
|
|
|
|
|
#ifndef PITCHDNN_DATA_H
|
|
#define PITCHDNN_DATA_H
|
|
|
|
#include "nnet.h"
|
|
|
|
|
|
#include "opus_types.h"
|
|
|
|
#define DENSE_IF_UPSAMPLER_1_OUT_SIZE 64
|
|
|
|
#define DENSE_IF_UPSAMPLER_2_OUT_SIZE 64
|
|
|
|
#define DENSE_DOWNSAMPLER_OUT_SIZE 64
|
|
|
|
#define DENSE_FINAL_UPSAMPLER_OUT_SIZE 192
|
|
|
|
#define GRU_1_OUT_SIZE 64
|
|
|
|
#define GRU_1_STATE_SIZE 64
|
|
|
|
|
|
#define PITCH_DNN_MAX_RNN_UNITS 64
|
|
|
|
|
|
struct PitchDNN {
|
|
LinearLayer dense_if_upsampler_1;
|
|
LinearLayer dense_if_upsampler_2;
|
|
LinearLayer dense_downsampler;
|
|
LinearLayer dense_final_upsampler;
|
|
Conv2dLayer conv2d_1;
|
|
Conv2dLayer conv2d_2;
|
|
LinearLayer gru_1_input;
|
|
LinearLayer gru_1_recurrent;
|
|
};
|
|
|
|
int init_pitchdnn(PitchDNN *model, const WeightArray *arrays);
|
|
|
|
#endif /* PITCHDNN_DATA_H */
|