5 writes to Number
System.Speech (5)
Internal\Synthesis\SSmlParser.cs (5)
1697number.Number *= percent; 1701number.Number += number.Number * (percent); 1712number.Number = (float)value; 1719number.Number *= (float)value; 1723number.Number += (float)value;
18 references to Number
System.Speech (18)
Internal\Synthesis\ConvertTextFrag.cs (7)
184sapiVolume = (int)((volume.IsNumberPercent ? sapiVolume * volume.Number : volume.Number) + 0.5); 188sapiVolume = (int)(volume.Number + 0.5); 289sapiRate = (int)((rate.IsNumberPercent ? ScaleNumber(rate.Number, sapiRate, 10) : sapiRate) + 0.5); 293sapiRate = ScaleNumber(rate.Number, 0, 10); 332sapiPitch = (int)((pitch.IsNumberPercent ? sapiPitch * pitch.Number : pitch.Number) + 0.5);
Internal\Synthesis\SSmlParser.cs (9)
1558if (timePosition.Number > 0 && timePosition.Number < 100) 1560points.Add(new ContourPoint(0, target.Number, ContourPointChangeType.Hz)); 1567if (points[points.Count - 1].Start > timePosition.Number) 1573if (timePosition.Number >= 0 && timePosition.Number <= 1) 1575points.Add(new ContourPoint(timePosition.Number, target.Number, (hz ? ContourPointChangeType.Hz : ContourPointChangeType.Percentage))); 1701number.Number += number.Number * (percent);
Synthesis\TTSEngine\TTSEngineTypes.cs (2)
381return prosodyNumber1._ssmlAttributeId == prosodyNumber2._ssmlAttributeId && prosodyNumber1.Number.Equals(prosodyNumber2.Number) && prosodyNumber1.IsNumberPercent == prosodyNumber2.IsNumberPercent && prosodyNumber1.Unit == prosodyNumber2.Unit;