I have converted a project from Python to C++.
It modifies an audio file.
The original python file works fine, but the C++ file doesn't.
For some reaon, the Python results are a bit different than the C++ results, but I don't see why.
Perhaps somebody will spot the mistake easily.
I have attached a part of the C++ and a part of the Python code.
I think the error is in this part.
Perhaps you immediately spot the error.
But I can of course provide the entire code if you want to.
Hi! I took a look at your code and found that the line new_signal[new_peaks[j] + i] = window[P1 + i] * signal[peaks[min_index] + i]; produces different results for c++ and python versions. So the error may be at th Daha Fazla
Bu iş için 8 freelancer ortalamada €12 teklif veriyor
Hello, As a researcher who uses both C++ and Python for my research, I can help you with this problem. Please contact me to discuss further details. Thanks
I have already worked on such projects. I think i could easily help you with you project. I am into C++ programming since 6 years and writing programs in Python since 3 years.