1#!/bin/sh
2# the next line restarts using wish \
3exec wish8.4 "$0" "$@"
4
5package require -exact snack 2.2
6
7pack [canvas .c -width 300 -height 300]
8
9snack::sound s -load ex1.wav
10
11.c create section 0 0 -sound s -start 6000 -end 6100 -height 300 -width 300
12
13pack [button .bClose -text Close -command exit]
14