Searched refs:sine_wave (Results 1 – 3 of 3) sorted by relevance
94 std::vector<float> sine_wave; in TEST() local95 sine_wave.reserve(20000); in TEST()97 sine_wave.push_back(std::sin(6.28 * 440.0 * i / 20000.0)); in TEST()100 ASSERT_TRUE(CreateAudioFile("wav", 0, 20000, 1, sine_wave, &content).ok()); in TEST()106 EXPECT_EQ(sine_wave.size(), roundtrip_data.size()); in TEST()107 size_t min_size = std::min(sine_wave.size(), roundtrip_data.size()); in TEST()109 EXPECT_NEAR(sine_wave[i], roundtrip_data[i], 0.01); in TEST()
32 sine_wave = math.sin(phase)34 wave.append(float(amplitude) * (sine_wave + noise))74 sine_wave = math.sin(phase)75 self.y.append(float(self.amplitude) * sine_wave)
194 sine_wave = math.sin(sample)196 wave.append(sine_wave + noise)