[Csnd] Writing JSON files
| Date | 2026-01-13 09:23 |
| From | Philipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | [Csnd] Writing JSON files |
Hello Everybody!
is there any way to write JSON files from inside Csound?
i want to collect data during a Csound performance, which i want to make human readable and also be able to load the data into a another Csound call later.
Greetings,
Philipp
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2026-01-13 09:58 |
| From | Tarmo Johannes |
| Subject | Re: [Csnd] Writing JSON files |
| Attachments | json.udo example.csd |
Hi! I found this UDO and example by Richard Knight of JSON busines from my precious mailinglist-donwloads folder. I have not tried myself but it is definitely good to explore! tarmo Kontakt Philipp Neumann (<0000119f78f3a4f9-dmarc-request@listserv.heanet.ie>) kirjutas kuupäeval T, 13. jaanuar 2026 kell 11:23: Hello Everybody! |
| Date | 2026-01-13 11:39 |
| From | Rory Walsh |
| Subject | Re: [Csnd] Writing JSON files |
If you really want to have first class access to JSON in Csound, you should use these opcodes, also by Richard: https://git.1bpm.net/csound-json/about/ On Tue, 13 Jan 2026 at 09:58, Tarmo Johannes <trmjhnns@gmail.com> wrote:
|
| Date | 2026-01-14 06:52 |
| From | Philipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] Writing JSON files |
Looks very promissing! Thank you all!
|
| Date | 2026-01-14 09:31 |
| From | Rory Walsh |
| Subject | Re: [Csnd] Writing JSON files |
I would love to bundle them with Cabbage, but Richard uses a different JSON library than I, and I'm not sure I want to add another dependency. I might port them over. They seem to give you everything you would ever need when it comes to JSON. On Wed, 14 Jan 2026 at 06:52, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote:
|
| Date | 2026-01-15 00:50 |
| From | Richard Knight |
| Subject | Re: [Csnd] Writing JSON files |
|
Glad they're useful to others! On 2026-01-14 09:31, Rory Walsh wrote:
|
| Date | 2026-01-15 09:13 |
| From | Rory Walsh |
| Subject | Re: [Csnd] Writing JSON files |
Yeah, that's the one. I could live without support for JSONPath, although it's a pretty nice feature I have to say! On Thu, 15 Jan 2026 at 00:50, Richard Knight <richard@1bpm.net> wrote:
|