Recording is not happening with osc commands

Hello @vinodv :slight_smile: welcome!

What version of Sonic Pi are you using?

(Aside from that, just in case you’re not already aware, sending commands to the server directly through OSC is not officially supported.)

You may be basing your test on comments seen elsewhere in this forum? - there are several threads which talk about this - however, the internal design of Sonic Pi has changed since comments such as those seen in Recording Sonic Pi output into .wav files programatically - the most recent builds of Sonic Pi now dynamically determine the port at which the server receives commands.

It is possible, with a bit of work, to find out the port number that is being used. You can inspect the log file .sonic-pi\log\gui.log usually found starting in your home directory, and find a line that says:

Port entry server-listen-to-gui : XXXXX : XXXXX

where XXXXX is the port number that is used to send commands to the server.

(A reminder again that sending commands directly to the server like this is not officially supported, and it is highly likely that such a thing will change completely down the road). We do plan on eventually introducing a much easier way of doing things like this, when resources permit.