File: MinWave.tcl

package info (click to toggle)
snack 2.2.10.20090623-dfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,764 kB
  • sloc: ansic: 32,662; sh: 8,558; tcl: 1,086; python: 761; makefile: 582
file content (13 lines) | stat: -rwxr-xr-x 269 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# the next line restarts using wish \
exec wish8.5 "$0" "$@"

package require -exact snack 2.2

pack [canvas .c -width 400 -height 100]

snack::sound s -load ex1.wav

.c create waveform 0 0 -sound s -width 400

pack [button .bClose -text Close -command exit]