@desolationjones: Thanks for the suggestions. Setting the end first and then seeking backwards seems like a good approach however I’m still not seeing the behaviour I expected.
Here’s a video of what happens when I try the above commands: Teletype and W/2.0 Loops - YouTube
What’s confusing me is the state of the loop after those ops. You can see in the video at around 0:15 after W/T.LOOP.ACTIVE 1 the yellow loop light starts pulsing but when I press “play” the white “play” light flashes but the loop does not cycle, it just stays on the loop start point (pulsing yellow).
When I manually trigger the “loop” button after that (while playing), you can see that the loop lights cycle, indicating that there is an active loop working. I was expecting the same cycling loop lights to happen after I pressed play after running your script.
Are you seeing the same behaviour (i.e., no cycling loop lights after running script and pressing play)?
PS. I’m not really intending to repeatedly write to a small, fixed section of the tape. This is more an exercise to help me understand the mechanics of the W/T mode.
Edit: @Justmat Aha! Your W/T.SPEED 1 1 suggestion was what got things working for me. I think for some reason the tape speed must have been set to zero somehow. Once I ran that command the following script worked exactly as I had expected:
W/T.SPEED 1 1 # This is not needed after it is run once
W/T.LOOP.START
W/T.SEEK 4 0
W/T.LOOP.END # The automatically activates the loop
W/T.PLAY 1
I still don’t fully understand why the script didn’t work but manually pressing play and setting the loop start/end markers worked even though I must have had the speed at zero, but now that I’ve set the speed both modes work much more similarly.
Thanks again!
Update
Ok, so I managed to automate periodically recording 4s loops and then playing them back reversed, which is great, but now I’ve hit a new problem.
After running the scripts that implements a set loop, record, and playback cycle a few times all output from the W/ suddenly cuts out. No pass through our recorded sound plays and the white light above the IN jack stays on at full brightness.
What is weird is that the rest of the W/ seems to be functioning normal. The yellow light on IN seems to be monitoring the input, and the loop, play and record lights are all responding normally to both manual button presses and W/T i2c commands from the Teletype.
I’ve tried send a bunch of commands to get the W/ unstuck but it stays silent. The only thing that gets it working again is a power cycle.
Has anyone else seen this sort of behaviour? I did not see it when executing simpler scripts or executing W/T ops in live mode, so maybe W/ is freaking out from receiving too many i2c commands at once?
For context, my setup is:
- Green PCB Teletype (v4.0.0)
- Just Friends (Gold Clouds)
- W/ (v2.0b7)
- i2c: TT → JF → W/