mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-02 10:15:45 +00:00
Adding renderer to APU to play the samples generated
This commit is contained in:
+122
-122
@@ -47,8 +47,8 @@ namespace ComSquare::Debugger
|
||||
this->_ui.dSPRegAddresshexaLineEdit->setText(Utility::to_hex(this->_registers.dspregAddr).c_str());
|
||||
this->_ui.dSPRegAddressLineEdit->setText(Utility::to_binary(this->_registers.dspregAddr).c_str());
|
||||
|
||||
this->_ui.dSPRegDatahexaLineEdit->setText(Utility::to_hex(this->_registers.dspregData).c_str());
|
||||
this->_ui.dSPRegDataLineEdit->setText(Utility::to_binary(this->_registers.dspregData).c_str());
|
||||
this->_ui.dSPRegDatahexaLineEdit->setText(Utility::to_hex(this->_dsp->read(this->_registers.dspregAddr)).c_str());
|
||||
this->_ui.dSPRegDataLineEdit->setText(Utility::to_binary(this->_dsp->read(this->_registers.dspregAddr)).c_str());
|
||||
|
||||
this->_ui.timer0hexaLineEdit->setText(Utility::to_hex(this->_registers.timer0).c_str());
|
||||
this->_ui.timer0LineEdit->setText(Utility::to_binary(this->_registers.timer0).c_str());
|
||||
@@ -94,133 +94,133 @@ namespace ComSquare::Debugger
|
||||
this->_ui.echoBufferOffsetLineEdit->setText(Utility::to_hex(this->_dsp->getRegisters().esa).c_str());
|
||||
this->_ui.echoDelayLineEdit->setText(Utility::to_hex(this->_dsp->getRegisters().edl).c_str());
|
||||
|
||||
this->_ui.VolumeLprogressBar->setValue(this->_dsp->getChannels()[0].volL);
|
||||
this->_ui.VolumeRprogressBar->setValue(this->_dsp->getChannels()[0].volR);
|
||||
this->_ui.WaveHeightprogressBar->setValue(this->_dsp->getChannels()[0].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar->setValue(this->_dsp->getChannels()[0].coeff);
|
||||
this->_ui.PitchlineEdit->setText(Utility::to_hex(this->_dsp->getChannels()[0].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit->setText(Utility::to_hex(this->_dsp->getChannels()[0].srcn).c_str());
|
||||
this->_ui.GainlineEdit->setText(Utility::to_hex(this->_dsp->getChannels()[0].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit->setText(Utility::to_hex(this->_dsp->getChannels()[0].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit->setText(Utility::to_hex(this->_dsp->getChannels()[0].envx).c_str());
|
||||
this->_ui.KeyOncheckBox->setChecked(this->_dsp->getChannels()[0].kon);
|
||||
this->_ui.KeyOffcheckBox->setChecked(this->_dsp->getChannels()[0].kof);
|
||||
this->_ui.NoisecheckBox->setChecked(this->_dsp->getChannels()[0].non);
|
||||
this->_ui.EchocheckBox->setChecked(this->_dsp->getChannels()[0].eon);
|
||||
this->_ui.SampleEndcheckBox->setChecked(this->_dsp->getChannels()[0].endx);
|
||||
this->_ui.PitchModulationcheckBox->setChecked(this->_dsp->getChannels()[0].pmon);
|
||||
this->_ui.VolumeLprogressBar->setValue(this->_dsp->getVoices()[0].volL);
|
||||
this->_ui.VolumeRprogressBar->setValue(this->_dsp->getVoices()[0].volR);
|
||||
this->_ui.WaveHeightprogressBar->setValue(this->_dsp->getVoices()[0].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar->setValue(this->_dsp->getVoices()[0].coeff);
|
||||
this->_ui.PitchlineEdit->setText(Utility::to_hex(this->_dsp->getVoices()[0].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit->setText(Utility::to_hex(this->_dsp->getVoices()[0].srcn).c_str());
|
||||
this->_ui.GainlineEdit->setText(Utility::to_hex(this->_dsp->getVoices()[0].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit->setText(Utility::to_hex(this->_dsp->getVoices()[0].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit->setText(Utility::to_hex(this->_dsp->getVoices()[0].envx).c_str());
|
||||
this->_ui.KeyOncheckBox->setChecked(this->_dsp->getVoices()[0].kon);
|
||||
this->_ui.KeyOffcheckBox->setChecked(this->_dsp->getVoices()[0].kof);
|
||||
this->_ui.NoisecheckBox->setChecked(this->_dsp->getVoices()[0].non);
|
||||
this->_ui.EchocheckBox->setChecked(this->_dsp->getVoices()[0].eon);
|
||||
this->_ui.SampleEndcheckBox->setChecked(this->_dsp->getVoices()[0].endx);
|
||||
this->_ui.PitchModulationcheckBox->setChecked(this->_dsp->getVoices()[0].pmon);
|
||||
|
||||
this->_ui.VolumeLprogressBar_2->setValue(this->_dsp->getChannels()[1].volL);
|
||||
this->_ui.VolumeRprogressBar_2->setValue(this->_dsp->getChannels()[1].volR);
|
||||
this->_ui.WaveHeightprogressBar_2->setValue(this->_dsp->getChannels()[1].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_2->setValue(this->_dsp->getChannels()[1].coeff);
|
||||
this->_ui.PitchlineEdit_2->setText(Utility::to_hex(this->_dsp->getChannels()[1].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_2->setText(Utility::to_hex(this->_dsp->getChannels()[1].srcn).c_str());
|
||||
this->_ui.GainlineEdit_2->setText(Utility::to_hex(this->_dsp->getChannels()[1].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_2->setText(Utility::to_hex(this->_dsp->getChannels()[1].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_2->setText(Utility::to_hex(this->_dsp->getChannels()[1].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_2->setChecked(this->_dsp->getChannels()[1].kon);
|
||||
this->_ui.KeyOffcheckBox_2->setChecked(this->_dsp->getChannels()[1].kof);
|
||||
this->_ui.NoisecheckBox_2->setChecked(this->_dsp->getChannels()[1].non);
|
||||
this->_ui.EchocheckBox_2->setChecked(this->_dsp->getChannels()[1].eon);
|
||||
this->_ui.SampleEndcheckBox_2->setChecked(this->_dsp->getChannels()[1].endx);
|
||||
this->_ui.PitchModulationcheckBox_2->setChecked(this->_dsp->getChannels()[1].pmon);
|
||||
this->_ui.VolumeLprogressBar_2->setValue(this->_dsp->getVoices()[1].volL);
|
||||
this->_ui.VolumeRprogressBar_2->setValue(this->_dsp->getVoices()[1].volR);
|
||||
this->_ui.WaveHeightprogressBar_2->setValue(this->_dsp->getVoices()[1].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_2->setValue(this->_dsp->getVoices()[1].coeff);
|
||||
this->_ui.PitchlineEdit_2->setText(Utility::to_hex(this->_dsp->getVoices()[1].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_2->setText(Utility::to_hex(this->_dsp->getVoices()[1].srcn).c_str());
|
||||
this->_ui.GainlineEdit_2->setText(Utility::to_hex(this->_dsp->getVoices()[1].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_2->setText(Utility::to_hex(this->_dsp->getVoices()[1].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_2->setText(Utility::to_hex(this->_dsp->getVoices()[1].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_2->setChecked(this->_dsp->getVoices()[1].kon);
|
||||
this->_ui.KeyOffcheckBox_2->setChecked(this->_dsp->getVoices()[1].kof);
|
||||
this->_ui.NoisecheckBox_2->setChecked(this->_dsp->getVoices()[1].non);
|
||||
this->_ui.EchocheckBox_2->setChecked(this->_dsp->getVoices()[1].eon);
|
||||
this->_ui.SampleEndcheckBox_2->setChecked(this->_dsp->getVoices()[1].endx);
|
||||
this->_ui.PitchModulationcheckBox_2->setChecked(this->_dsp->getVoices()[1].pmon);
|
||||
|
||||
this->_ui.VolumeLprogressBar_3->setValue(this->_dsp->getChannels()[2].volL);
|
||||
this->_ui.VolumeRprogressBar_3->setValue(this->_dsp->getChannels()[2].volR);
|
||||
this->_ui.WaveHeightprogressBar_3->setValue(this->_dsp->getChannels()[2].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_3->setValue(this->_dsp->getChannels()[2].coeff);
|
||||
this->_ui.PitchlineEdit_3->setText(Utility::to_hex(this->_dsp->getChannels()[2].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_3->setText(Utility::to_hex(this->_dsp->getChannels()[2].srcn).c_str());
|
||||
this->_ui.GainlineEdit_3->setText(Utility::to_hex(this->_dsp->getChannels()[2].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_3->setText(Utility::to_hex(this->_dsp->getChannels()[2].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_3->setText(Utility::to_hex(this->_dsp->getChannels()[2].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_3->setChecked(this->_dsp->getChannels()[2].kon);
|
||||
this->_ui.KeyOffcheckBox_3->setChecked(this->_dsp->getChannels()[2].kof);
|
||||
this->_ui.NoisecheckBox_3->setChecked(this->_dsp->getChannels()[2].non);
|
||||
this->_ui.EchocheckBox_3->setChecked(this->_dsp->getChannels()[2].eon);
|
||||
this->_ui.SampleEndcheckBox_3->setChecked(this->_dsp->getChannels()[2].endx);
|
||||
this->_ui.PitchModulationcheckBox_3->setChecked(this->_dsp->getChannels()[2].pmon);
|
||||
this->_ui.VolumeLprogressBar_3->setValue(this->_dsp->getVoices()[2].volL);
|
||||
this->_ui.VolumeRprogressBar_3->setValue(this->_dsp->getVoices()[2].volR);
|
||||
this->_ui.WaveHeightprogressBar_3->setValue(this->_dsp->getVoices()[2].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_3->setValue(this->_dsp->getVoices()[2].coeff);
|
||||
this->_ui.PitchlineEdit_3->setText(Utility::to_hex(this->_dsp->getVoices()[2].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_3->setText(Utility::to_hex(this->_dsp->getVoices()[2].srcn).c_str());
|
||||
this->_ui.GainlineEdit_3->setText(Utility::to_hex(this->_dsp->getVoices()[2].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_3->setText(Utility::to_hex(this->_dsp->getVoices()[2].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_3->setText(Utility::to_hex(this->_dsp->getVoices()[2].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_3->setChecked(this->_dsp->getVoices()[2].kon);
|
||||
this->_ui.KeyOffcheckBox_3->setChecked(this->_dsp->getVoices()[2].kof);
|
||||
this->_ui.NoisecheckBox_3->setChecked(this->_dsp->getVoices()[2].non);
|
||||
this->_ui.EchocheckBox_3->setChecked(this->_dsp->getVoices()[2].eon);
|
||||
this->_ui.SampleEndcheckBox_3->setChecked(this->_dsp->getVoices()[2].endx);
|
||||
this->_ui.PitchModulationcheckBox_3->setChecked(this->_dsp->getVoices()[2].pmon);
|
||||
|
||||
this->_ui.VolumeLprogressBar_4->setValue(this->_dsp->getChannels()[3].volL);
|
||||
this->_ui.VolumeRprogressBar_4->setValue(this->_dsp->getChannels()[3].volR);
|
||||
this->_ui.WaveHeightprogressBar_4->setValue(this->_dsp->getChannels()[3].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_4->setValue(this->_dsp->getChannels()[3].coeff);
|
||||
this->_ui.PitchlineEdit_4->setText(Utility::to_hex(this->_dsp->getChannels()[3].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_4->setText(Utility::to_hex(this->_dsp->getChannels()[3].srcn).c_str());
|
||||
this->_ui.GainlineEdit_4->setText(Utility::to_hex(this->_dsp->getChannels()[3].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_4->setText(Utility::to_hex(this->_dsp->getChannels()[3].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_4->setText(Utility::to_hex(this->_dsp->getChannels()[3].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_4->setChecked(this->_dsp->getChannels()[3].kon);
|
||||
this->_ui.KeyOffcheckBox_4->setChecked(this->_dsp->getChannels()[3].kof);
|
||||
this->_ui.NoisecheckBox_4->setChecked(this->_dsp->getChannels()[3].non);
|
||||
this->_ui.EchocheckBox_4->setChecked(this->_dsp->getChannels()[3].eon);
|
||||
this->_ui.SampleEndcheckBox_4->setChecked(this->_dsp->getChannels()[3].endx);
|
||||
this->_ui.PitchModulationcheckBox_4->setChecked(this->_dsp->getChannels()[3].pmon);
|
||||
this->_ui.VolumeLprogressBar_4->setValue(this->_dsp->getVoices()[3].volL);
|
||||
this->_ui.VolumeRprogressBar_4->setValue(this->_dsp->getVoices()[3].volR);
|
||||
this->_ui.WaveHeightprogressBar_4->setValue(this->_dsp->getVoices()[3].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_4->setValue(this->_dsp->getVoices()[3].coeff);
|
||||
this->_ui.PitchlineEdit_4->setText(Utility::to_hex(this->_dsp->getVoices()[3].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_4->setText(Utility::to_hex(this->_dsp->getVoices()[3].srcn).c_str());
|
||||
this->_ui.GainlineEdit_4->setText(Utility::to_hex(this->_dsp->getVoices()[3].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_4->setText(Utility::to_hex(this->_dsp->getVoices()[3].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_4->setText(Utility::to_hex(this->_dsp->getVoices()[3].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_4->setChecked(this->_dsp->getVoices()[3].kon);
|
||||
this->_ui.KeyOffcheckBox_4->setChecked(this->_dsp->getVoices()[3].kof);
|
||||
this->_ui.NoisecheckBox_4->setChecked(this->_dsp->getVoices()[3].non);
|
||||
this->_ui.EchocheckBox_4->setChecked(this->_dsp->getVoices()[3].eon);
|
||||
this->_ui.SampleEndcheckBox_4->setChecked(this->_dsp->getVoices()[3].endx);
|
||||
this->_ui.PitchModulationcheckBox_4->setChecked(this->_dsp->getVoices()[3].pmon);
|
||||
|
||||
this->_ui.VolumeLprogressBar_5->setValue(this->_dsp->getChannels()[4].volL);
|
||||
this->_ui.VolumeRprogressBar_5->setValue(this->_dsp->getChannels()[4].volR);
|
||||
this->_ui.WaveHeightprogressBar_5->setValue(this->_dsp->getChannels()[4].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_5->setValue(this->_dsp->getChannels()[4].coeff);
|
||||
this->_ui.PitchlineEdit_5->setText(Utility::to_hex(this->_dsp->getChannels()[4].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_5->setText(Utility::to_hex(this->_dsp->getChannels()[4].srcn).c_str());
|
||||
this->_ui.GainlineEdit_5->setText(Utility::to_hex(this->_dsp->getChannels()[4].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_5->setText(Utility::to_hex(this->_dsp->getChannels()[4].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_5->setText(Utility::to_hex(this->_dsp->getChannels()[4].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_5->setChecked(this->_dsp->getChannels()[4].kon);
|
||||
this->_ui.KeyOffcheckBox_5->setChecked(this->_dsp->getChannels()[4].kof);
|
||||
this->_ui.NoisecheckBox_5->setChecked(this->_dsp->getChannels()[4].non);
|
||||
this->_ui.EchocheckBox_5->setChecked(this->_dsp->getChannels()[4].eon);
|
||||
this->_ui.SampleEndcheckBox_5->setChecked(this->_dsp->getChannels()[4].endx);
|
||||
this->_ui.PitchModulationcheckBox_5->setChecked(this->_dsp->getChannels()[4].pmon);
|
||||
this->_ui.VolumeLprogressBar_5->setValue(this->_dsp->getVoices()[4].volL);
|
||||
this->_ui.VolumeRprogressBar_5->setValue(this->_dsp->getVoices()[4].volR);
|
||||
this->_ui.WaveHeightprogressBar_5->setValue(this->_dsp->getVoices()[4].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_5->setValue(this->_dsp->getVoices()[4].coeff);
|
||||
this->_ui.PitchlineEdit_5->setText(Utility::to_hex(this->_dsp->getVoices()[4].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_5->setText(Utility::to_hex(this->_dsp->getVoices()[4].srcn).c_str());
|
||||
this->_ui.GainlineEdit_5->setText(Utility::to_hex(this->_dsp->getVoices()[4].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_5->setText(Utility::to_hex(this->_dsp->getVoices()[4].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_5->setText(Utility::to_hex(this->_dsp->getVoices()[4].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_5->setChecked(this->_dsp->getVoices()[4].kon);
|
||||
this->_ui.KeyOffcheckBox_5->setChecked(this->_dsp->getVoices()[4].kof);
|
||||
this->_ui.NoisecheckBox_5->setChecked(this->_dsp->getVoices()[4].non);
|
||||
this->_ui.EchocheckBox_5->setChecked(this->_dsp->getVoices()[4].eon);
|
||||
this->_ui.SampleEndcheckBox_5->setChecked(this->_dsp->getVoices()[4].endx);
|
||||
this->_ui.PitchModulationcheckBox_5->setChecked(this->_dsp->getVoices()[4].pmon);
|
||||
|
||||
this->_ui.VolumeLprogressBar_6->setValue(this->_dsp->getChannels()[5].volL);
|
||||
this->_ui.VolumeRprogressBar_6->setValue(this->_dsp->getChannels()[5].volR);
|
||||
this->_ui.WaveHeightprogressBar_6->setValue(this->_dsp->getChannels()[5].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_6->setValue(this->_dsp->getChannels()[5].coeff);
|
||||
this->_ui.PitchlineEdit_6->setText(Utility::to_hex(this->_dsp->getChannels()[5].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_6->setText(Utility::to_hex(this->_dsp->getChannels()[5].srcn).c_str());
|
||||
this->_ui.GainlineEdit_6->setText(Utility::to_hex(this->_dsp->getChannels()[5].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_6->setText(Utility::to_hex(this->_dsp->getChannels()[5].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_6->setText(Utility::to_hex(this->_dsp->getChannels()[5].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_6->setChecked(this->_dsp->getChannels()[5].kon);
|
||||
this->_ui.KeyOffcheckBox_6->setChecked(this->_dsp->getChannels()[5].kof);
|
||||
this->_ui.NoisecheckBox_6->setChecked(this->_dsp->getChannels()[5].non);
|
||||
this->_ui.EchocheckBox_6->setChecked(this->_dsp->getChannels()[5].eon);
|
||||
this->_ui.SampleEndcheckBox_6->setChecked(this->_dsp->getChannels()[5].endx);
|
||||
this->_ui.PitchModulationcheckBox_6->setChecked(this->_dsp->getChannels()[5].pmon);
|
||||
this->_ui.VolumeLprogressBar_6->setValue(this->_dsp->getVoices()[5].volL);
|
||||
this->_ui.VolumeRprogressBar_6->setValue(this->_dsp->getVoices()[5].volR);
|
||||
this->_ui.WaveHeightprogressBar_6->setValue(this->_dsp->getVoices()[5].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_6->setValue(this->_dsp->getVoices()[5].coeff);
|
||||
this->_ui.PitchlineEdit_6->setText(Utility::to_hex(this->_dsp->getVoices()[5].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_6->setText(Utility::to_hex(this->_dsp->getVoices()[5].srcn).c_str());
|
||||
this->_ui.GainlineEdit_6->setText(Utility::to_hex(this->_dsp->getVoices()[5].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_6->setText(Utility::to_hex(this->_dsp->getVoices()[5].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_6->setText(Utility::to_hex(this->_dsp->getVoices()[5].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_6->setChecked(this->_dsp->getVoices()[5].kon);
|
||||
this->_ui.KeyOffcheckBox_6->setChecked(this->_dsp->getVoices()[5].kof);
|
||||
this->_ui.NoisecheckBox_6->setChecked(this->_dsp->getVoices()[5].non);
|
||||
this->_ui.EchocheckBox_6->setChecked(this->_dsp->getVoices()[5].eon);
|
||||
this->_ui.SampleEndcheckBox_6->setChecked(this->_dsp->getVoices()[5].endx);
|
||||
this->_ui.PitchModulationcheckBox_6->setChecked(this->_dsp->getVoices()[5].pmon);
|
||||
|
||||
this->_ui.VolumeLprogressBar_7->setValue(this->_dsp->getChannels()[6].volL);
|
||||
this->_ui.VolumeRprogressBar_7->setValue(this->_dsp->getChannels()[6].volR);
|
||||
this->_ui.WaveHeightprogressBar_7->setValue(this->_dsp->getChannels()[6].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_7->setValue(this->_dsp->getChannels()[6].coeff);
|
||||
this->_ui.PitchlineEdit_7->setText(Utility::to_hex(this->_dsp->getChannels()[6].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_7->setText(Utility::to_hex(this->_dsp->getChannels()[6].srcn).c_str());
|
||||
this->_ui.GainlineEdit_7->setText(Utility::to_hex(this->_dsp->getChannels()[6].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_7->setText(Utility::to_hex(this->_dsp->getChannels()[6].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_7->setText(Utility::to_hex(this->_dsp->getChannels()[6].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_7->setChecked(this->_dsp->getChannels()[6].kon);
|
||||
this->_ui.KeyOffcheckBox_7->setChecked(this->_dsp->getChannels()[6].kof);
|
||||
this->_ui.NoisecheckBox_7->setChecked(this->_dsp->getChannels()[6].non);
|
||||
this->_ui.EchocheckBox_7->setChecked(this->_dsp->getChannels()[6].eon);
|
||||
this->_ui.SampleEndcheckBox_7->setChecked(this->_dsp->getChannels()[6].endx);
|
||||
this->_ui.PitchModulationcheckBox_7->setChecked(this->_dsp->getChannels()[6].pmon);
|
||||
this->_ui.VolumeLprogressBar_7->setValue(this->_dsp->getVoices()[6].volL);
|
||||
this->_ui.VolumeRprogressBar_7->setValue(this->_dsp->getVoices()[6].volR);
|
||||
this->_ui.WaveHeightprogressBar_7->setValue(this->_dsp->getVoices()[6].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_7->setValue(this->_dsp->getVoices()[6].coeff);
|
||||
this->_ui.PitchlineEdit_7->setText(Utility::to_hex(this->_dsp->getVoices()[6].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_7->setText(Utility::to_hex(this->_dsp->getVoices()[6].srcn).c_str());
|
||||
this->_ui.GainlineEdit_7->setText(Utility::to_hex(this->_dsp->getVoices()[6].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_7->setText(Utility::to_hex(this->_dsp->getVoices()[6].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_7->setText(Utility::to_hex(this->_dsp->getVoices()[6].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_7->setChecked(this->_dsp->getVoices()[6].kon);
|
||||
this->_ui.KeyOffcheckBox_7->setChecked(this->_dsp->getVoices()[6].kof);
|
||||
this->_ui.NoisecheckBox_7->setChecked(this->_dsp->getVoices()[6].non);
|
||||
this->_ui.EchocheckBox_7->setChecked(this->_dsp->getVoices()[6].eon);
|
||||
this->_ui.SampleEndcheckBox_7->setChecked(this->_dsp->getVoices()[6].endx);
|
||||
this->_ui.PitchModulationcheckBox_7->setChecked(this->_dsp->getVoices()[6].pmon);
|
||||
|
||||
this->_ui.VolumeLprogressBar_8->setValue(this->_dsp->getChannels()[7].volL);
|
||||
this->_ui.VolumeRprogressBar_8->setValue(this->_dsp->getChannels()[7].volR);
|
||||
this->_ui.WaveHeightprogressBar_8->setValue(this->_dsp->getChannels()[7].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_8->setValue(this->_dsp->getChannels()[7].coeff);
|
||||
this->_ui.PitchlineEdit_8->setText(Utility::to_hex(this->_dsp->getChannels()[7].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_8->setText(Utility::to_hex(this->_dsp->getChannels()[7].srcn).c_str());
|
||||
this->_ui.GainlineEdit_8->setText(Utility::to_hex(this->_dsp->getChannels()[7].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_8->setText(Utility::to_hex(this->_dsp->getChannels()[7].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_8->setText(Utility::to_hex(this->_dsp->getChannels()[7].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_8->setChecked(this->_dsp->getChannels()[7].kon);
|
||||
this->_ui.KeyOffcheckBox_8->setChecked(this->_dsp->getChannels()[7].kof);
|
||||
this->_ui.NoisecheckBox_8->setChecked(this->_dsp->getChannels()[7].non);
|
||||
this->_ui.EchocheckBox_8->setChecked(this->_dsp->getChannels()[7].eon);
|
||||
this->_ui.SampleEndcheckBox_8->setChecked(this->_dsp->getChannels()[7].endx);
|
||||
this->_ui.PitchModulationcheckBox_8->setChecked(this->_dsp->getChannels()[7].pmon);
|
||||
this->_ui.VolumeLprogressBar_8->setValue(this->_dsp->getVoices()[7].volL);
|
||||
this->_ui.VolumeRprogressBar_8->setValue(this->_dsp->getVoices()[7].volR);
|
||||
this->_ui.WaveHeightprogressBar_8->setValue(this->_dsp->getVoices()[7].outx);
|
||||
this->_ui.EchoFIRCoeffprogressBar_8->setValue(this->_dsp->getVoices()[7].coeff);
|
||||
this->_ui.PitchlineEdit_8->setText(Utility::to_hex(this->_dsp->getVoices()[7].pitch).c_str());
|
||||
this->_ui.sourceNumberLineEdit_8->setText(Utility::to_hex(this->_dsp->getVoices()[7].srcn).c_str());
|
||||
this->_ui.GainlineEdit_8->setText(Utility::to_hex(this->_dsp->getVoices()[7].gain).c_str());
|
||||
this->_ui.EnvelopelineEdit_8->setText(Utility::to_hex(this->_dsp->getVoices()[7].envelope).c_str());
|
||||
this->_ui.EnvelopeValueLineEdit_8->setText(Utility::to_hex(this->_dsp->getVoices()[7].envx).c_str());
|
||||
this->_ui.KeyOncheckBox_8->setChecked(this->_dsp->getVoices()[7].kon);
|
||||
this->_ui.KeyOffcheckBox_8->setChecked(this->_dsp->getVoices()[7].kof);
|
||||
this->_ui.NoisecheckBox_8->setChecked(this->_dsp->getVoices()[7].non);
|
||||
this->_ui.EchocheckBox_8->setChecked(this->_dsp->getVoices()[7].eon);
|
||||
this->_ui.SampleEndcheckBox_8->setChecked(this->_dsp->getVoices()[7].endx);
|
||||
this->_ui.PitchModulationcheckBox_8->setChecked(this->_dsp->getVoices()[7].pmon);
|
||||
}
|
||||
|
||||
std::string APUDebug::_getPSWString()
|
||||
|
||||
Reference in New Issue
Block a user