1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix comments

This commit is contained in:
bolero-MURAKAMI 2016-04-05 18:21:13 +09:00
parent a0060119ab
commit 8dc640a6e2
23 changed files with 136 additions and 134 deletions

View file

@ -34,13 +34,13 @@ namespace sprout {
//
struct info_type {
public:
std::uint16_t format_tag; // フォーマットID
std::uint16_t channels; // チャンネル数
std::uint32_t samples_per_sec; // サンプリングレート
std::uint32_t bytes_per_sec; // データ速度 (Byte/sec)
std::uint16_t block_size; // ブロックサイズ (Byte/sample*チャンネル数)
std::uint16_t bits_per_sample; // サンプルあたりのビット数 (bit/sample)
std::size_t size; // 要素数
std::uint16_t format_tag; // format ID
std::uint16_t channels; // channels
std::uint32_t samples_per_sec; // sampling rate
std::uint32_t bytes_per_sec; // data speed (Byte/sec)
std::uint16_t block_size; // block size (Byte/sample*channels)
std::uint16_t bits_per_sample; // bits per sample (bit/sample)
std::size_t size; // elements
};
//
// sound_type

View file

@ -16,7 +16,9 @@ namespace sprout {
namespace compost {
//
// rosenberg_value
// Rosenberg 波は声門開大期と閉小期が周期の40%16%となる非対称形の波形でありτ1 が開大期τ2が閉小期を示す
// Rosenberg wave is asymmetric waveform,
// expansion period/reduction period of the glottis is 40%/16% of the cycle,
// tau1 is expansion period, tau2 is reduction period
//
template<typename T>
inline SPROUT_CONSTEXPR typename sprout::float_promote<T>::type