Niklas Karlsson

Ranch Hand
+ Follow
since Apr 06, 2014
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
12
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Niklas Karlsson

Hi
does some one guide me to make a STIPA measurement from a recorded file in java?

https://www.prosoundtraining.com/2010/03/17/a-do-it-yourselfers-guide-to-computing-the-speech-transmission-index/

I want to record a STIPA sound for 20 seconds and then, analyse the recorded file:
link the flow:
1. Square the impulse response.
2. Integrate the squared impulse response to get the total energy
3. Compute the Fourier transform of the squared impulse response
4. Normalize the envelope spectrum
5. Take the square root of the sum of the real part squared and the imaginary part squared
6. Take the full bandwidth impulse response, run it through octave band filters
7. take the amplitude at 14 modulation frequencies
8. Convert each of the 98 m values into an “apparent signal-to-noise ratio” (S/N) in dB
9. Limit the Range
10. Compute the mean (S/N) for each octave band.
11. Weight the octave mean (S/N) values
12. convert the overall mean (S/N) to an STI value





6 years ago
Hi
I want to make a java program to get a search result from a webpage?
but i cant figure out the inline url to get the result..


The webpage form:
"

"
the wire shark result if I type ABC in the search input:
"

"

I have tried:
http://www.thesite.com/startsok.aspx?sokOrd=ABC&Beta=option1

in the web browser (only for test) but i cat get the search to query :-(

do you have any ideas?

best regards
Niklas


Hi!
I have a program that i want to check if a monitor is on or off.
i think something like "PC cant find monitor" true or false?
or get brand of monitor on HDMI or something (?)
can i do that?
6 years ago
I want to highlight the area with a specific text :-)

ex "look for '1234' "
and if find : highlight the area
Ok :-)
Can i get the cordinate of the results in the picture example :
Look for "123456" and return x,y if find in picture ?
:-)
Hi
I am looking for a ocr pakage for java that can look for a word or number and recive a cordite of the found results.
sorry, ; yes it is in string format :-)
thank you!
6 years ago
hi
I want to replace:
<TR><TD>some text</TD><TD>some text</TD>some text...
with:
<TR><TD>some text</TD><TD>some text</TD><TD>NEW</TD>some text...

and Im stuck :-/
6 years ago
Hmm, can I use something other class? Faster. ..
6 years ago
Hmm..
I read:"
Pi Zerohas:

1GHz, single-core CPU
512MB RAM
Mini HDMI and USB On-The-Go ports
Micro USB power..."

Not 512k?
6 years ago
Hi
i have a Jframe and panel and i set a label (yes a label) to a jpg image (and some timed text..)

in my win PC it takes ~208 ms to make:
//timer start..
BufferedImage img = ImageIO.read(file);
//timer end..


I like to open this in a PasberryPiZerroW or "v3b"
but in the PasberryPi v3 it takes ~2600 ms to make:
//timer start..
BufferedImage img = ImageIO.read(file);
//timer end..


and for the rasberryPiZerroW it takes forever!, i have a timeout that kicks in @15s and it is activated!
if i try to open the image in a atandalone image viewer, the "zerro w" open the image "instantly/no lag"!
(pi uses java 7)

Can i use something more modern and fast?
(and i have difficulty to change type of the BufferedImage, so please: i what to use "BufferedImage "-format..)

I have tryed this code on the PasberryPi v3 :
https://forum.processing.org/one/topic/snippet-crazy-fast-image-loading.html

but it just loads 10 -50% of the picture, i have a loop that trys to open this in this example and take (300ms)..
i change the timer to x100, but is there a better way?



 
6 years ago
Hi I have a lot of dll files with description.
But I have to be coding in java.
Is there a  easy way to get  a bridge  so I can access the Dll  in java using a modern way?
Tutorials wonted badly.
I have been looking at JNA but get instantly stuck in the step learning curve :-/

Other ideas suitable for a 2017 solution's ?
7 years ago