File: test.sh

package info (click to toggle)
wavsplit 1.1.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 168 kB
  • ctags: 90
  • sloc: ansic: 687; makefile: 62; sh: 14
file content (42 lines) | stat: -rwxr-xr-x 1,349 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh
# minutes and seconds, frames - illegal frames
./wavsplit --frames 12 ~/waves/long.wav 50:01:12.2 119:59:2.2

# minutes and seconds, frames - illegal frames
./wavsplit --frames 24 ~/waves/long.wav 50:01:24.0 119:59:2.2

# minutes and seconds, frames - illegal frames
./wavsplit --frames 25 ~/waves/long.wav 50:01:25.0 119:59:2.2

# minutes and seconds, frames - illegal frames
./wavsplit --frames 30 ~/waves/long.wav 50:01:30.0 119:59:2.2

# minutes and seconds, frames OK
./wavsplit --frames 12 ~/waves/long.wav 50:01:11.99 119:59:2.2

# minutes and seconds, frames OK
./wavsplit --frames 24 ~/waves/long.wav 50:01:23.99 119:59:2.2

# minutes and seconds, frames OK
./wavsplit --frames 25 ~/waves/long.wav 50:01:24.99 119:59:2.2

# minutes and seconds, frames OK
./wavsplit --frames 30 ~/waves/long.wav 50:01:29.99 119:59:2.2

# minutes and seconds - illegal seconds
./wavsplit ~/waves/long.wav 50:01.3 119:60.2

# minutes and seconds OK
./wavsplit ~/waves/long.wav  50:01.3 119:10.2 

# hours, minutes, seconds - illegal minutes
./wavsplit --Hours ~/waves/long.wav 0:60:01.3 1:59:10.2

# hours, minutes, seconds - illegal seconds
./wavsplit --Hours ~/waves/long.wav 0:50:01.3 1:59:60.2

# hours, minutes, seconds - OK
./wavsplit --Hours ~/waves/long.wav 0:50:01.3 1:59:10.2

# seconds
./wavsplit --seconds ~/waves/long.wav 3001.3 7150.2