diff --git a/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh b/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh index 10e22231..fd0ed2d4 100755 --- a/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh +++ b/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh @@ -2,6 +2,7 @@ #-------------------------------------------------------------------------------- # Build script for Raspberry Pi, which creates Linux/arm builds. +# Tested on Raspberry Pi 4 running Raspberry Pi OS circa October 2024 # Requires pyenv, which requires libffi-dev to build Python with ctypes support. # # May be ultimately better to switch to this arm runner action: @@ -33,4 +34,6 @@ do done pip3 install build auditwheel -auditwheel repair --plat manylinux_2_34_aarch64 dist/*.whl +cd dist +mkdir -p fixed +auditwheel repair *.whl -w fixed --plat manylinux_2_34_aarch64 diff --git a/examples/audio-through-example.py b/examples/audio-through-example.py index 4b9b9626..7721d2ae 100755 --- a/examples/audio-through-example.py +++ b/examples/audio-through-example.py @@ -9,6 +9,9 @@ def main(): + print("Audio playthrough: Plays the microphone input through the default output") + print("Listen through headphones to avoid feedback") + graph = AudioGraph() #-------------------------------------------------------------------------------- @@ -18,12 +21,14 @@ def main(): # [audio] # input_device_name = "My Device" #-------------------------------------------------------------------------------- - audio_in = AudioIn(1) + audio_in = AudioIn() + audio_in = audio_in[0] #-------------------------------------------------------------------------------- # Add some delay, and play #-------------------------------------------------------------------------------- output = audio_in + output = output + CombDelay(output, 0.1, feedback=0.8) stereo = StereoPanner(output) graph.play(stereo) diff --git a/examples/granulation-example.py b/examples/granulation-example.py index 2583ff52..4cf2d038 100755 --- a/examples/granulation-example.py +++ b/examples/granulation-example.py @@ -16,9 +16,10 @@ def main(): #------------------------------------------------------------------------ # Load an audio buffer. #------------------------------------------------------------------------ - audio_path = os.path.join(os.path.dirname(__file__), "audio", "gliss.aif") + audio_path = os.path.join(os.path.dirname(__file__), "audio", "stereo-count.wav") buf = Buffer(audio_path) - clock = RandomImpulse(50) + grain_frequency = WhiteNoise(frequency=2, min=1, max=50) + clock = RandomImpulse(grain_frequency) granulator = Granulator(buffer=buf, clock=clock, pan=RandomUniform(-1, 1, clock=clock), @@ -35,4 +36,4 @@ def main(): graph.wait() if __name__ == "__main__": - main() \ No newline at end of file + main()