Displaying 20 results from an estimated 300 matches similar to: "Writing audio files (.wav) in a different directory"
2013 Feb 01
2
Nested loop and output help
Hello Everyone,
My name is Thomas and I have been using R for one week. I recently found
your site and have been able to search the archives of posts. This has
given me some great information that has allowed me to craft an initial
design to an inquiry I would like to make into the breakdown of McNemar's
test. I have read an intro to R manual and the posting guides and hope I am
not violating
2009 Jul 25
1
how to avoid a for looping break after an error message
Hi all,
I wrote a piece of code that generates simulated variables. after variable
generation I use them in several analyzes.
However, when I use a for to repeat the procedure 1000 times I get an erro
message in one of the "for" steps, precisely at this time:
gls.temp<- gls(y2 ~ x2,correlation=corExp(form=~coord2[,1]+coord2[,2])) #
coord 2 are spatial coordinates
and the error
2011 Apr 03
1
Asterisk 1.6 => No sound/voice when i redirect the call
Hi
i use this into my extension :
exten => _00339xxxxxxxx,1,Set(foo=${SIP_HEADER(To)})
exten => _00339xxxxxxxx,2,Set(cut1=${CUT(foo,:,2)})
exten => _00339xxxxxxxx,3,Set(CLI=${CUT(cut1,>,1)})
exten => _00339xxxxxxxx,4,Set(toexten=${CUT(CLI,@,1)})
exten => _00339xxxxxxxx,5,Noop(ORIGINAL NUMBER : [ ${toexten} ])
exten =>
2012 Jan 17
2
How to loop on file names
Dear all,
I need to do the same procedure on several files. But I don't know how
to refer to the file name.
Here is an example of what I am trying to do.
List of files: file1(A,B,C, D1...Dn), file2(A,B,C,E1,...,En),
file3(A,B,C,F1,...,Fn)
Procedure I want to apply on each file:
dft <- melt(df,id=c('A','B','C'))
dft$X <- substr(dft$variable,1,3)
dft$Y <-
2007 Oct 22
3
Spatial autocorrelation
Hi,
I have collected data on trees from 5 forest plots located within the
same landscape. Data within the plots are spatially autocorrelated
(calculated using Moran's I). I would like to do a ANCOVA type of
analysis combining these five plots, but the assumption that there is no
autocorrelation in the residuals is obviously violated. Does anyone have
any ideas how to incorporate these spatial
2012 Sep 26
3
Reading multiple files
Hi,
I have 35 data files for reading. I would like get a program for
performing reading of 35 files at once.
All are of the type: Dados1.raw, Dados2.raw and so on.
If the files have the same number of columns, I can read with the
following commands:
rm(list=ls())
filenames = list.files(path="~/Silvano/Arq", pattern="Dados+.*raw")
names = substr(filenames, 1, 7)
for(i in
2007 Aug 22
1
distance by vegan
How to calculate sorensen (bray-curtis) distance by dist function
within the vegan package?
Cheers
Duccio
2012 Jan 27
1
laod multichannel-audio-files with readWave (tuneR)
Hi,
I have a huge collection of 6-channel .wav files containing audio and
sensor recordings, which I need to analyse, across all 6 channels.
I'm thinking about what will be easier to do.
1. Just split the channels in an external audio-editor and than read
each mono channel seperatly with readWave (from tuneR), or
2. inherite the readWave class and extend it to multichannel reading?
What
2011 Oct 16
2
Use of ICA for sound
Hi,
I'm looking at the "cocktail party" classic problem.
I can see how to use ICA to separate the components. But, How do I then create new wav files of the separated sounds so that they can be played?
Thanks
--
Noah Silverman
UCLA Department of Statistics
8208 Math Sciences Building
Los Angeles, CA 90095
[[alternative HTML version deleted]]
2012 Nov 08
4
Accessing selected elements of a list
Hi,
If I have a vector:
junk <- c(2,0,0,3,0)
and want to access, say, all the elements that are greater than zero. I just do:
junk[which(junk>0)]
Now, If I have a list:
jlist <- list(NULL,c(1,0),NULL,c(1,2,3), NULL)
and want to access all the elements that have length greater than zero, I know how to find the elements with:
which(sapply(jlist,length)>0)
But how do I get a
2009 Dec 18
1
Doubts about ADE-4
Hi,
I'm having some troubles in using the ADE-4 package. I want to analyze data
for the Outlying Mean Index in the function 'niche'. I've got two matrixes:
one for environmental data and the other for species abundance data. But to
implement the analysis, as I understand it, I need to put tocheger these two
matrixes in one, as in the example provided with the package. Un
2000 Oct 09
2
a listening test tool
"Willmore, David (VS Central)" wrote:
>
> Can ogg22pl take input from standard in? Sometimes leaving the file name
> off will default it to that or by putting a '-' as the file name. Similar
> things go for standard out. (stop me if these aren't familiar terms)
Ogg22pl is is ogg123 with only the sampling rate variable changed. So if
ogg123 can do that,
2003 Jun 21
1
Doubts about Winbindd
Hi,
I'm trying to set up a PDC using Samba on a Linux server. I need to the
linux clients, using KDE desktop, log in the PDC using the KDE login box. I
think I could use the 'winbindd' to do what I need but, I still have some
questions:
1. Do I need to set up winbindd on each Linux client to log on the
Linux PDC ?
2. Do I need to set up winbindd on the Linux PDC
2009 Mar 11
4
error.bars
Hi, I'm trying to use the function "error.bars", but the program don't
find it, and I dont't found any package with this function. Is there some
another functin to draw barplots with error bars?
Sueli Rodrigues
Eng. Agr?noma - UNESP
Mestranda - USP/ESALQ
PPG-Solos e Nutri??o de Plantas
Fones (19)93442981
(19)33719762
2003 Sep 18
0
Shares visible depending on used share name's initial letter
Hi,
I'm using latest Samba version 2.2.8a and are preparing a production
server system, which was working fine recently in development stage. My
system is basically a SuSE 8.2 Pro with some of the applications being
installed manually from source.
I'm using CUPS as printer backend and add printers to the system using
lpadmin
Afterwards I make a reload (or even a restart) of smbd and
2005 Jun 15
1
Reducing the FPR (false positive rate)
Hello R-USERS,
I think some people didn't understand my question. What I want is to
use the training set to minimize the FALSE POSITIVE RATE.
I think it is possible. I sacrifice ACCURACY to have less FALSE
POSITIVES. I don't want a classifier result with 5% of FPR and, for
example, 93% of ACCURACY. I want a 1% FPR sacrificing the 93% ACCURACY.
Do you know how can I do this? I really
2005 Jun 14
1
How to fix false positve rates?
Dear R-users,
I have a set of 12000 image samples. I can divide this set into two
categories: training and testing. I need to classify the test set into
a two qualitative outputs: true or false for some characteristic.
To do the classification I'm using the packages SVM in e1071 library
and LDA in the MASS library. However, I'm with a great number of FALSE
POSITIVE CASES in both
2011 Jun 29
1
Fwd: help
Hi
I have imported some files to a list, called "importa".
There are 43 files (importa[1], importa[2], ..., importa[43]). Now, I'm
trying to create a new table in "r". Each table will got the data from the
importa partition. Like file1<-importa[1].
I tried two ways:
c<-list()
for (i in 1:43) {
c[i]=paste("prova",a[i],sep="")}
i <- 1
for (j in c)
2003 May 10
4
Wireless IP phone for *PBX
Dear Guys,
One of my customers ask me for a Wireless IP PBX, well the Asterisk fits IP
PBX, But what about Wireless, ans also portable, a very special cutomer :)
1.-one possible solution is a PDA with one of those SIp softphones but VERY
EXPENSIVE for the PDA
2.- a fxs channel bank and lots of Panasonic like wireless phone but the
question is
1.- can my customer use all the features
2010 Nov 28
6
has_one accepts_nested_attributes_for fields_for NOT WORKING HELP
MODEL
class User < ActiveRecord::Base
has_one :address, :dependent => :destroy
accepts_nested_attributes_for :address
end
CONTROL
def new
@user = User.new
@user.build_address # Adicionei
...
VIEW partial _form
....
<% f.fields_for :address do |b| %> # Adicionei
<%= b.text_field :city_manual %> # Adicionei
<% end %>