Skip to content

Commit

Permalink
Changed block size to 2 seconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher committed Sep 29, 2016
1 parent 2349460 commit 158bd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/knowledge_sources/AuditoryFrontEndKS.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
% holds the signal buffer (data obj)
robotInterfaceObj; % Scene simulator object
timeStep = (512.0 / 44100.0); % basic time step, i.e. update rate
bufferSize_s = 10; %
bufferSize_s = 2; %
afeFs = 44100; % sample rate of AFE. If different from
% robotInterfaceObj.SampleRate, resampling is done
end
Expand Down

4 comments on commit 158bd7e

@ivo--t
Copy link
Member

@ivo--t ivo--t commented on 158bd7e Oct 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrschy , why did you do this? Also: is it what you wanted, really? because commit description and action do not match: you changed the AFE's buffer size down to 2 secondes; the blocksize is unchanged (setup in the robotInterface/in your KS when you actually retrieve AFE data).

Please clarify, I feel two seconds buffer size is a bit short.

@chrschy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ivo--t I did this, because a block size of 10 seconds resulted in problems when working with the deployment system. However, for the development system 10 seconds is of course fine.

@ivo--t
Copy link
Member

@ivo--t ivo--t commented on 158bd7e Oct 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. What was the problem, to be exact?
  2. block vs buffer size -- you do not mean block size, right?

@chrschy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. For some reason, 10 seconds bufferSize resulted in the last frame of a block being only zeros. But this only occurred when using the Jido, not in the simulation.
  2. Yes, I mean the buffer size, of course ;-)

Please sign in to comment.