Displaying 20 results from an estimated 32 matches for "inputstream".
2009 Mar 02
2
[Fwd: RE: Mixing inputstreams.]
...merically add up the appropriate Bytes
from each of the streams? If that's so would we be better add first,
then to normalise after the additon, so the final byte size is the same
as the individual ones, what ever that may be.
-------- Original Message --------
Subject: RE: [Vorbis] Mixing inputstreams.
Date: Tue, 3 Mar 2009 01:12:35 +1300
From: Ross Levis <ross at stationplaylist.com>
Organisation: http://www.stationplaylist.com
To: 'Fish' <fish at ghostsofp.com>
References: <49ABBDD0.1040505 at ghostsofp.com>
You can simply add the values of each sample togeth...
2013 Sep 26
2
Read shortcuts of MS Excel files through R
...ead
the shortcuts through R and using "read" functions of "xlsx" package.
exf <- "a1.xlsx.lnk"
> read.xlsx(exf,1)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.IllegalArgumentException: Your InputStream was neither an OLE2
stream, nor an OOXML stream
> read.xlsx2(exf,1)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.IllegalArgumentException: Your InputStream was neither an OLE2
stream, nor an OOXML stream
Would truly apprec...
2010 Jun 26
3
Down Convertion from 32Khz to 16Khz
hi
on my device i can sample only at 32khz and want to use speex at 16khz so i
need to down-convert the input signal by factor of 2.
does anyone provide me a reference to some code that does that? are there
any trick to do that?
i tried to add to subsequent sample but the result was very bad.
what are the requrment from a decimation filter for audio?
thanks,
nir
-------------- next part
2004 Aug 06
2
q about jspeex
...> t.input.open(format,44100);
> System.out.println(" Mic opened");
>
> t.input.start();
> System.out.println("Constructing speex encoder.");
> pcm2speex=new Pcm2SpeexAudioInputStream(new
> AudioInputStream(t.input), format, AudioSystem.NOT_SPECIFIED);
> System.out.println("Speex encoder constructed.");
> System.out.println("*** Speex info: ");
> System.out.println("Bitrate:
&g...
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 transcode it. Are you sure that
> you are receiving data from the underlying inputstream???
Yes, it can recieve data from the und...
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();
Syst...
2010 Jun 26
0
Down Convertion from 32Khz to 16Khz
I've done something similar in Groovy/Java using Wave files. In my case I was downsampling from 16bit to 8bit. Here's the core of my conversion logic.
def convertData(def inputStream, def outputStream) {
boolean otherByte = false
inputStream.eachByte {
if(otherByte) {
//invert high order byte
int inverted = ((int)it) ^ 0x00000080
byte[] toWrite = new byte[1]; toWrite[0] = (byte)inverted
outputStream.write toWrite...
2004 Nov 30
2
Ogg for Java
Hello,
I think this new list is a good idea, at least there is a place
on which this mail is on-topic. Altough I do not know if anyobody is on
this list yet.
There is a new Java implementation of the Ogg library. The link is
http://netmind.hu/ogg
This is a high level implementation, meant to be as easy as possible,
while preserving all ogg's features.
It lacks real-world tests and can be
2009 Jun 29
2
java application with db2 fail with:A communication error ..
...port 50000.
Application.commit
Text : [ibm][db2][jcc][t4][2030][11211] A communication error has been detected. Communication protocol being used: TCP/IP.
Communication API being used: SOCKETS. Location where the error was detected: Reply.fill().
Communication function detecting the error: InputStream.read(). Protocol specific error codes Read timed out, *, 0. Message: Read timed out
Error Code : -4499 SQLState : null
com.ibm.db2.jcc.c.DisconnectException: [ibm][db2][jcc][t4][2030][11211] A communication error has been detected. Communication protocol being used: TCP/IP.
Communication API be...
2011 Apr 16
3
calling dovecot exported auth from Java
As far as I have been able to figure out, dovecot auth always works over
a Unix domain socket. I believe it is not currently possible to operate
dovecot auth over an Internet domain (TCP) socket. Am I correct?
I want to call dovecot's exported authentication from a Java
application. Java doesn't natively know how to talk to a Unix domain
socket, so there are inconveniences. There
2004 Aug 06
0
q about jspeex
Hi,
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 transcode it. Are you sure that you are receiving
data from the underlying inputstream???
One point to note though is that is you are receiv...
2005 Oct 05
3
icecast2 mountpoints maximum
We are using icecast as stream-relay for a true narrowcast solution
we've developed. The idea behind the system is that each individual
client gets it's own mountpoint.
Basically we have an application that creates streams. Its written in
c++ and uses libshout to handle connecting to icecast.
Everything works fine, as long as we keep the number of mountpoints
below 347. As soon as we
2005 Jul 05
2
Java and R help
Im doing an aplication in Java and i have a program made in R what i
want to launch with Java.
I have the following instructions:
Runtime r = Runtime.getRuntime();
try
{
System.out.println ("Llamada a R...");
p = r.exec(sRutaR);
}
catch (IOException e)
{
System.out.println ("Error lanzando R: " +
2009 Mar 25
1
Pipe creation problem: From Java app using rsync + ssh on windows with cygwin
.../cygwin/bin/");
Process p = Runtime.getRuntime().exec("c:/cygwin/bin/rsync.exe -verbose -r
-t -v --progress -e ssh /cygdrive/c/Users/dokeeffe/workspace/jrsync/
www.servername.net:/home/dokeeffe/rsync/",envVars,workingDir);
*
Then I start 2 stream reader threads to capture and log the inputStream and
errorStream of the Process p.
Here is the output....
*DEBUG: com.mddc.client.rsync.StreamGobbler - opening connection using: ssh
www.derekokeeffe.net rsync --server -vvtre.iLs . /home/dokeeffe/rsync/
DEBUG: com.mddc.client.rsync.StreamGobbler - rsync: pipe: Operation not
permitted (1)
DEBUG: c...
2018 Jan 27
2
2 panics, 1 segmentation fault in dovecot 2.3.0 (fts)
...ated to the problem, however, the devs might want investigate the last line:
WARN Parse exception Expected ';', got "," determining content disposition
javax.mail.internet.ParseException: Expected ';', got ","
and
org.apache.tika.exception.ZeroByteFileException: InputStream must have > 0 bytes
I would be happy if you could have a look at this, please, and of course just tell me what further information you need.
Thanks,
infoomatic
[1] /opt/dovecot/bin/doveadm index -u user1 '*'
doveadm(user1): Panic: file unichar.c: line 160 (uni_ucs4_to_utf8_c): asser...
2007 Mar 05
0
File I/O with rjb
.... Here''s what I am trying to do:
- a user uploads an image to the server via a standard html form:
<%= file_field("blog", "attach") %>
- this returns a ruby File object to the controller in
params[:blog][:attach]
- then I need to convert this into a Java InputStream object in order
to use it as an argument to another Java method.
I have tried to accomplish this many ways by using the obvious
approach ... all without success.
For example,
- read the contents of the file into a ruby string, then try to create
a java ByteArrayInputStream directly from this.
- re...
2020 Nov 16
1
[patch] enhancement for tika server protected by user/password basic auth
...at once causes all sorts of complaints.
frequently, like this
Nov 15 15:59:40 test.loc tika[35696]: INFO tika/ (message/rfc822)
Nov 15 15:59:41 test.loc tika[35696]: WARN tika/: Text extraction failed (null)
Nov 15 15:59:41 test.loc tika[35696]: org.apache.tika.exception.ZeroByteFileException: InputStream must have > 0 bytes
Nov 15 15:59:41 test.loc tika[35696]: at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:122)
Nov 15 15:59:41 test.loc tika[35696]: at org.apache.tika.server.resource.TikaResource.parse(TikaResource.java:409)
Nov 15 15:59:41 test.loc tika[3...
2005 Oct 05
0
icecast2 mountpoints maximum
A small update from my side.. i have updated both icecast and libshout to
the nightly snapshot versions of icecast.org. Also, in the configfile i have
raised the threadpool to 500 and all timeouts to 3000.
This did help a bit. Right now i can get it up to 1020 inputstreams, however
then it just stops accepting new connections.
Is there a theoretical maximum to the number of mountpoints icecast can
handle?
-----Oorspronkelijk bericht-----
Van: icecast-bounces@xiph.org [mailto:icecast-bounces@xiph.org] Namens Henri
Zikken
Verzonden: woensdag 5 oktober 2005 17:02
A...
2018 Jan 27
0
2 panics, 1 segmentation fault in dovecot 2.3.0 (fts)
...however, the devs might want investigate the last line:
> WARN Parse exception Expected ';', got "," determining content disposition
> javax.mail.internet.ParseException: Expected ';', got ","
> and
> org.apache.tika.exception.ZeroByteFileException: InputStream must have > 0 bytes
>
>
> I would be happy if you could have a look at this, please, and of course just tell me what further information you need.
>
> Thanks,
> infoomatic
>
>
> [1] /opt/dovecot/bin/doveadm index -u user1 '*'
> doveadm(user1): Panic: fi...
2020 Nov 15
2
[patch] enhancement for tika server protected by user/password basic auth
On 11/15/20 12:21 PM, John Fawcett wrote:
> I'm using tika-server.jar installed as a service
yup. same here.
atm, listening on localhost, with Dovecot -> Tika direct, no proxy.
similarly fragile under load. throwing ~10 messages with .5-5MB attachments at it at once causes all sorts of complaints.
one at a time seems OK ...
> Dovecot currently implements separate integrations,