Posts by ederwander • 6,431 points
131 posts
-
1
votes1
answer530
viewsA: Algorithm to identify bass and treble sounds of songs
You want a rhythm follow ? need only find out when the beats happen and take action ? I can’t do for you, but I can give you a lol north... These algorithms use a combo of filtros to decompose the…
-
5
votes1
answer533
viewsA: Get the frequency from a vector in the frequency domain
Come on lol grasshopper The Fourier transform will return you real and imaginary units, it is very important that you understand complex numbers and discrete mathematics. Answering your questions:…
-
1
votes1
answer280
viewsA: Music recognition API (php)
I don’t even know if I should answer lol, the answer is very simple ... There is no API for what you need in php and it is very likely that it will not exist in any language... This type of…
-
2
votes1
answer224
viewsA: Doubt about the functioning of the Audiorecord class
Answers: In the example it declares a variable of name samplerate = 8000. This variable represents the number of samples that the mobile phone microphone will pick up per second? A: Samplerate =…
-
1
votes1
answer108
viewsA: Work with sound on . NET
I do not know what kind of manipulation you will need to do, unfortunately there will be no "semi-ready" function like we have with Matlab, in Matlab everything is very simple, if we want to create…
.netanswered ederwander 6,431 -
4
votes3
answers4993
viewsA: Python Virtual Assistant - Efficiency
I wasn’t going to answer that question rsrs, but... Come on you want something nice to play ? or something professional ? Professional - There is nowhere to run, you will have to work with neural…
pythonanswered ederwander 6,431 -
2
votes1
answer1515
viewsA: Python - filtering data in text files
To filter these values observe the patterns of your file, a quick look gave me some patterns that seem to satisfy your needs, the first column should always be maior que zero and the values…
-
27
votes2
answers6387
viewsA: What is Android NDK?
Well come on, I use it a lot Native Development Kit - NDK, we can say that the JAVA allows you to write or re-use codes C or C++, but how it really works ? Imagine calling any function written in C…
-
2
votes2
answers442
viewsA: Help with sounds in Libgdx
When I’m developing audio applications for android the use of threads is inevitable, the threads allow to perform functions in a concurrent manner, an example is the use of the Runnable, for…
-
37
votes4
answers4098
viewsA: What is pythonic code?
The "traditional" way - if I can call it that - of writing code the way we know it can be simplified using Python, when you look at the structure of a loop built in Java or C: In C for example:…
-
4
votes2
answers356
viewsA: Checking a Dos/Ddos attack (Denial of service) on a network dump (PCAP file)
I believe you’re talking about attacks DDOS. When a DDOS happens the server discards connections for lack of resources, the service cannot handle so many simultaneous connections, usually when…
-
0
votes2
answers856
viewsA: Database graph does not show python matplotlib
The error msg is very clear, the function axisbg was discontinued in version 2.0 and replaced by facecolor try to change that line: ax1 = fig.add_subplot(1, 1, 1, axisbg= 'white') for that ax1 =…
-
2
votes2
answers795
viewsA: Read files . CAP efficiently with Python
I just saw this question now, the efficient way is to open the file in pieces, with the help of pointers it is possible to set the starting and end reading position of a file, in python cannot…
-
2
votes1
answer322
viewsA: How to filter PCAP file with Python?
There is no magic, tshark was smart and read the file in pieces using pointers. tshark was written in C and certainly has a better performance in loops than python the fact is that tshark had to…
-
2
votes1
answer119
viewsA: How to make a "time-Slice" in packages in a network dump with Python?
These values are in timestamp: In python2.7 you can import the datetime to make conversions of timestamp >>> import datetime >>> datetime.datetime.fromtimestamp(1488498263.14)…
-
0
votes1
answer100
viewsA: Python Random.getstate function
If I understand right this is what you need: from random import randint tamanholoop=10 for i in xrange(tamanholoop): print "Posicao " + str(i) print "Randomico "+ str(randint(0,400)) The result is…
-
3
votes1
answer562
viewsA: Calculation of Shannon entropy in network traffic (saved in CAP file) using Python
Um I don’t know any lib for what you need, I use entropy calculations for Audio, to help define how different(random, disorganized) an audio frame in the spectrum is, makes sense what you want to…
-
2
votes1
answer959
viewsA: Python Interpolate Txt
Got a little vague on the part But the program doesn’t want to run I ran your program here without great difficulties, you know what the function interp1d makes? by default it makes a linear…
-
4
votes2
answers980
viewsA: Analyze sound waves from an MP3 file and representation
It already has an answer and several comments, I took a quick look at the libraries that were proposed just for curiosity, but unfortunately none of them really does what you seem to need :-( Don’t…
-
1
votes1
answer918
viewsA: Implement voice and video call communication on android?
Just to clarify the comment of @mauhumor, VOIP is not a protocol, VOIP is an IP technology that defines the transmission capacity of VOICE over IP, we usually use as data transport the protocol UDP,…
-
1
votes1
answer962
viewsA: Remote access to Mysql database
Your question is related to networks, looking at your figure you have a server at the tip, surely you are performing NAT of your internal network ips so that all your internal computers can make…
-
3
votes1
answer395
viewsA: Join multiple mp3 files into a single mp3 file
It is possible to do it in any language, but it is not so simple :-(, you will need to decode the audio and store it neatly within a vector or matrix, the logical process is: Decode the first file .…
-
6
votes3
answers1389
viewsA: How to differentiate device type from IP?
Come on boy, most said it’s not possible, but in reality it’s yes! I don’t know if you’re going to use this for good or if you want to go hacking around, what you’re going to do with this kind of…
-
11
votes1
answer1287
viewsA: How to generate sound in Matlab from a wave?
So much is missing, let’s split up! x=0:0.1:6*pi; I don’t know what you intended to do 6*pi, it doesn’t make any sense, you must have confused things, calm that I get there... Your x begins from the…
-
3
votes3
answers1005
viewsA: Recognition of sound patterns
Come on, satisfactory results can be obtained without use ANN/Rnas, compare amplitude (mentioned in an answer here) will never work in the proposed way, the question is very broad, I can not simply…
-
1
votes3
answers72
viewsA: Make copies of lists at certain positions with Python
In Python version 2.7 just do it like this l2= l[:-5]
-
3
votes2
answers1425
viewsA: Nameerror: name 'ana' is not defined
I believe you wish to use the function raw_input, in fact the function input in python version 2.7 works a different way, see an example: >>> d="eder" >>> palavra = input("teste:")…
pythonanswered ederwander 6,431 -
5
votes1
answer265
viewsA: Due to NAT, is the IP access count imperfect?
The best way to understand the NAT is to think that every package TCP/UDP coming from a network or a given IP can be changed on the output by your router/gateway (as long as it has a NAT function),…
-
11
votes3
answers508
viewsA: What is a Kiddie Script?
@rray has already given you the exact definition of the term, but remember that in my time (speaking like this I think I’m an elder) before I existed windows 3.11 and windows 95, people with a low…
terminologyanswered ederwander 6,431 -
2
votes1
answer577
viewsA: FM simulation in Python
I can try to help, yes, I assume your teacher talked about simulating demodulation modulation. such as FM radio waves could be simulated inside a algorithm Let’s get things clear, the physical laws…
-
6
votes1
answer86
viewsA: How to get an end list for the start?
There are several ways to do it, but I think the fastest way is: invertido=B_I_final[::-1] No need to put for nothing, it will be reversed. Another alternative is to use reverse():…
-
6
votes1
answer903
viewsA: How to validate the IP of a list Emails to know if they are real or fake and can receive messages?
Okay I can teach, use it for good, but it smells like SPAM :-( There are really ways to check if an email is valid, every email server needs to have one MX registered on DNS in order to be able to…
-
1
votes1
answer790
viewsA: How to change time, read and chart in MATLAB?
Well come on, having the hour in decimal can be something interesting(smart), this can help you in the dynamic visualization on the x-axis during zoom: An example: max=33; min=15; t=(0:100:2359) r1…
-
5
votes1
answer7287
viewsA: Block directory listing in Apache
First appearing folders is not a code problem php, your http server (maybe an apache) is with the parameter Indexes (if it is an apache) enabled what can be a security hole in many cases. You have…
-
2
votes1
answer112
viewsA: Android - Problems Streaming AAC
It is my understanding that the class MediaPlayer below the version android 2.1 had full decoding support AAC, mysteriously the higher versions of android do not natively have Decode option, even…
-
5
votes1
answer2544
viewsA: What is needed for OCR Android
You’ll be completely plastered if you use OCR Apis ready, you won’t be able to highlight much less put dots around a specific word, nothing in this sense will be possible, an OCR has only the…
-
4
votes3
answers2360
viewsA: Voice recognition in php
This question already had an answer accepted, I marked to answer and I ended up not having time, but it’s never too late to add and make new considerations. I wanted to know if there is some kind of…
phpanswered ederwander 6,431 -
0
votes1
answer329
viewsA: How to check connection bandwidth of a server
Well come on, speaking as experience of who also has a link of 1Gbps, my link is in Brazil same, but use these online speed testers for a link as ours is very complicated, First you will not have…
-
4
votes4
answers2408
viewsA: What is buffer overflow?
Buffer overflow is when somehow more input data is inserted than expected by your program, this causes a memory overflow compromising the execution of the program, this allows you to overwrite the…
-
4
votes2
answers1014
viewsA: What is the data obtained by scipy.io.wavfile read?
Well I’ll try to explain some concepts without getting into the deep math involved. First scipy.io.wavfile.read will return you the amplitude of the signal in short int, you can manipulate these…
-
1
votes2
answers254
viewsA: SIT tones using Python or C#
Frequency algorithms will show you which is the fundamental frequency of the analyzed block, you will need to know which frequencies compose the audio as a whole, I strongly recommend that you…
-
19
votes3
answers2481
viewsA: How is a sound interpreted by a computer?
@Start gave you an excellent initial approach on the entire audio capture and conversion process (+1), still on your question: Is it correct to state that a song is an array with two columns and the…
answered ederwander 6,431 -
1
votes2
answers1247
viewsA: Rewrite - How to redirect everything without index.php
See if that’s enough: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.seusite.com.br$ RewriteRule ^$ http://www.seusite.com.br/test.php [L,R=301] you can be more aggressive and try to use the…
-
2
votes1
answer267
viewsA: How do you get the site to be accessed with and without "www"
For the extensions problem check your apache’s conf file for the parameter dir_module, if you don’t have add the following lines: <IfModule dir_module> DirectoryIndex index.html index.php…
-
1
votes1
answer225
viewsA: Get all IP-related connections
Your question describes an architecture Client-server, that is, each client (IP) connects to the server’s IP, in this type of communication only the server has the information of the clients…
-
3
votes1
answer296
viewsA: Is it possible to limit the speed of the Internet through Delphi?
The obvious answer is yes, if your application takes control of all incoming packets in your network interface before they are processed you can control and take action (block, limit speed,…
-
6
votes2
answers188
viewsA: Saas System Traffic Collection
Well come on, it’s a little complex to answer that, it’ll all really depend on what your SaaS "look", counting traffic is quite different from counting views. Imagine that your Saas only looks at…
saasanswered ederwander 6,431 -
6
votes2
answers3059
viewsA: Consult CPF in the IRS
I was in doubt about answering this question, pass knowledge is never too much, who reads decides whether to implement and on the possible illegalities, I will only address how technically it would…
-
13
votes1
answer462
viewsA: Security - Syscall inside shellcode does not run
Remembering and brushing the bits, I noticed that the spawn_shell.asm has problems initializing some registers and ensure that you found the exact return address, right away you could see an error…
-
8
votes2
answers4679
viewsA: How to get the list of devices connected to the network
I will address and describe methods I use to get information from equipment connected on wifi network, no doubt the ping is an alternative, but if the device has some firewall or anti-virus blocking…