#Bitcrusher causing crashes?

1 messages · Page 1 of 1 (latest)

slim lava
#
  1. I'm having an issue regarding bitcrusher somehow crashing applio when selected for batch runs.
    1. pedalboard_native.Bitcrush(bit_depth: float = 8)

Invoked with: kwargs: bit_depth=[{'__type__': 'update', 'visible': True}]
Traceback (most recent call last):
  File "C:\Users\abhin\Desktop\ApplioV3.2.5\rvc\infer\infer.py", line 497, in convert_audio
    audio_output_path = self.post_process_audio(
  File "C:\Users\abhin\Desktop\ApplioV3.2.5\rvc\infer\infer.py", line 211, in post_process_audio
    bitcrush = Bitcrush(bit_depth=bitcrush_bit_depth)
TypeError: __init__(): incompatible constructor arguments. The following argument types are supported:
    1. pedalboard_native.Bitcrush(bit_depth: float = 8)

Invoked with: kwargs: bit_depth=[{'__type__': 'update', 'visible': True}]```

2. For some reason when doing batch runs, the 'format shifting' option is selectable but does not properly bring a drop down.

I was just hoping for some help regarding it as I'm new to the whole thing
slim lava
#
            if bitcrush_bit_depth == [{'__type__': 'update', 'visible': True}]:
                bit_depth = 8
                bitcrush = Bitcrush(bit_depth)
            else:
                bitcrush = Bitcrush(bit_depth=bitcrush_bit_depth)
            board.append(bitcrush)

Did some work to the applio files and created a simple hotfix for now.

For some reason the bitcrush_bit_depth is returning a list of dictionaries??? [{'type': 'update', 'visible': True}]

I presume this is due to the wrong data being assigned, but I don't have the technical knowhow to really 'fix' it.