ポエム
コード書いてたら何やってるのかわからなくなったのでクラス図を書き残したくなったがノートがないのでブログに書くことにした。
何するの
これのクラス図を適当に書いておく。書かないと 3 日で忘れるし。
クラス図

interface SynthesizePhrase {
bool operator()(PhaseSignal*, PhraseParameters*)
}
class SynthesizePhraseWithWORLD {
bool operator()(PhaseSignal*, PhraseParameters*)
}
SynthesizePhrase <|-u- SynthesizePhraseWithWORLD
interface SynthesizeImpulseResponse{
bool operator()(ImpulseResponse *output, const ImpulseResponseParameters *input)
}
class SynthesizeImpulseResponseWithWORLD {
bool operator()(ImpulseResponse *output, const ImpulseResponseParameters *input)
const int fftSize
const int samplingFrequency
}
SynthesizeImpulseResponse <|-- SynthesizeImpulseResponseWithWORLD
SynthesizePhraseWithWORLD .r.> SynthesizeImpulseResponse
class PhraseParameters {
Spectrum *spectrogram[1..n]
}
class PhraseSignal {
double *waveform
}
SynthesizePhrase -l- PhraseParameters
SynthesizePhrase -l- PhraseSignal
main .d.> PhraseSignal
main .d.> SynthesizePhraseWithWORLD
main .d.> PhraseParameters
main .d.> SynthesizeImpulseResponseWithWORLD