diff --git a/src/wick/durations.json b/src/wick/durations.json index 2395c16..3f1e52c 100644 --- a/src/wick/durations.json +++ b/src/wick/durations.json @@ -1 +1 @@ -[19.2, 15.2, 24.48, 26.88, 18.96, 22.8, 22.96] \ No newline at end of file +[19.2, 15.2, 24.48, 26.88, 18.96, 22.8, 28.64, 41.76] \ No newline at end of file diff --git a/src/wick/script.json b/src/wick/script.json index 81fdd1e..75e4940 100644 --- a/src/wick/script.json +++ b/src/wick/script.json @@ -5,5 +5,6 @@ "Keep turning. At the half turn it is a sphere again, but inside out: every point has gone to its opposite. At three quarters, a plane again, facing the other way. At the full turn, home. Four quarter turns: sphere, plane, sphere, plane, sphere. That is the Wick cycle.", "A plane is a chart: a picture of the sphere with one point missing. The sphere is the whole thing. So passing from the plane phase to the sphere phase means putting the missing point back: making an affine picture projective. That is exactly what analytic continuation does.", "Now draw latitude and longitude on the sphere about the j axis, and go to the plane phase. The grid becomes circles nested around minus one and one, with arcs swinging between them. Shrink it by a half and slide it by a half, and that is the picture zeta draws: poles on zero and one, the equator on the critical line.", -"One more piece. Zeta's far hemisphere is not quite the mirror of the near one. It is the mirror, dressed by a gamma factor. Fold that factor in and you get xi, which lives on the sphere cleanly, with the half turn as its symmetry. Sphere to plane is continuation. The gamma factor is the fare for the trip." -] +"Now overlay every turn at once. Each position of the sphere passes through the same circle, the j k circle, so the whole family is a pencil of spheres threaded on one ring, with their centres sliding along the i axis. The plane is just the member that reaches infinity. Sweep theta all the way round and the pencil fills space: the four snapshots were slices of the hypersphere, and the ring and the axis are its two linked threads.", +"One more piece: the gamma factor. Every prime gives zeta a ball of its own, wrapping at its own rate, log p. They are the harmonics. There is one more place, infinity, the lamp, and its ball has no period: it is the single continuous source the harmonics are sampled from. Its factor is the gamma function. Fold it in and you get xi, which lives on the sphere cleanly, with the half turn as its symmetry: the far side of the equator is the alias of the near side, folded at the Nyquist line, one half. Sphere to plane is continuation. The gamma factor is the lamp's own ball." +] \ No newline at end of file diff --git a/src/wick/tts2.py b/src/wick/tts2.py new file mode 100644 index 0000000..9ed9ca9 --- /dev/null +++ b/src/wick/tts2.py @@ -0,0 +1,13 @@ +import json, numpy as np, pathlib, pocket_tts +from pocket_tts import TTSModel +S = json.load(open('script.json')) +m = TTSModel.load_model(config=str(pathlib.Path(pocket_tts.__file__).parent / 'config' / 'english_2026-01.yaml')) +st = m.get_state_for_audio_prompt('azelma') +D = json.load(open('durations.json'))[:6] +for i in (6, 7): + parts = [(s.detach().cpu().numpy().clip(-1, 1) * 32767).astype('