Skip to content

Instantly share code, notes, and snippets.

View bolero-MURAKAMI's full-sized avatar

Bolero MURAKAMI bolero-MURAKAMI

View GitHub Profile
#if defined(COMPOST_LOADING_SOURCE_VERSION)
COMPOST_SRC_VERSION(0)
#elif defined(COMPOST_LOADING_SOURCE_INFO)
1,
1,
44100,
88200,
// 入力ファイル名 : デフォルト = input.wav.hpp
#ifndef CMP_FILENAME
# define CMP_FILENAME input.wav.hpp
#endif
#include <sprout/compost.hpp>
#include <sprout/array.hpp>
#include <sprout/preprocessor.hpp>
#include "wave_io.hpp"
// 入力ファイル名 : デフォルト = input.wav.hpp
#ifndef CMP_FILENAME
# define CMP_FILENAME input.wav.hpp
#endif
#include <sprout/compost.hpp>
#include <sprout/array.hpp>
#include <sprout/preprocessor.hpp>
#include "wave_io.hpp"
#include <climits>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <string>
#include <iterator>
#include <type_traits>
#include <iostream>
#include <fstream>
#if defined(COMPOST_LOADING_SOURCE_VERSION)
COMPOST_SRC_VERSION(0)
#elif defined(COMPOST_LOADING_SOURCE_INFO)
1,
1,
44100,
88200,
// 入力ファイル名 : デフォルト = input.wav.hpp
#ifndef CMP_FILENAME
# define CMP_FILENAME input.wav.hpp
#endif
#include <sprout/compost.hpp>
#include <sprout/array.hpp>
#include <sprout/preprocessor.hpp>
#include "wave_io.hpp"
// サンプル数 : デフォルト = 44100
#ifndef CMP_SAMPLE
# define CMP_SAMPLE 44100
#endif
// 長さの基準[sec] : デフォルト = 1
#ifndef CMP_LENGTH
# define CMP_LENGTH 1
#endif
// サンプル数 : デフォルト = 44100
#ifndef CMP_SAMPLE
# define CMP_SAMPLE 44100
#endif
// 長さ[sec] : デフォルト = 1
#ifndef CMP_LENGTH
# define CMP_LENGTH 1
#endif
// サンプル数 : デフォルト = 44100
#ifndef CMP_SAMPLE
# define CMP_SAMPLE 44100
#endif
// 1音の長さ[sec] : デフォルト = 1
#ifndef CMP_LENGTH
# define CMP_LENGTH 1
#endif
// サンプル数 : デフォルト = 44100
#ifndef CMP_SAMPLE
# define CMP_SAMPLE 44100
#endif
// 長さ[sec] : デフォルト = 1
#ifndef CMP_LENGTH
# define CMP_LENGTH 1
#endif