コード例 #1
0
ファイル: samples.go プロジェクト: mantyr/go-sound
func SampleSilence() s.Sound {
	// Includes: TimedSound
	return s.NewTimedSilence(2000.0)
}
コード例 #2
0
ファイル: demo.go プロジェクト: mantyr/go-sound
// The Sound of silence for quaverCount quavers
func rest(quaverCount float64) s.Sound {
	return s.NewTimedSilence(q * quaverCount)
}