外部フレームワーク(mpSoundEngine)を利用して、440Hzの音を鳴らすAppleScriptです。
AppleScript名:mpSoundEngineでA=440Hzのモノラルの音を出す |
— Created 2017-12-14 by Takaaki Naganoya — 2017 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" use framework "mpSoundKit" –https://github.com/matthiasplappert/MPSoundEngine –http://piyocast.com/as/archives/5030 set engine to current application’s MPMonoSoundEngine’s alloc()’s init() engine’s channel()’s setFrequency:440.0 engine’s start() delay 3 engine’s |stop|() |
More from my site
(Visited 40 times, 1 visits today)