Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

Jupyter notebookで音を鳴らす

More than 3 years have passed since last update.

セルマジック%%javascriptを使って、JSで書くのが早そう。
サンプル音はもちろんアレです。

%%javascript
var sound = new Audio("http://dl1.getuploader.com/g/58e6069c-1c14-4b02-ab90-5ea5b63022d0/6%7Cnjv/73/%E3%83%AD%E3%83%9E%E3%83%B3%E3%82%B7%E3%83%B3%E3%82%B0%E3%82%B5%E3%82%AC2+%E9%96%83%E3%81%8D.wav");
sound.play();

参考:
Javascriptで音を鳴らす

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away