Tau Suggestions

have it so while reading Lang info if you click the Lang button at the top , the page scrolls all the way back up to the top ( list )

1 Like

Excellent idea - it’s implemented :slight_smile:

add hz_to_midi( )

OR

freq ……….Plays frequency

be able to ‘ .choose ‘ more than notes

All addressed.

As an added bonus you can do:

play 100hz, lpf: 70hz
2 Likes

a = 10
b = 10

need

play a * b hz

so maybe better
freq a * b

or ‘ play hz( a * b )

or ‘ play (a * b)hz

100hz is just a symbolic shortcut for hz_to_midi(100). So you have to do the calculation inside the function params.

It was just an idea. I might remove it if it’s too confusing.

‘ hz_to_midi ‘ is fine : ) …… I had thought it wasn’t included for some reason …

Can I suggest: Comment out a section using CMD + /

This is very useful indeed in Sonic Pi.

1 Like

multi-line comment is now live :slight_smile:

1 Like

How about “ ; “ for multi command lines ?

I did think about that but prefer the idea of each command having a separate line. It’s easier to parse and it more closely map to a scratch-like layout. Perhaps something to revisit in the future.

@samaaron would you like Tau bugs raised somewhere else? There’s an error several errors in the documentation system.

Had a good play today. Works nicely. inevitably one or two problems.

1 doesn’t deal with rests plays :r as a low note. For the moment just setting rests to note 0.

  1. scrolling at the bottom fo the code can be a problems. sometimes wont let you scroll all the way down and the tab bar dosen’t appear.

  2. If you are using a long list to tick through then I find I have to use a sleep after the list is defined, before utilising it in a live_loop. This could just be after it has been typed in and on first run. I was able to remove the sleep once it had been parsed and run

  3. Frustrating to add an fx wrapper eg after the code has been pasted in. You have to do the fx call then bl;ank line then end and then cut and paste the code into the fx do end structure.

  4. Save doesn’t always pick up changes. I altered a comment slightly and resaved and it didn’t include the change. Cache issues?

  5. What is the syntax for selecting midi channel on midi input? It specifies fully for cc calls, but I tried similar for note_on messages and didn’t get it to work “/midi/note_on” worked. EDIT sorted. k = sync “/midi/*/3/note_on” gets input from channel 3

  6. Tried it on a Pi4 Worked no problme.

    It’s amazing what you’ve managed to do so quickly.

Hi Robin,

thanks for your feedback. Do you happen to have an example of the kind of list you’re using and also a reproducible way of hitting the save bug you mentioned. UI issues are much lower priority right now as I’m deep inside the language semantics - but I’m very aware that the editor is rather clunky to use and do intend to spend some time on it when the internals have stabilised a little.

It would be nice to have use_synth_defaults and use_sample_defaults implemented (and maybe their with_* variants), as they can save a lot of typing when you have to repeat options many times (also making it easier to port Sonic Pi pieces to Sonic Tau).

Don’t know whether this will apply to other FX also, but sounds wrapped in the :ping_pong FX can get cut off before it has finished tailing off. For example, use the built in demo code in the documentation for the :ping_pong FX, but change the feedback: to 0.85:

with_fx :ping_pong, phase: 0.25, feedback: 0.85 do
  use_synth :prophet
  play 50, release: 2, cutoff: 80
  sleep 0.5
end

In Sonic Pi, this tails off completely when it plays out.
In Sonic Tau, the sound gets cut off abruptly much earlier instead of fading out properly.

[Edit] - Yeah, sounds like it happens with :echo as well:

with_fx :echo, phase: 0.25, decay: 8 do
  use_synth :prophet
  play 50, release: 2, cutoff: 80
  sleep 0.5
end

There’s also a bug with the interactive slider for :gverb’s room: opt. Valid range according to Sonic Pi is >= 1, with default being 10. The interactive slider for room: in Sonic Tau correctly initialises to the default, 10, but as soon as you try to tweak it, the slider reverts to a range of 0 - 1, causing incorrect values and sounds.

Yes, I’m experiencing that cutting-off too. I have set up this long note that fades out on Sonic Pi, but cuts off on Tau. Check out my first code submission:

use_bpm 120

with_fx :krush do
  with_fx :reverb do
    with_fx :flanger do
      with_fx :ping_pong, phase: 0.75 do
        use_synth :bass_foundation
        play :c - 24, attack: 1, release: 8, sustain: 4
      end
    end
  end
end

16.times do
  sample :bd_haus, rate: 1
  sample :bd_haus, rate: -1
  sample :bd_fat, rate: 1
  sleep 0.64
end