New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in setup #1
Comments
@EnricoGiordano1992 not actively maintaining this repo for recent versions for Vivado (was tested on 2018.1 and 2018.3) and PYNQ, but I don't mind helping! PYNQ_Z2-Audio/sources/base.tcl Line 3206 in fc95718
Let me know the outcome 👍 |
Ok good, if you agree, I can share the code for the latest support for PYNQ and tools!
I see that in the makefile there are some includes that is not presents in repository (../inc and ../bsp/ps7_cortexa9_0/include), do you have any suggestions? Thanks a lot! |
@EnricoGiordano1992 Those are from the Xilinx ARM BSP libraries: https://ohwr.org/project/evo/tree/69f5408fd24bcdba0710e4ef07a0e3ba6de7c609/boot/microzed/BSP/ps7_cortexa9_0/include I will have to update this repo with the above mentioned files. But with these, it should work alright (hopefully!). Probably remove that |
Ok, I have done little progress...in attachment the code (on setup.sh, just set board_ip variable with your board ip) Now I have a problem on jupyter notebook at this part: Do you have any suggestions? Sorry for take your time but I think that this project is very usefull for the community :-) |
@EnricoGiordano1992 no it's alright - keep firing those questions away! It is always fun to look at your old written code ;) |
Ok, I have prepared the full patch in this archive: |
@EnricoGiordano1992 Thanks for the patch, I'll put it in a separate branch! I am also okay if you want to submit it as a merge request :) Line 455 in 4aa7c09
Try adding your own C++ function call there For a Python change you might have to wait a while, I do plan to look at it this weekend - is there any specific kind of filter you are looking at? |
Ok, maybe at the next step I will implement the filter :) and I save the wav file in this way: I have implemented the record function in this way:
what is wrong in my code? Do you have any example about saving the numpy array output to a file? Thanks a lot! |
Ok, I think that the problem is that I have a PDM audio signal and not a PCM audio signal...do you have any suggestion for PDM -> PCM conversion? Thanks! |
Hi wady101 |
@EnricoGiordano1992 , apologies for the late reply. |
Hi @wady101 , thanks for the support! I suppose that the problems are fs, lowcut and highcut parameters, because I obtain only noise. Do you have any working code or do you know what are the correct parameters? Thanks in advance! |
Sadly no, @EnricoGiordano1992 . |
One more thing which is the best test for this - is to play a sine wave on your phone and record it on the board. |
Hi wady101
I cannot build the project using the setup script. I am using PYNQ 2.5 (from tag) and Vivado 2019.1 .
This is the error:
This is the full log:
The text was updated successfully, but these errors were encountered: