docstr: Mark all parameters as frozen, i.e. do not randomize them for each call. This can be
  useful if you want to apply an effect chain with the exact same parameters to multiple
  sounds.
docstr_tok: ["Mark","all","parameters","as","frozen",",","i.e",".","do","not","randomize","them","for","each","call",".","This","can","be","useful","if","you","want","to","apply","an","effect","chain","with","the","exact","same","parameters","to","multiple","sounds","."]
code: def freeze_parameters(self, apply_to_children=True):
      """
      Mark all parameters as frozen, i.e. do not randomize them for each call. This can be
      useful if you want to apply an effect chain with the exact same parameters to multiple
      sounds.
      """
      self.are_parameters_frozen = True
      if apply_to_children:
          for transform in self.transforms:
              transform.freeze_parameters()
  
imports: import random
  import numpy
  from numpy.typing import NDArray
  from audiomentations.core.transforms_interface import BaseSpectrogramTransform
label_desc: Use image node_id 4 for calling the BaseCompose obj's underlying member method code with example usage: obj.freeze_parameters(apply_to_children) without return types