# Inspector for sound element… samples?

**URL:** <https://forum.babylonjs.com/t/inspector-for-sound-element-samples/48715>\
**Category:** Bugs\
**Tags:** inspector\
**Created:** [March 12, 2024, 10:49am UTC](https://forum.babylonjs.com/t/inspector-for-sound-element-samples/48715 "2024-03-12T10:49:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [March 12, 2024, 10:49am UTC](https://forum.babylonjs.com/t/inspector-for-sound-element-samples/48715/1 "2024-03-12T10:49:44Z")

</div>

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’ ?

 ![Capture d’écran 2024-03-12 à 11.48.59](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/8/f869562233811de41ee897d25b8fa9e5bcca8478.jpeg)

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [March 12, 2024, 12:32pm UTC](https://forum.babylonjs.com/t/inspector-for-sound-element-samples/48715/2 "2024-03-12T12:32:56Z")

</div>

totally, 100%, volume:

```javascript
<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 🙂
