search for: sampletest

Displaying 3 results from an estimated 3 matches for "sampletest".

Did you mean: sample_test
2009 Jun 20
1
modifying sound package function plot.Sample
...dify this function.I want to remove the existing xaxis(the tick marks and the values below each tick) and make it dynamic so that i can choose whether i want the xaxis at the top or bottom but i cant seem to change that.can somebody help me? plot.Sample <- function(x,xlab=NULL,ylab=NULL,...){ sampletest <- is.Sample(x,argname="'x' ") if (!sampletest$test) stop(sampletest$error) s <- loadSample(x,filecheck=FALSE) s <- normalize(s) if (channels(s)==1) { # if (is.null(ylab)) ylab <- "waveform" plot(sound(s)[1,],type="l",col="black&quo...
2007 Jul 08
0
patch to enhance sound module for 96 kHz/24 bit sample sizes
...<1000 || value>96000) + stop("Rate must be an number between 1000 and 96000.") if (rate(s)==value) return(s) ch <- channels(s) sound(s) <- sound(s)[,as.integer(seq(1,sampleLength(s)+.9999,by=rate(s)/value))] @@ -433,8 +455,8 @@ setBits <- function(s,value){ sampletest <- is.Sample(s) if (!sampletest$test) stop(sampletest$error) - if (mode(value)!="numeric" || (value!=8 && value!=16)) - stop("Number of bits must be 8 or 16.") + if (mode(value)!="numeric" || (value!=8 && value!=16 && value!=24)) +...
2015 Jan 11
3
[LLVMdev] [RFC] [PATCH] add tail call optimization to thumb1-only targets
...the lit testsuite I get 4 failures which I attribute at a first analysis to the fact that the generated code for tail calls results in different output that no longer matches the expectation strings. Yours, Björn -------------- next part -------------- A non-text attachment was scrubbed... Name: sampleTests.tar.gz Type: application/x-gzip Size: 1119 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150111/57000648/attachment.bin> -------------- next part -------------- Index: Thumb1FrameLowering.cpp ===========================================================...