search for: pout

Displaying 20 results from an estimated 41 matches for "pout".

Did you mean: out
2004 Aug 06
0
Lost ogg sync using jspeex
...ataLine = (TargetDataLine) AudioSystem.getLine(dataLineInfo); System.out.println("TargetDataLine Created"); //SourceDataLine sourceDataLine = (SourceDataLine) AudioSystem.getLine(outputDataLineInfo); AudioInputStream auin=new AudioInputStream(targetDataLine); PipedOutputStream pout=new PipedOutputStream(); //PipedInputStream pin=new PipedInputStream(pout); //ServerSocket serverSocket = new ServerSocket(5555); Pcm2SpeexAudioInputStream pcm2speex=new Pcm2SpeexAudioInputStream(auin, audioFormat, AudioSystem.NOT_SPECIFIED); SpeexPlayer speexPlayer = new SpeexPlayer(po...
2004 Aug 06
0
Lost ogg sync using jspeex
...ataLine = (TargetDataLine) AudioSystem.getLine(dataLineInfo); System.out.println("TargetDataLine Created"); //SourceDataLine sourceDataLine = (SourceDataLine) AudioSystem.getLine(outputDataLineInfo); AudioInputStream auin=new AudioInputStream(targetDataLine); PipedOutputStream pout=new PipedOutputStream(); //PipedInputStream pin=new PipedInputStream(pout); //ServerSocket serverSocket = new ServerSocket(5555); Pcm2SpeexAudioInputStream pcm2speex=new Pcm2SpeexAudioInputStream(auin, audioFormat, AudioSystem.NOT_SPECIFIED); SpeexPlayer speexPlayer = new SpeexPlayer(po...
2009 Jan 30
1
simulating outcomes - categorical distribution (?)
Hi, I am simulating an event that has 15 possible outcomes and I have a vector 'pout' that gives me the probability of each outcome - different outcomes have different probabilities. Does anyone know a simple way of simulating the outcome of my event? If my event had only two possible outcomes (0/1) I would pick a uniform random number between 0 and 1 and use it to choose betw...
2004 Aug 06
0
Please Help, Lost ogg sync using jspeex
...em.getLine(dataLineInfo);<BR> System.out.println("TargetDataLine Created");<BR> //SourceDataLine sourceDataLine = (SourceDataLine) AudioSystem.getLine(outputDataLineInfo);<BR> AudioInputStream auin=new AudioInputStream(targetDataLine);<BR> PipedOutputStream pout=new PipedOutputStream();<BR> //PipedInputStream pin=new PipedInputStream(pout);<BR> //ServerSocket serverSocket = new ServerSocket(5555);<BR> Pcm2SpeexAudioInputStream pcm2speex=new Pcm2SpeexAudioInputStream(auin, audioFormat, AudioSystem.NOT_SPECIFIED);<BR> SpeexPla...
2004 Aug 13
2
lapply problem
...help, I wish to replace NULL elements(or missing) in the following list : > z2 $cod mean sd 62.56190 12.65452 $haddock mean sd 36.61490 11.50365 $ling mean sd 86.17949 20.43587 $saithe mean sd 50.275847 5.453606 $whiting NULL $"norway pout" mean sd 13.739623 1.393104 $"great silver smelt" mean sd 25.600000 1.549193 $"norway hadock" mean sd 24.685225 3.902989 If I use lapply(z2,function(x) ifelse(is.null(x),0,as.numeric(x))) I get > z2 $cod [1] 62.5619 $h...
2008 Sep 01
7
Slow performance with many 3D games
Lots of 3D games such as Team Fortress 2, Audiosurf or Stalker have very low performance in comparison to running on the same computer on Windows. What can I do to improve it? What developers have still to implement to fully support 3D rendering?
2011 May 04
1
bivariate linear interpolation
Hi, I have three matrices (X,Y,P) with the same dimension. The X,Y grid is regular and I want to perform linear interpolation to pick out certain points. In matlab appropriate call is something like Pout=interp2(X,Y,P,Xout,Yout, method="linear") where Xout and Yout are the locations where I want the Pout data (typically a different grid). (Scipy has this routine in interpolate.interp2d, with similar arguments) In R there is (as often) the choice between many different interpolation rou...
2002 May 14
0
[Bug 241] New: When I kill scp, the underlying ssh child process remains alive
...if execution fails, and >= 0 otherwise. This *************** *** 167,173 **** close(reserved[1]); /* For a child to execute the command on the remote host using ssh. */ ! if (fork() == 0) { /* Child. */ close(pin[1]); close(pout[0]); --- 171,178 ---- close(reserved[1]); /* For a child to execute the command on the remote host using ssh. */ ! /* esb */ ! if ((childpid = fork()) == 0) { /* Child. */ close(pin[1]); close(pout[0]); *************** *...
2004 Aug 06
0
JSpeex help
...w AudioFormat (AudioFormat.Encoding.PCM_SIGNED, 8000, 16, 1, 2, 8000, true); DataLine.Info targetInfo = new DataLine.Info (TargetDataLine.class, format, 8000); TargetDataLine tdl = (TargetDataLine) AudioSystem.getLine (targetInfo); AudioInputStream auin=new AudioInputStream (tdl); PipedOutputStream pout=new PipedOutputStream(); PipedInputStream pin=new PipedInputStream(pout); pcm2speex=new Pcm2SpeexAudioInputStream (pin, format, AudioSystem.NOT_SPECIFIED); tdl.open(format,8000); t.input.start(); double ratio = t.bufferlength / t.framelength; byte[] frame=new byte[t.framelength]; while(true) { i...
2001 Nov 30
1
graphics device updating (PR#1189)
...os Win32 system x86, Win32 status major 1 minor 3.1 year 2001 month 08 day 31 language R Many thanks for any ideas you might have on that Alastair Alastair Pout PhD Student The Macaulay Institute Craigiebuckler Aberdeen AB15 8QH Tel: +(44) (0) 1224 498200 Ext 2428 e-mail: a.pout@macaulay.ac.uk -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send...
2012 Jan 11
2
Vegan(ordistep) error: Error in if (aod[1, 5] <= Pin) { : missing value where TRUE/FALSE needed
...track down the cause of the error. Error in if (aod[1, 5] <= Pin) { : missing value where TRUE/FALSE needed In addition: There were 50 or more warnings (use warnings() to see the first 50) traceback() 9: ordistep(myrda0, scope = formula(myrda1), direction = "both", Pin = 0.05, Pout = 0.1) at RDAPARTIALSexandAgeConnectandGEOGraphy2.R#86 8: eval(expr, envir, enclos) at RDAPARTIALSexandAgeConnectandGEOGraphy2.R#86 7: eval(expr, pf) at RDAPARTIALSexandAgeConnectandGEOGraphy2.R#86 6: withVisible(eval(expr, pf)) at RDAPARTIALSexandAgeConnectandGEOGraphy2.R#86 5: evalVis(expr) at RD...
2004 Aug 06
0
JSpeex help
...AudioFormat (AudioFormat.Encoding.PCM_SIGNED, 8000, 16, 1, 2, 8000, true);DataLine.Info targetInfo = new DataLine.Info (TargetDataLine.class, format, 8000);TargetDataLine tdl = (TargetDataLine) AudioSystem.getLine (targetInfo);AudioInputStream auin=new AudioInputStream (tdl);PipedOutputStream pout=new PipedOutputStream();PipedInputStream pin=new PipedInputStream(pout);pcm2speex=new Pcm2SpeexAudioInputStream (pin, format, AudioSystem.NOT_SPECIFIED);tdl.open(format,8000);t.input.start();double ratio = t.bufferlength / t.framelength; byte[] frame=new byte[t.framelength];while(true) {  int...
2004 Aug 06
3
q about jspeex
Hi Marc, thanks for the quick reply. Marc Gimpel wrote: > It would appear the the 'pcm2speex.read(frame, 0, frame.length)' is > blocking which means that it is waiting for data from the underlying > inputstream (i.e.AudioInputStream(t.input)). If it could read > sufficient data it would transcode it. If it recieved an EOF, it > should do some zero padding and then
2012 Jan 10
0
Error message in vegan ordistep
...use of the error. Nevil Amos Error in if (aod[1, 5] <= Pin) { : missing value where TRUE/FALSE needed In addition: There were 50 or more warnings (use warnings() to see the first 50) > traceback() 9: ordistep(myrda0, scope = formula(myrda1), direction = "both", Pin = 0.05, Pout = 0.1) at RDAPARTIALSexandAgeConnectandGEOGraphy2.R#86 8: eval(expr, envir, enclos) at RDAPARTIALSexandAgeConnectandGEOGraphy2.R#86 7: eval(expr, pf) at RDAPARTIALSexandAgeConnectandGEOGraphy2.R#86 6: withVisible(eval(expr, pf)) at RDAPARTIALSexandAgeConnectandGEOGraphy2.R#86 5: evalVis(expr) at RD...
2001 May 19
0
More scp changes
...n fails, and >= 0 otherwise. This + * given host. If host is NULL, execute the command locally without using + * ssh. This returns < 0 if execution fails, and >= 0 otherwise. This * assigns the input and output file descriptors on success. */ @@ -143,10 +144,14 @@ { int pin[2], pout[2], reserved[2]; - if (verbose_mode) - fprintf(stderr, "Executing: program %s host %s, user %s, command %s\n", - ssh_program, host, remuser ? remuser : "(unspecified)", cmd); - + if (verbose_mode) { + if (host) { + fprintf(stderr, "Executing: program %s host %s,...
2007 Jun 10
1
R logistic regression - comparison with SPSS
...obtain results for a logistic regression under R. The following SPSS script LOGISTIC REGRESSION vir /METHOD = FSTEP(LR) d007 d008 d009 d010 d011 d012 d013 d014 d015 d016 d017 d018 d069 d072 d073 /SAVE = PRED COOK SRESID /CLASSPLOT /PRINT = GOODFIT CI(95) /CRITERIA = PIN(.10) POUT(.10) ITERATE(40) CUT(.5) . predicts vir (value 0 or 1) according to my parameters d007 to d073. It gives me the parameters to retain in the logistic equation and the intercept. The calculation is made from a set of values of about 1.000 cases. I have been unable to translate it with success under...
2011 Jan 06
4
Different LLRs on multinomial logit models in R and SPSS
...AME DataSet1 WINDOW=FRONT. VALUE LABELS /y 1 "A" 2 "B" 3 "C". EXECUTE. NOMREG y (BASE=1 ORDER=ASCENDING) WITH a b c /CRITERIA CIN(95) DELTA(0) MXITER(100) MXSTEP(5) CHKSEP(20) LCONVERGE(0) PCONVERGE(0.000001) SINGULAR(0.00000001) /MODEL /STEPWISE=PIN(.05) POUT(0.1) MINEFFECT(0) RULE(SINGLE) ENTRYMETHOD(LR) REMOVALMETHOD(LR) /INTERCEPT=INCLUDE /PRINT=FIT PARAMETER SUMMARY LRT CPS STEP MFI IC. ', file=syntaxfile, sep="", append=F) -> Loglik0: 135.02 -> Loglik1: 129.80 Thanks, S?ren
2013 Jun 20
1
ProxyCommand that returns a socket
Hello, My usage of ProxyCommand just calls the nc utility with various parameters. That in turn after the initial setup just copies copies the data from the network socket to stdin/stdout. This useless coping can be avoided if ssh has an option to receive the socket from the proxy command. I suppose it can improve network error reporting as ssh would talk directly to the network socket rather
2007 Mar 14
1
sshd gets stuck: select() in packet_read_seqnr waits indefinitely
Dear OpenSSH Portable sshd developers, I'm having a problem where sshd login sessions are occasionally (as often as once a day) getting stuck indefinitely. I enabled debug messages and got a backtrace of a stuck sshd, and I think I've found the bug. I wanted to run it by the list once before filing. sshd version: OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004
2004 Aug 06
0
q about jspeex
Hi, i changed the read method after constructing a pipedinputstream/opipedoutputstream to int n=auin.read(frame, 0, frame.length); System.out.println(""+n+" bytes read."); pout.write(frame); int m=pcm2speex.read(); System.out.println("something recieved"); and still can't recieve a single value from the pipe .. thanks, ulrich Ulrich B. Staudinger wrote: > Hi Marc, > than...