Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: dreggory

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Done, it works perfectly. all things in order....

    Done, it works perfectly. all things in order. Thank you so much!
  2. I discovered that if you import audio vs import...

    I discovered that if you import audio vs import RAW in audacity, you get different orders (probably because I wasn't excluding the header when I imported RAW), but import Audio (using Audacity)...
  3. I think maybe the random ordering of the tracks...

    I think maybe the random ordering of the tracks is not Audacitys fault.
    Edit from thinking it was Audacitys fault to thinking, the code still needs something.
    I came to this conclusion after...
  4. okay, you're right that is more than enough. I'm...

    okay, you're right that is more than enough. I'm happy with that.

    So, I tried the latest Master, Success! Here are the results:
    https://drive.google.com/open?id=1Dohk1dVYTTJ2D3gAvbYVmnli3yg5uW9U...
  5. this is what I recorded with the code in the...

    this is what I recorded with the code in the master branch:
    https://drive.google.com/open?id=18DOv-s21JqBvt4veYWjhOI-FsVkmJnCK
    but I wasn't able to get anything with "Import Audio" or multiple...
  6. In the file called clean sequence, I didn't talk,...

    In the file called clean sequence, I didn't talk, I just swiped a card over each of the 5 mics (only once for each mic) in order. I named the file as such because it was the most obvious example when...
  7. I tried touching each mic to see what order they...

    I tried touching each mic to see what order they are in, and it looks like there is a problem of mixed tracks. I recorded myself saying the mic number, before touching each mic in order ("mic 1"...
  8. I did see that it was 16 bit samples when I...

    I did see that it was 16 bit samples when I imported the data to octave. I am wondering why you went with 16 bit values instead of 24 bit that the ics-52000 mics send. Though it does look like it is...
  9. Okay sounds great. I'm still not sure why the...

    Okay sounds great. I'm still not sure why the audio has to be imported to Audacity as 32 bit float, but it works. There is some popping in each mic's tracks (isolated to a track or two, not evenly...
  10. Okay, I think I see improvement. Now when I...

    Okay, I think I see improvement. Now when I import the audio to Audacity, I can see all 5 channels look like real data.
    -However, it sounds terrible. I'm just guessing, but I think that it sounds...
  11. I will have to try it tomorrow evening.

    I will have to try it tomorrow evening.
  12. It actually only uses one channel. It stitches...

    It actually only uses one channel. It stitches the two 16 bit queues together after shifting out the 8 least significant bits making a 24 bit mono recording. This program also has issues, it seems to...
  13. during the same test session I used a different...

    during the same test session I used a different recording program and I verified that the microphones were configured properly. you can hear that the audio is okay....
  14. I was able to compile, flash and test the code,...

    I was able to compile, flash and test the code, this is what it sounds like:
    https://drive.google.com/open?id=1T0upPwHEpG7QWA1hZ_GyRmXPEAW1zk2X

    It sounds pretty jumbled. Could this be the...
  15. It would be my pleasure. I have the setup ready...

    It would be my pleasure. I have the setup ready to go. It currently works well for very short clips. I have also used an example sketch to record 11 second clips (but only with a single mic).
  16. WMXZ, you are a gentleman and a scholar.

    WMXZ, you are a gentleman and a scholar.
  17. Is there any chance of adding the TDM protocol...

    Is there any chance of adding the TDM protocol for using the ICS-52000 mics from invensense? What would the limit be for the amount of data that can be recorded? If I have 5 mics sampling at 48000Hz...
  18. I believe you are correct, I can visualize it...

    I believe you are correct, I can visualize it now. It would be good for me to reevaluate the math anyway. Thank you.
  19. I originally started this project for fun, I was...

    I originally started this project for fun, I was getting too obsessed, so my wife told me to stop. I needed one more lab class to finish my physics undergraduate degree, I found a class called...
  20. Replies
    1
    Views
    629

    the ICS-52000 works too, but the breakout for it...

    the ICS-52000 works too, but the breakout for it has given the only 2 people who are using it trouble. I soldered directly to the pads and had success (tiny pads). you just have to use two queues and...
  21. I built the microphone array and I have started...

    I built the microphone array and I have started to collect data. I've been using the data to locate the sound source. Here is a plot of the microphone array:
    13426
    The array is in the shape of a...
  22. While I was working with my microphone array...

    While I was working with my microphone array today I noticed that one of my mics was sending garbled data, I noticed that the power pin came unsoldered so I fixed it, this is what it sounded like...
  23. This is my schematic. 13271 This is what it...

    This is my schematic.
    13271
    This is what it looks like (I know, it's a rats nest).
    13272
    I have twisted a grounded wire around SD and SCK going from the teensy to each mic. and I put a 0.1uF...
  24. Did you also give vcc to the config pin? Edit:...

    Did you also give vcc to the config pin?
    Edit: Nevermind it looks like the pcb does that for you. Did you turn the gain up as high as audacity will let you? Both the main volume, and channel gain....
  25. By the way, I noticed that the code I had last...

    By the way, I noticed that the code I had last posted had made the whole collection of data backwards (earliest data at the end and newest data at the beginning) so I'll post my updated code for...
  26. I was able to use the code working that you used...

    I was able to use the code working that you used for recording, I was able to import the raw audio to audacity using 24bit signed pcm, little endian, 2ch (stereo), 20500 Hz custom sample rate (this...
  27. You probably have already looked but I posted the...

    You probably have already looked but I posted the code that got my ICS-52000 mics to work. I received help from Paul and others last year to get my project going. the code is towards the bottom of...
  28. Well, I'm not sure. The TDM object works for my...

    Well, I'm not sure. The TDM object works for my application because the microphones I am using are configured to put out a TDM signal. TDM is best suited for sending audio data from many inputs down...
  29. Well, the waveforms look good, and have a period...

    Well, the waveforms look good, and have a period of 1500Hz like what I was playing with a signal generator. But that is a good point. What example should I use?
  30. I tried it but it the waveform ended up garbled...

    I tried it but it the waveform ended up garbled in the history array portion, I even tried replacing the variable row with i(the audio library is using that variable and it affects it) and it still...
  31. this suggestion didn't work but I am intrigued,...

    this suggestion didn't work but I am intrigued, the % has always confused me. but I got the code working nicely, here it is for all who care:


    #include <Audio.h>
    #include <Wire.h>
    #include...
  32. okay it works. this is what the waveform looks...

    okay it works.
    this is what the waveform looks like now, with a 1500Hz audio played.
    10586
    there's some garbled portion, which is probably my array sorting mistake, but this is correct for the...
  33. Good point, I agree. I need help to understand...

    Good point, I agree. I need help to understand it. This should help.
  34. Sorry I edited my last reply after you responded,...

    Sorry I edited my last reply after you responded, I just added the paragraph after the question about the indexes.
    I will try adding the increments though.
  35. I tried it, there was no output on the serial...

    I tried it, there was no output on the serial monitor. I think it might be because the indexes aren't being updated, where would the increments go?
    But the reason I think I need to start over with...
  36. I think i will try to work with the library then....

    I think i will try to work with the library then. I think I just need to restructure the way I'm doing this.
    ...a few hours later...
    so this is my attempt:


    #include <Audio.h>
    #include...
  37. oh, this might be a problem. Is there any way for...

    oh, this might be a problem. Is there any way for me to not use a queue, but to just use the tdm_input object directly?
  38. Oh, I think you're right. I will see what I can...

    Oh, I think you're right. I will see what I can do.
  39. Thank you both so much for pointing out those...

    Thank you both so much for pointing out those blunders, I fixed many bugs with those suggestions. I caught another problem with my code along the way, It appears that the variables: rows, row, and...
  40. I'm sad because I thought I had it figured out. I...

    I'm sad because I thought I had it figured out. I am hoping someone can point out what I'm doing wrong.
    this code has 5 mics listening and cycling through five 30 value 1-D arrays until an amplitude...
  41. It's mostly so I can use the python program that...

    It's mostly so I can use the python program that I wrote for solving the sound source location and also to split up the tasks.(Teensy collects fast mic data, sends it when triggered by a sound event,...
  42. I promise I was listening when you told me that...

    I promise I was listening when you told me that before, and I did take that into account. Since the TDM data from the mics are 24 bit datum in 32 bit blocks, I multiplied the first 16 bit value in...
  43. so this is what I'm doing to sample 2 mics over...

    so this is what I'm doing to sample 2 mics over serial, but the sample rate is all over the place (in the range of 400-500 sps), and spotty.

    #include <Audio.h>
    #include <Wire.h>
    #include...
  44. Okay so this will work. here is a video of my...

    Okay so this will work. here is a video of my oscilloscope showing the WS signal on top and 64 bits out of 256 bits per TDM frame coming from two mics:

    https://youtu.be/o_ggGH_tIxw

    now I'm just...
  45. Okay, that makes sense, it's a hardware...

    Okay, that makes sense, it's a hardware limitation. I see that you added TDM to the Audio system design tool, this is excellent. Now I'm wondering how do I combine two 16 bit channels into one 32 bit...
  46. That is very good to know. So if I want to only...

    That is very good to know. So if I want to only use 160 bits out of the 256, for my 5 mics, how do I configure the WS signal to do a brief pulse and wait for 160 bits?
  47. I didn't know that. Thanks! I think I still want...

    I didn't know that. Thanks! I think I still want to keep it to five mics, but it would be fun to tinker with that in the future
  48. I'm sorry, I should have explained the figure...

    I'm sorry, I should have explained the figure better, I went back and read what I wrote and it is confusing, sorry.
    Each pixel represents a simulated point, and the color of each pixel represents...
  49. Yes, but I just soldered directly to the pads...

    Yes, but I just soldered directly to the pads with magnet wire and reinforced the connections with uv glue.
    10465
    It works, but I may have to splice into twisted pairs for longer distance...
  50. I would like to use less mics, but the math led...

    I would like to use less mics, but the math led me to 3 non linear equations for 3 unknowns for 4 mics(enough to solve,) but I couldn't figure out how to get an explicit solution. My computer ran all...
Results 1 to 50 of 57
Page 1 of 2 1 2