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 )
Excellent idea - it’s implemented ![]()
add hz_to_midi( )
OR
freq ……….Plays frequency
All addressed.
As an added bonus you can do:
play 100hz, lpf: 70hz
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.
multi-line comment is now live ![]()
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.
-
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.
-
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
-
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.
-
Save doesn’t always pick up changes. I altered a comment slightly and resaved and it didn’t include the change. Cache issues?
-
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 -
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.
