-
Notifications
You must be signed in to change notification settings - Fork 2
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
Block-based processing in blackboard #16
Comments
My first guess is that the signals in the binaural simulator gets not reseted by doing a If I see it correctly you are using the following wav file as audio material: >> sig = audioread('sound_databases/grid_subset/s1/bbaf2n.wav');
>> length(sig)/44100
ans =
0.6746
>> length(sig)-44100/2
ans =
7701
As it turns out those In order to avoid confusions I would suggest that a reset of the simulator should empty the buffer as default setting. If this is not wanted we could provide a setting that allows to don't clean the buffer. |
Note if you read the signal directly with audio read, the sampling rate is On 4 March 2016 at 12:41, Hagen Wierstorf [email protected] wrote:
|
Yes you are right, but it doesn't change much on my points as I thought the signal length in your figure is 0.5s and not 1s :o) |
Yes the signal (block) length is 0.5s in each panel. The second block is On 4 March 2016 at 13:57, Hagen Wierstorf [email protected] wrote:
|
Neither |
What is the command we should execute if we want to reset the buffer to the first sample? |
The ring buffer class has an private Attribute called |
That sounds way to complicated to me. Something similar to You say In addition, I think for most of our applications it is not a good idea to have the behavior of the buffer separated from the |
Emptying the buffers with the call of |
Hi Ivo,
As requested I added a little example to show you what I meant by getting different block signals with multiple localisation runs and various stimulation lengths. Perhaps @hagenw @fietew could also have a look.
block_testing
branch in bothblackboard-system
andexamples
reposlocalisation_GMMs
folderlocalise_run1
,localise_run2
, andlocalise_run3
one by onelocalise_run1
will plot 2 blocks of signals with stimulation length of 1 second and a single localisation run (Figure 1)localise_run2
is same aslocalise_run1
but has an additional localisation run beforelocalise_run1
(Figure 2)localise_run3
is same aslocalise_run2
but the stimulation length is 1.1 second (Figure 3)You will find the 3 figures all look different (slightly shifted), but they should be identical.
The text was updated successfully, but these errors were encountered: