diff --git a/js/sound-generators/SoundClipChord.ts b/js/sound-generators/SoundClipChord.ts index 94f13fe..ffa1b87 100644 --- a/js/sound-generators/SoundClipChord.ts +++ b/js/sound-generators/SoundClipChord.ts @@ -7,7 +7,6 @@ */ import DerivedProperty from '../../../axon/js/DerivedProperty.js'; -import Property from '../../../axon/js/Property.js'; import merge from '../../../phet-core/js/merge.js'; import optionize from '../../../phet-core/js/optionize.js'; import SoundClip, { SoundClipOptions } from '../../../tambo/js/sound-generators/SoundClip.js'; @@ -15,6 +14,7 @@ import SoundGenerator, { SoundGeneratorOptions } from '../../../tambo/js/sound-g import tambo from '../tambo.js'; import WrappedAudioBuffer from '../WrappedAudioBuffer.js'; import ISoundPlayer from '../ISoundPlayer.js'; +import IReadOnlyProperty from '../../../axon/js/IReadOnlyProperty.js'; type SelfOptions = { @@ -46,7 +46,7 @@ class SoundClipChord extends SoundGenerator implements ISoundPlayer { private readonly playbackSoundClips: SoundClip[]; // flag indicating whether this is currently playing - public readonly isPlayingProperty: Property; + public readonly isPlayingProperty: IReadOnlyProperty; constructor( sound: WrappedAudioBuffer, providedOptions?: SoundClipChordOptions ) { diff --git a/js/sound-generators/SoundGenerator.ts b/js/sound-generators/SoundGenerator.ts index 8aaaf40..0b6d54d 100644 --- a/js/sound-generators/SoundGenerator.ts +++ b/js/sound-generators/SoundGenerator.ts @@ -22,7 +22,7 @@ import IReadOnlyProperty from '../../../axon/js/IReadOnlyProperty.js'; // constants const DEFAULT_TIME_CONSTANT = soundConstants.DEFAULT_PARAM_CHANGE_TIME_CONSTANT; -let notSettingPhetioStateProperty: Property; +let notSettingPhetioStateProperty: IReadOnlyProperty; export type SoundGeneratorOptions = {