Posts by ederwander • 6,431 points
131 posts
-
0
votes1
answer57
viewsA: Amr file converted from wav other than original
Your problem is the sample rate, you are generating audio in 44100hz and recording in 8000hz. you need to decide and choose which one to use, if you are working only with voice can be considered a…
androidanswered ederwander 6,431 -
0
votes1
answer64
viewsA: Data received from audio
Good to do this you will need to know some attributes about the audio to be transmitted, as if the audio is mp3 (there is compression) or sera PCM (no compression), files of this type are known wav,…
-
1
votes1
answer2434
viewsA: Merge a Plot and image into Matlab
If I understand correctly you need a hold on to keep the two Plots together... It’s quite simple, to demonstrate I’m going to use the following audio signal: Now I’m going to apply an algorithm to…
-
1
votes2
answers992
viewsA: Voice link between two points
Any language that supports socket can be used to transmit voice, some have greater ease other not so much. In general, the applications mentioned by you have a central server that works as a relay…
-
1
votes1
answer1118
viewsA: Convert . raw file to . mp3 file or other audio format
First of all you will need to figure out how many frames per second (sample rate) your audio has been generated and what the proper sample resolution (bit rate), knowing these values you can develop…
-
43
votes1
answer1763
viewsA: Can the IP address be forged?
Unfortunately there are techniques of spoof one of them called Ipspoofing which are used to falsify IP addresses, it is literally possible to enter the medium of communication between client and…
-
2
votes2
answers144
viewsA: Matlabfunction() similar to MATLAB in R
In Matlab the function inline is equivalent to function matlabFunction() and in R the command function can be used to create the same features. Using both functions in Matlab to prove similarity: f1…
-
3
votes1
answer193
viewsA: Find correct positions in the Matrix
If I add the rows and columns together, I can identify which row and column is wrong, but I can’t get my program to identify the position exact. A: Yes, the logic is to actually add each row and…
c++answered ederwander 6,431 -
5
votes1
answer1569
viewsA: Is it possible to join two audio files in one on android?
Your logic is correct, unfortunately you have not shown how you are trying to do on Android, you may need to know a little theory to understand what is happening with your code, any kind of sound…
-
1
votes1
answer1851
viewsA: Calculation of moving average in MATLAB
Unfortunately we don’t know how your data is structured, so to help you we’ll assume that your time series is something like: Ano = 2014: Janeiro = [1 2 7 8 9]; Fevereiro = [3 4 5]; Março = [5 2 5…
-
4
votes3
answers99
viewsA: Placing a vector in decreasing order
I looked quickly here yours int aux=0; this inside the For, is feeding its vector always at position 0 !
javaanswered ederwander 6,431 -
1
votes1
answer237
viewsA: Create a scan window in MATLAB
It wasn’t very clear, but I’ll try to help, let’s go for a simple example, let’s create a matrix 6x6 to exemplify: A = [1 2 3 4 5 6; 7 8 9 10 11 12; 13 14 15 16 17 18; 19 20 21 22 23 24; 25 26 27 28…
-
1
votes3
answers1080
viewsA: Audio API to calculate the duration of multiple songs
In Html5 there is the property duration In your case it would look something like: duracao = audioElement.duration Remembering that the return will be in seconds! To convert seconds to minutes/hours…
-
3
votes3
answers7963
viewsA: Making an OCR with no dependencies in PHP
Humm without having an image processing module for PHP installed on the server you will suffer a little, take a look if the place you host has the module Imagemagick, create a phpinfo(); just to…
-
0
votes4
answers16806
viewsA: Copy part of a string
I did that a thousand years ago! At the time I created a text search function, to ensure that the string I was looking for was actually inside the text. Function BuscaTexto(Text,Busca : string) :…
delphianswered ederwander 6,431 -
9
votes4
answers818
viewsA: Database being changed/Hacked
Well come on! From the comments I have a strong hunch, you are passing variables to your aspx, and this nowadays is a malignant gateway, the "hackers" simply take your variable, in your case your…
databaseanswered ederwander 6,431 -
3
votes1
answer4489
viewsA: Ways to check if there is any screen capture software running with C#
I do not want to be pessimistic, but it is almost impossible to know/prevent executions of screen capture software, you can create a huge list of known capture software and make your software access…
-
5
votes2
answers6101
viewsA: Is there an audio transcription Api that can be used in PHP, C library or Java?
You are looking for ASR (Automatic Speech recognition). Open source is very complicated to find, these algorithms have a very large commercial appeal, have some very old designs and I think only…
-
1
votes3
answers3271
viewsA: How to receive a vector, whose values are separated by spaces
Well come on There is the possibility of you installing the numpy module ? Numpy is highly recommended when you start working with vectors and matrix, it actually breaks a giant branch. Your problem…
pythonanswered ederwander 6,431 -
8
votes2
answers748
viewsA: How to detect when the person starts speaking using Speechrecognition() in Javascript
You will need to develop a VAD (voice Activity Detection) ! I have developed some with satisfactory results, the methods I know and have tested are: Zero Crossing Rate - It consists in detecting how…
-
4
votes2
answers816
viewsA: R - IBGE municipal data download
If you know the download link you can try using the function download.file to download any type of file on the internet, in this link you find a help of arguments that can be used, and in this…
-
0
votes3
answers121
viewsA: Waiting for remote audio extraction in Java
Sometimes simple solutions can be effective, I thought of something extremely simple, if I were you apart from asking for the video URL I would ask for the user’s email, and also on the server side…
-
2
votes3
answers12215
viewsA: Calculate distances between two coordinates
Following Haversine’s wikipedia <?php function distancia($lat1, $lon1, $lat2, $lon2) { $lat = deg2rad($lat2-$lat1); $lon = deg2rad($lon2-$lon1); $t = sin($lat/2) * sin($lat/2) +…
-
2
votes1
answer2979
viewsA: Generate animation from graph
It is relatively simple to generate animations in Matlab, you need to create a for and with each step generate the desired output, call the function getframe immediately after the function…
matlabanswered ederwander 6,431 -
1
votes1
answer230
viewsA: SAS Linear Regression
"Reg proc" you should be talking about regression procedures if you look deep you will notice that there are different classes. The simplest path I see is to apply linear regression simply by…
-
5
votes5
answers7447
viewsA: How to prevent spam in contact forms without using CAPTCHA?
Here’s what I’d do: right away I would take the Source IP of whoever is writing the form and submit to a trusted RBL (Barracuda, Spamcop, etc.) if the IP is contained in any of these places the…
-
6
votes2
answers3245
viewsA: Record audio and stream live
There is nowhere to run, when it comes to stream transmission customers have to connect to you or be you are the server that distributes (broadcast) the data to everyone who is connected to you! In…
-
0
votes1
answer940
viewsA: Represent coordinates in Matlab vector
A single vector for the x and y positions, I think the right one would be a matrix with the positions, but in any case to simplify already thought of using something similar to hash or dictionaries…
-
4
votes3
answers1032
viewsA: Return the "period" size of a bit string
I particularly believe that the best (or most reliable) solution is to apply autocorrelation, it is the same method used to find the period in signals, a very practical example of autocorrelation is…
algorithmanswered ederwander 6,431 -
1
votes1
answer138
viewsA: Where can I find the DLL microsoft.expression.Encoder.Devices?
Look, I can’t help you much with the dependencies! I can give you a few tips, I don’t know in depth what the specifications are for your project and much less about the project called FFT Guitar…
-
17
votes1
answer780
viewsA: Musical similarity from MPEG-7 descriptor patterns
The subject is complex and it is not easy to answer without going into some details. I will try in a simple way to address the points raised by the question, come on: Something of extreme relevance…