Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • CorBee's Avatar
    09-14-2018, 12:05 PM
    CorBee replied to a thread Bat detector in Audio Projects
    I see you are using the original code, I have changed the code quite a bit and I am still working on it. You can find that on my github-page https://github.com/CorBer/teensy_batdetector
    116 replies | 11753 view(s)
  • CorBee's Avatar
    09-13-2018, 07:49 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Hi, Looks as if your compiler is not set for a teensy 3.6, the 165Kb Hex should fit easily on a 3.6. As I am not using this compiler setup I cannot comment on the other messages. I work using Visual Code with the...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    09-11-2018, 01:51 PM
    CorBee replied to a thread Bat detector in Audio Projects
    I have not experienced that myself but I know others have. This might have to do with the fact that I am running this inside Visual Code with the platformIO IDE. Cor
    116 replies | 11753 view(s)
  • CorBee's Avatar
    09-11-2018, 01:30 PM
    CorBee replied to a thread Bat detector in Audio Projects
    https://github.com/WMXZ-EU/uSDFS
    116 replies | 11753 view(s)
  • CorBee's Avatar
    09-08-2018, 06:41 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Progress report: I have further increased the size of the sampe_buffer, from 64Kb to 96Kb. At 281K samplerate the short burst of noise when writing to the SD comes new gets recorded every 150ms or so. Next to this...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    09-07-2018, 04:35 PM
    CorBee replied to a thread Bat detector in Audio Projects
    My contact was with Nick Roast and at that time the board was still pre-production (mine is very small and round). But its good to see its now really available, thanks for the info !!
    116 replies | 11753 view(s)
  • CorBee's Avatar
    09-07-2018, 04:20 PM
    CorBee replied to a thread Bat detector in Audio Projects
    Hi Frank Thanks for chiming in. For those in the UK, micbooster.com also sells the SPU0410 on a tiny board. Its not on their website but you can inquire. I have been testing my current setup without my preamp...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    09-04-2018, 08:21 PM
    Hi, I am using Visual Studio in combination with PlatformIO to program my Teensy. Works without problems. Easy to select libraries etc. regards Cor
    12 replies | 632 view(s)
  • CorBee's Avatar
    08-24-2018, 07:19 PM
    CorBee replied to a thread Bat detector in Audio Projects
    Hi, progress-report: As I have found no clear solution to the issue of noise trickling into the audiorecording when saving a set of samples I have increased the buffersize to 64Kb. To allow that I had to drop the...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-19-2018, 10:27 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Hi, Still running test to dimish artifacts during recording to a minimum. As it stands the 1st batch of samples (32Kb buffer) is recorded free of artifacts, then at the beginning of the next recorded set an artifact...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 03:15 PM
    CorBee replied to a thread Bat detector in Audio Projects
    https://github.com/CorBer/teensy_batdetector updated
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 12:39 PM
    CorBee replied to a thread Bat detector in Audio Projects
    It seems that upping the BUFFSIZE to 48*1024 has a sideeffect. There is less memory available to for instance read the SDcard directory and thus ... I am back to BUFFSIZE=32*1024
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 11:40 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Just tested the new code outside (its daytime so no bats) on the crickets in our garden. The recording now sounds clean, the minor disturbance after each sample of 48k is not really audible. Using the original code the...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 10:46 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Another minor change, at the end of the void startRecording() a line nj=0; has to be added to make sure nj starts at zero at startup.
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 10:22 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Initial fix. This makes sure the first block of 256 samples is updated. Instead of seeing the same pattern after each 24576 samples I now see a different starting block of 256 samples. Unfortunately this block still...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 09:56 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Found the first issue with the code I was using thusfar. The lines of code that are bold/underlined result in the first 256 bytes of the buffer only to be filled at the start of the run. NJ is 0 at the start and fills a...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 09:31 AM
    CorBee replied to a thread Bat detector in Audio Projects
    And finally Pete was more right, the readouts in audacity have tricked me it seems(newbie user error !). When I look at the raw data before conversion to the recorded datarate I indeed see 16384 samples at my original...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 08:40 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Hi, I have been measuring the samples etc using Audacity, this makes the results I have thusfar comparable. One thing however I dont get, I measure around 4600 samples between the spikes at 234k samplerate. I was...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 07:53 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Just found out one more thing that hints towards issues with the recording code. The spikes in the records appear at exactly the same positions in two consecutive recordings. If the spikes would be due to another piece...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 07:11 AM
    CorBee replied to a thread Bat detector in Audio Projects
    I have tested using a 16*1024 BUFFSIZE setting. 176k 2046 between spikes, spike less apparent and therefore spikelength unclear 192k 1826 between spikes, spike length 58 samples 234k 1496 between spikes, spike...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-13-2018, 06:25 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Hi, Thanks for commenting. Unfortunately it isnt by default 16384 between spikes also, at 176k there are 4032 samples between spikes and 64 in the spike, at 234k it is 3040 between spikes and 48 in the spike. ...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-12-2018, 07:30 PM
    CorBee replied to a thread Bat detector in Audio Projects
    Hi Pete, The spike seems to be indeed the same width(thus the duration is fixed) for each samplerate, but that also means the number of samples is different for each samplerate. Cor Edit: Ive been counting...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-12-2018, 07:13 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Hi, As stated in message #78 I do see regular spikes of noise when recording. I decided to do a simple test by recording 4 files (without any bats around) at different sampling rates. The screenshot below shows the...
    116 replies | 11753 view(s)
  • CorBee's Avatar
    08-10-2018, 03:14 PM
    try https://forum.pjrc.com/threads/41007-3D-Cad-for-Teensy-3-5-and-3-6?highlight=model
    1 replies | 101 view(s)
  • CorBee's Avatar
    07-30-2018, 11:31 AM
    CorBee replied to a thread Bat detector in Audio Projects
    Hi, Progress on this thread has been low for the last 2 weeks. That was mainly due to the fact that it was very warm overhere and I was also busy building a first real prototype. cheers Cor
    116 replies | 11753 view(s)
No More Results
About CorBee

Basic Information

About CorBee
Location:
Netherlands

Statistics


Total Posts
Total Posts
98
Posts Per Day
0.95
Last Post
Bat detector 09-14-2018 12:05 PM
General Information
Last Activity
Yesterday 02:14 PM
Join Date
06-12-2018