AudioInsert[audio,tnew]
音声信号 new を時点 t に挿入する.
AudioInsert[audio,{t1,t2,…}new]
同じ音声を複数箇所に挿入する.
AudioInsert[audio,{t1new1,…}]
複数の音声信号を異なる箇所に挿入する.
AudioInsert
AudioInsert[audio,tnew]
音声信号 new を時点 t に挿入する.
AudioInsert[audio,{t1,t2,…}new]
同じ音声を複数箇所に挿入する.
AudioInsert[audio,{t1new1,…}]
複数の音声信号を異なる箇所に挿入する.
詳細
- AudioInsertを使って,1つあるいは複数の音声信号を既存の音声オブジェクトのさまざまな時点にに挿入することができる.
- 時点 t は次のいずれでもよい.
-
t 秒で与えられた時点 Quantity[t,"unit"] 秒と互換の"unit"で与えられた時点 Quantity[t,"Samples"] サンプル数として与えられた時点
例題
すべて開く すべて閉じる例 (1)
スコープ (2)
a = \!\(\*AudioBox[""]\);AudioInsert[a, {.5, 1} -> AudioGenerator["Sin"]]a = \!\(\*AudioBox[""]\);AudioInsert[a, {.5 -> AudioGenerator["Sin"], 1.5 -> AudioGenerator["White"]}]アプリケーション (1)
a = ExampleData[{"Audio", "PianoScale"}, "Audio"];Spectrogram[a, PlotRange -> {200, 800}]指定された範囲の中で,振幅が非零で基本周波数の区間を求める:
int = AudioIntervals[a, #RMSAmplitude > 0 && TrueQ[#FundamentalFrequency > 260]&, PartitionGranularity -> .1]AudioInsert[a, int[[All, 1]] - .05 -> AudioGenerator["Sin", .1]]特性と関係 (2)
結果の持続時間は,入力信号と新たなすべての信号の持続時間の合計に等しい:
a = \!\(\*AudioBox[""]\);b = \!\(\*AudioBox[""]\);Duration /@ {a, b}AudioInsert[a, .5 -> b]//Duration入力と新たな音声の特性が異なる場合は,新たな音声に修正が加えられる:
a = \!\(\*AudioBox[""]\);
b = \!\(\*AudioBox[""]\);Through[{AudioChannels, AudioSampleRate}[{a, b}]]持続時間は保たれたが,チャンネル数とサンプルレートは入力音声に合わされた:
AudioInsert[a, .5 -> b]Through[{AudioChannels, AudioSampleRate}[%]]関連するガイド
-
▪
- 音声編集
テキスト
Wolfram Research (2017), AudioInsert, Wolfram言語関数, https://reference.wolfram.com/language/ref/AudioInsert.html.
CMS
Wolfram Language. 2017. "AudioInsert." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AudioInsert.html.
APA
Wolfram Language. (2017). AudioInsert. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioInsert.html
BibTeX
@misc{reference.wolfram_2026_audioinsert, author="Wolfram Research", title="{AudioInsert}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/AudioInsert.html}", note=[Accessed: 11-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_audioinsert, organization={Wolfram Research}, title={AudioInsert}, year={2017}, url={https://reference.wolfram.com/language/ref/AudioInsert.html}, note=[Accessed: 11-September-2026]}