search for: loadsamples

Displaying 4 results from an estimated 4 matches for "loadsamples".

Did you mean: loadsample
2014 Feb 19
0
Extending a module to models causes ArgumentError A copy of xx has been removed from module tree
How can I extend a module to a model class and use an instance of a custom class as a class instance variable for model such that when next request comes, custom class could be found and older instances are deleted? I created a class Samples. I also created a module LoadSamples where in a method say load_samples, I create a new Samples instance and assign it to a class instance variable. I extend LoadSamples to ActiveRecord::Base and called load_samples from model User. class Samples ... end module LoadSamples attr_accessor :samples def load_samples @samples |...
2007 Jul 08
0
patch to enhance sound module for 96 kHz/24 bit sample sizes
Greetings Matthias, Thanks again for your sound module. I did not ever manage to find the time to play with phase equations, but I found I needed the module for a new project involving bats. I needed to do some work @ 96 kHz/24 bit sample size, and found the limitations of the sound package stop at 48 kHz and 16 bit samples. Here's a patch to bring things up to 96/24. Sorry I cannot
2008 Oct 10
1
formal argument "axes" matched by multiple actual arguments
Hi, I'm using the add-on package "sound".I have the following > q<-loadSample("a.wav") > plot.Sample(q,axes=FALSE) this gives me the error. Error in plot.default(sound(s)[1, ], type = "l", col = "red", ylim = c(-1, : formal argument "axes" matched by multiple actual arguments I'm guessing the package has some predefined
2009 Jun 20
1
modifying sound package function plot.Sample
Hi, I'm trying to modify 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