IJuliaBell.jl

A macro to play a bell after running a command in a Jupyter notebook.
Author neighthan
Popularity
3 Stars
Updated Last
1 Year Ago
Started In
April 2020

IJuliaBell

This adds the @bell macro which can be used in Jupyter notebooks to play a .wav file once a command completes. This is a Julia port of ipy_cell_completion_bell.

Installation

using Pkg
Pkg.add("IJuliaBell")

Usage

using IJuliaBell

@bell sleep(3)

Custom .wav file

The package includes a .wav from Free Wave Samples (slightly shortened to reduce file size), but you can replace the installed bell.wav file with another to use it instead (the file must be named bell.wav, though, and be in the same directory, unless you change the source code of the package).

Used By Packages

No packages found.