Inspector for sound element… samples?

Dears,
Not 100% sure because I’m kinda new to the audio engine, but…
Could it be that the label ‘Samples’ in the sound object parameters shown in ‘The Inspector’ would actually be ‘Volume’ ?

2 Likes

totally, 100%, volume:

<SliderLineComponent
                        lockObject={this.props.lockObject}
                        label="Samples"
                        target={sound}
                        directValue={sound.getVolume()}
                        onChange={(value) => {
                            sound.setVolume(value);
                            this.forceUpdate();
                        }}
                        minimum={0}
                        maximum={5}
                        step={0.1}
                        decimalCount={1}
                        onPropertyChangedObservable={this.props.onPropertyChangedObservable}
                    />

I’ll fix that soon :slight_smile:

3 Likes