Tabula Sonora 0.1.0
A native C++20 implementation of the Roland Sound Canvas VA synth voice
Loading...
Searching...
No Matches
midi_formats.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <optional>
5#include <span>
6#include <string_view>
7#include <vector>
8
9namespace ts::formats {
10
28[[nodiscard]] std::optional<std::vector<std::uint8_t>> to_smf(std::span<const std::uint8_t> data,
29 std::string_view name = {});
30
31} // namespace ts::formats
Definition midi_formats.hpp:9
std::optional< std::vector< std::uint8_t > > to_smf(std::span< const std::uint8_t > data, std::string_view name={})
Converts a music file in a recognised non-SMF format into an in-memory Standard MIDI File.