Skip to content

Commit ee0ec05

Browse files
uliggescran-robot
authored andcommitted
version 1.4.7
1 parent 8e0117b commit ee0ec05

File tree

6 files changed

+21
-16
lines changed

6 files changed

+21
-16
lines changed

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: tuneR
2-
Version: 1.4.6
3-
Date: 2023-11-27
2+
Version: 1.4.7
3+
Date: 2024-04-16
44
Title: Analysis of Music and Speech
55
Authors@R: c(person("Uwe", "Ligges", email="ligges@statistik.tu-dortmund.de", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0001-5875-6167")),
66
person("Sebastian", "Krey", role = c("aut", "cph")),
@@ -23,7 +23,7 @@ Description: Analyze music and speech, extract features like MFCCs, handle wave
2323
Also contains functions ported from the 'rastamat' 'Matlab' package.
2424
License: GPL-2 | GPL-3
2525
NeedsCompilation: yes
26-
Packaged: 2023-11-27 13:50:25 UTC; ligges
26+
Packaged: 2024-04-16 12:56:48 UTC; ligges
2727
Author: Uwe Ligges [aut, cre, cph] (<https://orcid.org/0000-0001-5875-6167>),
2828
Sebastian Krey [aut, cph],
2929
Olaf Mersmann [aut, cph],
@@ -40,4 +40,4 @@ Author: Uwe Ligges [aut, cre, cph] (<https://orcid.org/0000-0001-5875-6167>),
4040
Matthias Heymann [ctb] (for ideas from the former 'sound' package)
4141
Maintainer: Uwe Ligges <ligges@statistik.tu-dortmund.de>
4242
Repository: CRAN
43-
Date/Publication: 2023-11-27 15:50:02 UTC
43+
Date/Publication: 2024-04-16 13:30:02 UTC

MD5

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
8e6945e210f3b83463283c4116fd50c5 *DESCRIPTION
1+
ef02d35d56a77c86ca3e99d9e462c79d *DESCRIPTION
22
7dc3df8acc1ff40ff42f32ce5f02363a *NAMESPACE
33
45b223e91054cfb57891222acf4fcfbd *R/FFrq.R
44
5f34167ad2d3e0bf1ba9bcf37aadd0f6 *R/MCnames.R
@@ -37,7 +37,7 @@ f168999d0365d3d03997d3d4c5fdd478 *R/panorama.R
3737
7898f70482fc9b46c51ad56a679f3baa *R/periodogram.R
3838
8f49073fa2a92526feb8b1dc8a2b2039 *R/play.R
3939
3b8830e371ea07ac2957cc6e5216b342 *R/plot-Wave.R
40-
62f2c2c97bb203b0c859dc82208b8da8 *R/plot-Wspec.R
40+
c9098b725670ffa7f9bd8f20999922a4 *R/plot-Wspec.R
4141
8eef3097523c392ad38dc2a205388f42 *R/postaud.R
4242
8b1355f1b22fb986109e1e928101938c *R/powspec.R
4343
b75ad8957ff9ddcf7668dd304b44314f *R/prepComb.R
@@ -70,7 +70,7 @@ a7e4c0d319295d63e642da4367e30a6e *man/Waveforms.Rd
7070
41681816e0c5239c88f5d072c8a3b000 *man/bind.Rd
7171
8b875285d6a62a2b559d458f9a475a4a *man/channel.Rd
7272
838d1ac0afecf92f2cb696ac0a8c3eea *man/deltas.Rd
73-
8e93f1176a30a72877e22bf43e2df58d *man/dolpc.Rd
73+
679fc7fd2bafe8b79788353d737500d6 *man/dolpc.Rd
7474
0f0cf8bbb96a4980728da093be9afdfa *man/downsample.Rd
7575
6f37e0076c3ac4991acc281aae0c8572 *man/equalWave.Rd
7676
ffc774f4d7e0af56ef257c11c94f3766 *man/extractWave.Rd
@@ -92,8 +92,8 @@ ba68fc70a299c1c7c2d0796ce3e22fdc *man/panorama.Rd
9292
fc37c67c80d78652c3fe6faf07319062 *man/periodogram.Rd
9393
5bf3b8d5ffb7a19ba5d90cb0a1567080 *man/play.Rd
9494
11ba76a03da74e4c252943e81ee71655 *man/plot-Wave.Rd
95-
791379384d8d131850863fb95c11be7d *man/plot-Wspec.Rd
96-
ecf80e0d62fc7eb7ec629e1899297fc5 *man/plot-WspecMat.Rd
95+
9491fbf81c90dcf9ac2a6551a1bf199f *man/plot-Wspec.Rd
96+
66e15efe828d083e46b8edffad421ced *man/plot-WspecMat.Rd
9797
adc9a0a09bd30e65f4bc190a4bbce3e3 *man/postaud.Rd
9898
bd48749ca855ead75da296556e4061c7 *man/powspec.Rd
9999
bc74aaec72fe004ed6b551449fe5e910 *man/prepComb.Rd

R/plot-Wspec.R

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
setMethod("plot", signature(x = "Wspec", y = "missing"),
2-
function(x, which = 1, type = "h", xlab = "Frequency", ylab = NULL, log = "", ...){
2+
function(x, which = 1, type = "h", xlab = "frequency", ylab = NULL, log = "", ...){
33

44
if(is.null(ylab)){
55
ylab <- if(x@normalize) "normalized periodogram" else "periodogram"
@@ -12,7 +12,7 @@ function(x, which = 1, type = "h", xlab = "Frequency", ylab = NULL, log = "", ..
1212

1313

1414
setMethod("plot", signature(x = "WspecMat", y = "missing"),
15-
function(x, xlab = "time", ylab = "Frequency", xunit = c("samples", "time"), log = "", ...){
15+
function(x, xlab = "time", ylab = "frequency", xunit = c("samples", "time"), log = "", ...){
1616
if(log == "z"){
1717
x@spec <- log(x@spec)
1818
log <- ""
@@ -22,10 +22,15 @@ function(x, xlab = "time", ylab = "Frequency", xunit = c("samples", "time"), log
2222
x@starts <- x@starts / x@samp.rate
2323
}
2424
image(x@starts, x@freq, x@spec, xlab = xlab, ylab = ylab, log = log, ...)
25+
26+
# actually image plots centered at x location, hence for low resolution the offset shown is incorrect and we'd rather need
27+
# offset <- diff(x@starts[1:2])/2
28+
# image(x@starts + offset, x@freq, x@spec, xlab = xlab, ylab = ylab, log = log, ...)
29+
# but this produces an ugly x axis with 0 excluded from the tick marks ...
2530
})
2631

2732
setMethod("image", signature(x = "Wspec"),
28-
function(x, xlab = "time", ylab = "Frequency", xunit = c("samples", "time"), log = "", ...){
33+
function(x, xlab = "time", ylab = "frequency", xunit = c("samples", "time"), log = "", ...){
2934
x <- as(x, "WspecMat")
3035
xunit <- match.arg(xunit)
3136
plot(x, xlab = xlab, ylab = ylab, xunit = xunit, log = log, ...)

man/dolpc.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spectrum: LPC or PLP coefficients). Every column represents one time frame.
1919
}
2020
\references{Daniel P. W. Ellis: \url{https://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/} }
2121
\author{ Sebastian Krey \email{krey@statistik.tu-dortmund.de} }
22-
\seealso{ \code{\link{levinson}} }
22+
\seealso{ \code{\link[signal]{levinson}} }
2323
\examples{
2424
testsound <- normalize(sine(400) + sine(1000) + square(250), "16")
2525
pspectrum <- powspec(testsound@left, testsound@samp.rate)

man/plot-Wspec.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
\title{Plotting Wspec objects}
66
\description{Plotting a periodogram contained in an object of class \code{Wspec}.}
77
\usage{
8-
\S4method{plot}{Wspec,missing}(x, which = 1, type = "h", xlab = "Frequency",
8+
\S4method{plot}{Wspec,missing}(x, which = 1, type = "h", xlab = "frequency",
99
ylab = NULL, log = "", ...)
1010
}
1111
\arguments{

man/plot-WspecMat.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
\title{Plotting WspecMat objects}
99
\description{Plotting a spectogram (image) of an object of class \code{Wspec} or \code{WspecMat}.}
1010
\usage{
11-
\S4method{plot}{WspecMat,missing}(x, xlab = "time", ylab = "Frequency",
11+
\S4method{plot}{WspecMat,missing}(x, xlab = "time", ylab = "frequency",
1212
xunit = c("samples", "time"), log = "", ...)
13-
\S4method{image}{Wspec}(x, xlab = "time", ylab = "Frequency",
13+
\S4method{image}{Wspec}(x, xlab = "time", ylab = "frequency",
1414
xunit = c("samples", "time"), log = "", ...)
1515
}
1616
\arguments{

0 commit comments

Comments
 (0)