72

I often run long-running cells in my IPython notebook. I'd like the notebook to automatically beep or play a sound when the cell is finished executing. Is there some way to do this in iPython notebook, or maybe some command I can put at the end of a cell that will automatically play a sound?

I'm using Chrome if that makes any difference.

5

9 Answers 9

75

TL;DR

At the top of your notebook

from IPython.display import Audio
sound_file = './sound/beep.wav'

sound_file should point to a file on your computer, or accessible from the internet.

Then later, at the end of the long-running cell

<code that takes a long time>

Audio(sound_file, autoplay=True)

This method uses the Audio tag built into Newer versions of iPython/Jupyter.

Note For Older Versions

Older versions without the Audio tag can use the following method.

Put this in a cell and run it before you want to play your sound:

from IPython.display import HTML
from base64 import b64encode

path_to_audio = "/path/to/snd/my-sound.mp3"
audio_type = "mp3"

sound = open(path_to_audio, "rb").read()
sound_encoded = b64encode(sound)
sound_tag = """
    <audio id="beep" controls src="data:audio/{1};base64,{0}">
    </audio>""".format(sound_encoded, audio_type)

play_beep = """
<script type="text/javascript">
    var audio = document.getElementById("beep");
    audio.play();
</script>
"""

HTML(sound_tag)

At the end of the cell you want to make a noise on completion put this:

HTML(play_beep)

How it works:

It reads a file from the filesystem using iPython's built in open and read methods. Then it encodes this into base64. It then creates an audio tag with the ID beep and injects the base64 data into it. The final piece of setup creates a small script tag that plays the sound.

This method should work in any browser that supports the HTML5 audio tag.

Note: if you'd rather not display the audio controls in your notebook, just remove the controls attribute from the variable named sound_tag

6
  • 23
    instead of finding a sound file, you can also specify a numpy array: wave = np.sin(2*np.pi*400*np.arange(10000*2)/10000) and then: Audio(wave, rate=10000, autoplay=True) ... to play a 400Hz sine wave for 2 seconds at a sampling rate of 10000
    – S.A.
    Commented Mar 23, 2018 at 12:16
  • 2
    Similar to this you can have the Jupyter notebook speak and say "Done". See Peter Parente's poste here.
    – Wayne
    Commented Apr 26, 2019 at 21:19
  • 1
    I simply assign notify=Audio(sound_file, autoplay=True) and just put a notify at the end of every long-running cell to play the music. Commented Apr 25, 2020 at 11:12
  • On Jupyterlab 3.0.3 I had to pass sound_file as a keyword argument: Audio(filename=sound_file, autoplay=True).
    – sgillen
    Commented Feb 10, 2021 at 21:15
  • can that work as a cell magic? Commented Oct 4, 2021 at 20:38
29

My favorite solution (no need for an external module) :

import os
os.system("printf '\a'") # or '\7'

Works on OS X.

However DaveP's remark still apply : it is not the browser playing the sound but the server.

3
  • 3
    @Seanny123 Will not work if you have disabled the system beep.
    – jadelord
    Commented Sep 13, 2018 at 11:02
  • This is amazing! Is there a way to change the sound?
    – RHaguiuda
    Commented Feb 1, 2023 at 17:15
  • 1
    @RHaguiuda \a is called the bell character. In OS X it plays the system warning sound, which you can change in the System Preferences. I don't know about other platforms.
    – Arthur
    Commented Feb 2, 2023 at 22:02
17

Here is another version (Python-side mostly) which works well with JupyterLab:

from time import time
from IPython import get_ipython
from IPython.display import Audio, display


class Beeper:

    def __init__(self, threshold, **audio_kwargs):
        self.threshold = threshold
        self.start_time = None    # time in sec, or None
        self.audio = audio_kwargs

    def pre_execute(self):
        if not self.start_time:
            self.start_time = time()

    def post_execute(self):
        end_time = time()
        if self.start_time and end_time - self.start_time > self.threshold:
            audio = Audio(**self.audio, autoplay=True)
            display(audio)
        self.start_time = None


beeper = Beeper(5, url='http://www.soundjay.com/button/beep-07.wav')

ipython = get_ipython()
ipython.events.register('pre_execute', beeper.pre_execute)
ipython.events.register('post_execute', beeper.post_execute)

The beep will automatically be emitted after each code execution which took more than 5 seconds, but the consecutive executions are not counted together.

For example:

# cell 0:
from time import sleep
# cell 1:
sleep(6)    # will ring

If you then add another cell

# cell 3:
sleep(3)    # it won't ring

Tested with JupyterLab 0.32.1 and Jupyter notebook 5.5.0.

Edit: to reduce the clutter of the shown audio players I use following snippet (for Python older than 3.6 you need to use .format() instead of f-strings):

from IPython.display import Audio, display


class InvisibleAudio(Audio):
    def _repr_html_(self):
        audio = super()._repr_html_()
        audio = audio.replace('<audio', f'<audio onended="this.parentNode.removeChild(this)"')
        return f'<div style="display:none">{audio}</div>'

and then use InvisibleAudio instead of Audio in post_execute.

3
  • Have you found a way in JupyterLab to play audio without showing the audio controls? EDIT: the solution from here works: display(HTML("<style>audio{display:none}</style>")). It does leave a slightly larger blank output area than a cell with no output, however.
    – Nathan
    Commented Sep 18, 2018 at 3:20
  • 1
    @Nathan - sure, I added my way of doing that into the answer. It's a bit better in that way that it does not hide every audio player in the notebook but only those which are beepers.
    – krassowski
    Commented Sep 18, 2018 at 9:55
  • This is very useful and it should come default in jupyter notebook env! thanks Commented May 4, 2022 at 17:35
10

To avoid importing any external modules, using the below code snippet in the Python Notebook, one can run this cell subsequently after the first one, making a beep noise after your current running cell has finished execution.

from IPython.display import Audio
import numpy as np

beep = np.sin(2*np.pi*400*np.arange(30000*2)/10000)
Audio(beep, rate=10000, autoplay=True)
2
  • 2
    this was the easiest/simplest for me. I recommend this for a shorter/less shrill tone :-) beep = np.sin(2*np.pi*800*np.arange(3000*2)/10000); Audio(beep, rate=3000, autoplay=True)
    – subelsky
    Commented Dec 6, 2023 at 19:09
  • 1
    I wish I could upvote this one higher. No downloads, single snippet that I can paste in even if a previous long-running cell is running. Commented Aug 30 at 14:01
8

What about typing the code once and having it work after execution of every cell if it executes longer than given amount of time?

Just create and execute a cell with following JavaScript (adjusting timeout and sound)

%%javascript
(function(){
    var startTime;
    $([Jupyter.events]).on('execute.CodeCell', function(event, target)
    {
        startTime = performance.now();
    });
    $([Jupyter.events]).on('finished_iopub.Kernel', function(event, target)
    {
        var endTime = performance.now();

        if(endTime - startTime > 5 * 1000)
        {
            var audio = new Audio('http://www.soundjay.com/button/beep-07.wav');
            audio.play();    
        }
    });
})()

After that, you should hear the 'beep' after each code execution which took more than 5 seconds. For example:

# cell 0:
from time import sleep
# cell 1:
sleep(6)    # will ring

If you then add another cell

# cell 3:
sleep(3)    # it won't ring

Unless you execute several cells at a time:

# cell 4:
sleep(3)
# cell 5:
sleep(3)    # will ring if queued for execution after cell 4

Tested with Jupyter notebook 5.5.0.

The code might require further improvements (feel free to edit). To make it work on Google Colab, one needs to load jQuery on their own. Does not seem to work with JupyterLab yet.

To turn off, use:

%%javascript
// a slightly better version would unbind only the handlers defined above 
$([Jupyter.events]).unbind('execute.CodeCell')
$([Jupyter.events]).unbind('finished_iopub.Kernel')

You can also use base64 encoded beep sound (see this answer and this gist):

var audio = new Audio('data:audio/wav;base64,//uQRAAAAWMSLwUIYAAsYkXgoQwAEaYLWfkWgAI0wWs/ItAAAGDgYtAgAyN+QWaAAihwMWm4G8QQRDiMcCBcH3Cc+CDv/7xA4Tvh9Rz/y8QADBwMWgQAZG/ILNAARQ4GLTcDeIIIhxGOBAuD7hOfBB3/94gcJ3w+o5/5eIAIAAAVwWgQAVQ2ORaIQwEMAJiDg95G4nQL7mQVWI6GwRcfsZAcsKkJvxgxEjzFUgfHoSQ9Qq7KNwqHwuB13MA4a1q/DmBrHgPcmjiGoh//EwC5nGPEmS4RcfkVKOhJf+WOgoxJclFz3kgn//dBA+ya1GhurNn8zb//9NNutNuhz31f////9vt///z+IdAEAAAK4LQIAKobHItEIYCGAExBwe8jcToF9zIKrEdDYIuP2MgOWFSE34wYiR5iqQPj0JIeoVdlG4VD4XA67mAcNa1fhzA1jwHuTRxDUQ//iYBczjHiTJcIuPyKlHQkv/LHQUYkuSi57yQT//uggfZNajQ3Vmz+Zt//+mm3Wm3Q576v////+32///5/EOgAAADVghQAAAAA//uQZAUAB1WI0PZugAAAAAoQwAAAEk3nRd2qAAAAACiDgAAAAAAABCqEEQRLCgwpBGMlJkIz8jKhGvj4k6jzRnqasNKIeoh5gI7BJaC1A1AoNBjJgbyApVS4IDlZgDU5WUAxEKDNmmALHzZp0Fkz1FMTmGFl1FMEyodIavcCAUHDWrKAIA4aa2oCgILEBupZgHvAhEBcZ6joQBxS76AgccrFlczBvKLC0QI2cBoCFvfTDAo7eoOQInqDPBtvrDEZBNYN5xwNwxQRfw8ZQ5wQVLvO8OYU+mHvFLlDh05Mdg7BT6YrRPpCBznMB2r//xKJjyyOh+cImr2/4doscwD6neZjuZR4AgAABYAAAABy1xcdQtxYBYYZdifkUDgzzXa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j+LkhyHGVGYjSUUKNpuJUQoOIAyDvEyG8S5yfK6dhZc0Tx1KI/gviKL6qvvFs1+bWtaz58uUNnryq6kt5RzOCkPWlVqVX2a/EEBUdU1KrXLf40GoiiFXK///qpoiDXrOgqDR38JB0bw7SoL+ZB9o1RCkQjQ2CBYZKd/+VJxZRRZlqSkKiws0WFxUyCwsKiMy7hUVFhIaCrNQsKkTIsLivwKKigsj8XYlwt/WKi2N4d//uQRCSAAjURNIHpMZBGYiaQPSYyAAABLAAAAAAAACWAAAAApUF/Mg+0aohSIRobBAsMlO//Kk4soosy1JSFRYWaLC4qZBYWFRGZdwqKiwkNBVmoWFSJkWFxX4FFRQWR+LsS4W/rFRb/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////VEFHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAU291bmRib3kuZGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMjAwNGh0dHA6Ly93d3cuc291bmRib3kuZGUAAAAAAAAAACU=');
7

You could use an external module with python. Try adding this s.play() call from Snack Sound Toolkit at the end of the cell.

The Snack Sound Toolkit can play wav, au and mp3 files.

s = Sound() 
s.read('sound.wav') 
s.play()

this question is basically a duplicate of: Play a Sound with Python.

The above code-snipit was from @csexton in that question.

1
  • 7
    This is a nice answer, but the one problem with it is that it plays the sound on the machine running the notebook server, which may be different from the machine displaying the notebook. Definitely something can be done to make the browser play a sound instead.
    – DaveP
    Commented Jun 28, 2013 at 2:13
5

Honorable mention.

I came looking for this particular answer multiple times, but couldn't find it here.

winsound.Beep(freq, time_in_millisec)

I use:

winsound.Beep(300, 200)
winsound.Beep(300, 200)
winsound.Beep(300, 700)
1
  • 1
    Import winsound beforehand: from winsound import Beep, and then Beep(1000,1000). Here's a link to play a Super Mario music made with beeps!
    – kotchwane
    Commented Nov 10, 2020 at 15:08
3

Based on @krassowski's answer, here's my solution to this. The main difference is that @krassowski's runs after every every "long" cell execution (where you define what "long" means); I prefer to explicitly say when I want the sound played, so I've wrapped this into a line / cell magic (on GitHub and copied below):

"""
Adds a magic to IPython which will play a given sound when a cell finishes running.
Requires Python 3.6+.
Put this file in, e.g., ~/.ipython/profile_default/startup to load this magic on startup.

Usage:
``
%notify [-u/--url URL] [command]
``

Examples
``
%notify # no command needed
%notify run_long_command()
%notify -u https://www.example.com/sound.wav run_long_command()
``

There's also a cell magic version (don't put commands on the first line if using this).
``
%%notify [-u/--url URL]
command1()
command2()
...
``

To always play your preferred audio file, just change the default below.
"""

from typing import Optional
from IPython import get_ipython
from IPython.display import Audio, display
from IPython.core.magic import line_cell_magic, Magics, magics_class
from IPython.core.magic_arguments import argument, magic_arguments, parse_argstring


class _InvisibleAudio(Audio):
    """
    An invisible (`display: none`) `Audio` element which removes itself when finished playing.
    Taken from https://stackoverflow.com/a/50648266.
    """

    def _repr_html_(self) -> str:
        audio = super()._repr_html_()
        audio = audio.replace(
            "<audio", '<audio onended="this.parentNode.removeChild(this)"'
        )
        return f'<div style="display:none">{audio}</div>'


@magics_class
class NotificationMagics(Magics):
    """
    Inspired by https://stackoverflow.com/a/50648266.
    """

    @magic_arguments()
    @argument(
        "-u",
        "--url",
        default="https://freewavesamples.com/files/E-Mu-Proteus-FX-CosmoBel-C3.wav",
        help="URL of audio file to play.",
    )
    @argument(
        "line_code",
        nargs="*",
        help="Other code on the line will be executed, unless this is called as a cell magic.",
    )
    @line_cell_magic
    def notify(self, line: str, cell: Optional[str] = None):
        args = parse_argstring(self.notify, line)

        code = cell if cell else " ".join(args.line_code)
        try:
            ret = self.shell.ex(code)
        finally:
            audio = _InvisibleAudio(url=args.url, autoplay=True)
            display(audio)

        return ret


get_ipython().register_magics(NotificationMagics)
2

Slightly different take based on krassowski's solution: play a sound only after there are no more cells queued for execution. Just copy this code in a cell and run it once:

%%javascript
(function(){ // ding after some cell(s) was running for more than 5 s
    var startTime = performance.now();
    var running = 0;
    $([Jupyter.events]).on('execute.CodeCell', function(event, target)
    {
        startTime = performance.now();
    });
    
    $([Jupyter.events]).on('finished_execute.CodeCell', function(event, target)
    {
        var endTime = performance.now();   
        //console.log(`elapsed time from last run command [ms] ${endTime - startTime}` );
        if(endTime - startTime > 5 * 1000)
         {
             // check how many running cells there are based on their css class
             // changing this class is asynchronous and may take a while
             // --> introduce 200 ms delay to get the correct reading
             // (if last cell(s) take less than 200 ms the sound will be played multiple times)
             setTimeout(() => {  
                 var running = document.querySelectorAll('.running');
                 //console.log(`remaining running cells: ${running.length}`);             
                 if(running.length == 0){
                     var audio = new Audio("data:audio/mpeg;base64,SUQzAwAAAAABLFRSQ0sAAAACAAAAMVRZRVIAAAAFAAAAMjAyMlREUkMAAAAFAAAAMjAyMlRYWFgAAAAhAAAARW5jb2RlZCBieQBMQU1FIDMuOTggKE1heCAwLjkuMSlUWFhYAAAAIgAAAEVuY29kaW5nIHRpbWUAMjAxMC0wOS0xN1QxMjo1NDo1OVRYWFgAAAAhAAAAVGFnZ2luZyB0aW1lADIwMTAtMDktMTdUMTI6NTQ6NTn/+5REAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYaW5nAAAADwAAAB4AAEIAAA4ODh0dHSwsLDs7OztHR0dTU1NdXV1daGhocXFxeHh4eICAgIeHh46Ojo6WlpacnJyjo6OjqampsbGxt7e3t76+vsTExMTKysrR0dHX19fd3d3d5eXl6+vr6/Hx8ff39////wAAAFBMQU1FMy4xMDAEuQAAAAAAAAAANSAkAoiNAAHgAABCAIc9HmoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqo=");
                     audio.play(); 
                 };
              }, 200);   
         } 
    }); 
})()

The difference is that it checks the number of remaining queued cells based on their CSS class and plays the sound only if there are no more cells to be run.

# cell 0:
from time import sleep
sleep(6)
# cell 1:
sleep(6)    # will ring only once if queued for execution

Also note that the script starts the timer with the last execution request, so if you happen to queue a cell right before the previous one finishes, it will not ring.

# cell 2:
sleep(6)
# cell 3: 
sleep(2)  # queued right after cell 2
# cell 4:
sleep(2)  # will NOT ring if queued during execution of cell 3 (after cell 2 is finished)   

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.