Add tab for loop station

This commit is contained in:
2022-12-27 21:19:21 +01:00
parent 626d27653a
commit b2f688c178
48 changed files with 346 additions and 204 deletions

View File

@@ -2,6 +2,8 @@
#include <QAudioFormat>
#include <array>
static constexpr int frameRate = 44100;
static constexpr int channelCount = 2;
static constexpr int sampleSize = 32;
@@ -9,6 +11,6 @@ static constexpr auto codec = "audio/pcm";
static constexpr QAudioFormat::Endian byteOrder = QAudioFormat::LittleEndian;
static constexpr QAudioFormat::SampleType sampleType = QAudioFormat::Float;
using sample_t = float;
using frame_t = std::array<sample_t, channelCount>;
struct frame_t : std::array<sample_t, channelCount> {};
const QAudioFormat &audioFormat();