Re: [LAU] Merry Christmas Python Chiptune (sortof)

From: Ivan K <ivan_521521@email-addr-hidden>
Date: Tue Dec 26 2017 - 23:34:23 EET

When I execute:
> python pybells_2017.py

I get the following message:

> Calculating notes...
> Traceback (most recent call last):
> File "pybells_2017.py", line 203, in <module>
> 0, MAX_AMPLITUDE, NOTE_DURATION * ATTACK_FACTOR, MASTER_VOLUME
> File "pybells_2017.py", line 60, in make_ramp
> for _ in range(1, size):
> TypeError: range() integer end argument expected, got float.

and no .wav file is created. How do I fix this?
Am I missing a python library ?

Thank you.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Dec 27 00:15:03 2017

This archive was generated by hypermail 2.1.8 : Wed Dec 27 2017 - 00:15:03 EET