Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
228312c1
Commit
228312c1
authored
Nov 03, 2016
by
Mueller-Trapet
Browse files
make sure we have even samples
parent
fc88f6f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/StandardRoutines/ita_demosound.m
View file @
228312c1
...
...
@@ -15,6 +15,8 @@ function varargout = ita_demosound(varargin)
% Created: 16-Aug-2011
result
=
ita_resample
(
ita_read
(
'itademosong.ita'
),
ita_preferences
(
'samplingRate'
));
% make even samples
result
.
nSamples
=
floor
(
result
.
nSamples
/
2
)
*
2
;
%% Find output parameters
varargout
(
1
)
=
{
result
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment