Browse Subversion Repository
Diff of /trunk/synthesis/Vocoder.cpp
Parent Directory
| Revision Log
| Patch
| 23 |
#include "audio/AudioChunk.h" |
#include "audio/AudioChunk.h" |
| 24 |
|
|
| 25 |
#include "../configure.h" |
#include "../configure.h" |
| 26 |
|
#include "Utility.h" |
| 27 |
|
|
| 28 |
using namespace stand::synthesis; |
using namespace stand::synthesis; |
| 29 |
using namespace stand::model; |
using namespace stand::model; |
| 152 |
while(msCurrent < phrase->msEnd() && msCurrent < current->msEnd()) |
while(msCurrent < phrase->msEnd() && msCurrent < current->msEnd()) |
| 153 |
{ |
{ |
| 154 |
double f0 = phrase->track()->f0At(msCurrent); |
double f0 = phrase->track()->f0At(msCurrent); |
| 155 |
if(f0 == 0.0) |
if(f0 < stand::utility::NoteFrequency(0) || f0 > stand::utility::NoteFrequency(128)) |
| 156 |
{ |
{ |
| 157 |
f0 = stand::DefaultF0Value; |
f0 = stand::DefaultF0Value; |
| 158 |
} |
} |
|
|
Legend:
| Removed from v.100 |
|
| changed lines |
| |
Added in v.101 |
|
|
|