Exemplo n.º 1
0
 internal SoundParamater(Value.Path basepath)
 {
     Wave     = new Value.PathForSound(basepath, Resources.GetString("SoundFilter"), true, "");
     Volume   = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     Pitch    = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     PanType  = new Value.Enum <ParamaterPanType>(ParamaterPanType.Sound2D);
     Pan      = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     Distance = new Value.Float(10.0f);
     Delay    = new Value.IntWithRandom(0, int.MaxValue, 0);
 }
Exemplo n.º 2
0
 internal SoundParamater()
 {
     Wave     = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, "");
     Volume   = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f);
     Pitch    = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f);
     PanType  = new Value.Enum <ParamaterPanType>(ParamaterPanType.Sound2D);
     Pan      = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f);
     Distance = new Value.Float(10.0f);
     Delay    = new Value.IntWithRandom(0, int.MaxValue, 0);
 }
Exemplo n.º 3
0
            internal SoundParamater()
            {
                if (Core.Language == Language.Japanese)
                {
                    Wave = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, "");
                }
                else if (Core.Language == Language.English)
                {
                    Wave = new Value.PathForSound("Sound File (*.wav)|*.wav", true, "");
                }

                Volume   = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.1f);
                Pitch    = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f, DrawnAs.CenterAndAmplitude, 0.1f);
                PanType  = new Value.Enum <ParamaterPanType>(ParamaterPanType.Sound2D);
                Pan      = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f, DrawnAs.CenterAndAmplitude, 0.1f);
                Distance = new Value.Float(10.0f);
                Delay    = new Value.IntWithRandom(0, int.MaxValue, 0);
            }
Exemplo n.º 4
0
            internal SoundParamater()
            {
                if(Core.Language == Language.Japanese)
                {
                    Wave = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, "");
                }
                else if(Core.Language == Language.English)
                {
                    Wave = new Value.PathForSound("Sound File (*.wav)|*.wav", true, "");
                }

                Volume = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f);
                Pitch = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f);
                PanType = new Value.Enum<ParamaterPanType>(ParamaterPanType.Sound2D);
                Pan = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f);
                Distance = new Value.Float(10.0f);
                Delay = new Value.IntWithRandom(0, int.MaxValue, 0);
            }
Exemplo n.º 5
0
 internal SoundParamater()
 {
     Wave = new Value.PathForSound(Properties.Resources.SoundFilter, true, "");
     Volume = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     Pitch = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     PanType = new Value.Enum<ParamaterPanType>(ParamaterPanType.Sound2D);
     Pan = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     Distance = new Value.Float(10.0f);
     Delay = new Value.IntWithRandom(0, int.MaxValue, 0);
 }
Exemplo n.º 6
0
 internal SoundParamater()
 {
     Wave = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, "");
     Volume = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f);
     Pitch = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f);
     PanType = new Value.Enum<ParamaterPanType>(ParamaterPanType.Sound2D);
     Pan = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f);
     Distance = new Value.Float(10.0f);
     Delay = new Value.IntWithRandom(0, int.MaxValue, 0);
 }