📄 bluetooth_voice.mdl
字号:
InheritXIncr off
XIncr "125*1e-8"
XLabel "Time (s)"
YUnits "dB"
YMin "-0.525"
YMax "1.05"
YLabel "Amplitude"
LineProperties off
LineStyles "-|-"
LineColors "[0 1 0]|[1 0 0]"
}
Block {
BlockType Reference
Name "Transpose"
Ports [1, 1]
Position [795, 420, 850, 460]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
}
Block {
BlockType Reference
Name "Transpose1"
Ports [1, 1]
Position [265, 417, 300, 463]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
}
Block {
BlockType Reference
Name "Transpose2"
Ports [1, 1]
Position [390, 417, 425, 463]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
}
Block {
BlockType Reference
Name "dB Conversion1"
Ports [1, 1]
Position [450, 419, 485, 461]
ShowName off
SourceBlock "dspmathops/dB Conversion"
SourceType "dB Conversion"
dBtype "dB"
intype "Power"
R "1"
fuzz on
Port {
PortNumber 1
Name "ISM Band Spectrum"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "enable"
Ports [0, 1]
Position [15, 261, 95, 279]
NamePlacement "alternate"
SourceBlock "dspsrcs3/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[1 0 0 0 0 0]"
Ts "625e-6"
nsamps "1"
OutputAfterFinalValue "Cyclic Repetition"
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
Points [75, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Downsample1"
DstPort 1
}
Line {
SrcBlock "Marker"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Buffer1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Multiport\nSelector"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0; 0, -85; 55, 0]
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "Downsample1"
SrcPort 1
DstBlock "Buffer1"
DstPort 1
}
Line {
Name "Slots"
Labels [-1, 1]
SrcBlock "Multiport\nSelector"
SrcPort 3
DstBlock "Matrix\nConcatenation1"
DstPort 3
}
Line {
SrcBlock "enable"
SrcPort 1
Points [15, 0]
DstBlock "Marker"
DstPort enable
}
Line {
Name "802.11b Tx"
Labels [-1, 1]
SrcBlock "Multiport\nSelector"
SrcPort 2
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
Line {
Name "Bluetooth Tx"
Labels [-1, 1]
SrcBlock "Multiport\nSelector"
SrcPort 1
Points [95, 0]
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation2"
SrcPort 1
DstBlock "Downsample"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Matrix\nConcatenation2"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Matrix\nConcatenation2"
DstPort 2
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Relational\nOperator1"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [20, 0]
DstBlock "Relational\nOperator1"
DstPort 2
}
Line {
SrcBlock "Transpose2"
SrcPort 1
DstBlock "dB Conversion1"
DstPort 1
}
Line {
SrcBlock "Transpose1"
SrcPort 1
DstBlock "Mean"
DstPort 1
}
Line {
SrcBlock "Mean"
SrcPort 1
DstBlock "Transpose2"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "Short-Time FFT1"
DstPort 1
}
Line {
SrcBlock "In3"
SrcPort 1
Points [0, -5]
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
DstBlock "Timing\nDiagram"
DstPort 1
}
Line {
SrcBlock "Selector2"
SrcPort 1
DstBlock "Buffer2"
DstPort 1
}
Line {
SrcBlock "Selector1"
SrcPort 1
DstBlock "Selector2"
DstPort 1
}
Line {
SrcBlock "Short-Time FFT1"
SrcPort 1
DstBlock "Transpose1"
DstPort 1
}
Line {
Name "ISM Band Spectrum"
Labels [0, 0]
SrcBlock "dB Conversion1"
SrcPort 1
Points [40, 0; 5, 0]
Branch {
Labels [2, 0]
Points [0, -115]
DstBlock "Spectrum\nPlot"
DstPort 1
}
Branch {
DstBlock "Selector1"
DstPort 1
}
}
Line {
SrcBlock "Downsample"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Buffer2"
SrcPort 1
DstBlock "Transpose"
DstPort 1
}
Line {
SrcBlock "Transpose"
SrcPort 1
DstBlock "Spectogram"
DstPort 1
}
}
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [370, 419, 450, 451]
ShowName off
VariableName "Num_802_packets"
MaxDataPoints "1"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Line {
SrcBlock "Counter"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, 90]
DstBlock "To Workspace"
DstPort 1
}
Branch {
DstBlock "802.11 Packets \nTransmitted"
DstPort 1
}
}
Line {
SrcBlock "State"
SrcPort 1
Points [50, 0]
DstBlock "Subsystem"
DstPort enable
}
Line {
SrcBlock "Tx_802 Envelope"
SrcPort 1
DstBlock "Counter"
DstPort 1
}
Line {
SrcBlock "Tx_802"
SrcPort 1
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Tx"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Rx"
SrcPort 1
DstBlock "Subsystem"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "Master Transmitter"
Ports [0, 3]
Position [50, 189, 150, 281]
FontName "Arial"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Master Transmitter"
MaskPromptString "HV Packet Type|Initial Slot Pair for HV2 or HV3"
MaskStyleString "popup(HV1|HV2|HV3),popup(1&2|3&4|5&6)"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVariables "HV_Type=@1;Slot_Pair=@2;"
MaskInitialization "device_init"
MaskDisplay "plot(0,0,100,100,[30,60,60,55,55,30,30],[10,10,"
"90,90,70,70,10],[35,35,55,55,35],[64,45,45,64,64])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "HV3|1&2"
MaskVariableAliases ","
System {
Name "Master Transmitter"
Location [59, 209, 975, 604]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 176
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Bluetooth\nClock"
Ports [0, 1]
Position [375, 248, 430, 272]
SourceBlock "bluetooth_lib/Bluetooth\nClock"
SourceType "Bluetooth Clock"
Ts "(1/1600)/2"
Port {
PortNumber 1
Name "Hop"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType SubSystem
Name "CVSD\nEncode"
Ports [1, 1]
Position [205, 137, 275, 193]
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "CVSD Encoder"
MaskDescription "Encode a 64 K samples per sec speech signal"
" into a 64Kbps bit stream."
MaskPromptString "Minimum Step Size|Maximum Step Size|Accumul"
"ator Decay|Step Decay"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVariables "min_step=@1;max_step=@2;accum_decay=@3;step"
"_decay=@4;"
MaskInitialization "pos_accum_max = 2^15 - 1;\nneg_accum_max = "
"-2^15 + 1;"
MaskDisplay "disp('CVSD\\nEncode')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "10|1280|1-1/32|1-1/1024"
MaskVariableAliases ",,,"
System {
Name "CVSD\nEncode"
Location [48, 86, 956, 707]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 63, 55, 77]
Port "1"
LatchInput off
Interpolate on
Port {
PortNumber 1
Name "u"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Bipolar to\nUnipolar\nConverter1"
Ports [1, 1]
Position [740, 48, 795, 92]
ShowName off
SourceBlock "commutil2/Bipolar to\nUnipolar\nConvert"
"er"
SourceType "Bipolar to Unipolar Converter"
M "2"
polarity "Negative"
}
Block {
BlockType Gain
Name "Gain"
Position [95, 53, 160, 87]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -