Skip to content

Commit

Permalink
FIX - play back stereo correcly, i.e. different channels show up in s…
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoostenveld committed Mar 1, 2016
1 parent 17d885e commit f1542c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ft_audiovideobrowser.m
Expand Up @@ -203,8 +203,11 @@ function ft_audiovideobrowser(cfg, data)
end

% FIXME this one plays automatically
% FIXME I don't know how to deal with multiple channels
if ~isempty(audiodat)
soundview(sum(audiodat,1), audiohdr.Fs);
for channel=1:size(audiodat,1)
soundview(audiodat(channel,:), audiohdr.Fs);
end
drawnow
end

Expand Down

0 comments on commit f1542c5

Please sign in to comment.