Skip to content

A macro to play a bell after running a command in a Jupyter notebook.

License

Notifications You must be signed in to change notification settings

neighthan/IJuliaBell.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

A macro to play a bell after running a command in a Jupyter notebook.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages