why current sample always is 513 in audioplayer properties?
1 次查看(过去 30 天)
显示 更早的评论
I have used audioplayer several times and do not understand the meaning of several properties of audioplayer that is displayed on the command window. I noticed always the current sample is shown as 513.
ans =
audioplayer with properties:
SampleRate: 16000
BitsPerSample: 16
NumberOfChannels: 1
DeviceID: -1
CurrentSample: 513
TotalSamples: 1766400
Running: 'on'
StartFcn: []
StopFcn: []
TimerFcn: []
TimerPeriod: 0.0500
Tag: ''
UserData: []
Type: 'audioplayer'
Specifically, I do not understand the terms below and why their values are as they are
DeviceID: -1
CurrentSample: 513
Running: 'on'
StartFcn: []
StopFcn: []
TimerFcn: []
TimerPeriod: 0.0500
Tag: ''
UserData: []
Type: 'audioplayer'
2 个评论
Jan
2017-11-25
Perhaps you want to post the command, which produces this answer, such that we can reproduce the output without guessing.
The properties "StartFcn", "StopFcn", "TimerFcn", "Tag", "UserData" and "Type" seems to be trivial and are explained in the documentation. What does
doc audioplayer
not explain?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!