[Csnd] Csound running on bare metal
Date | 2023-11-26 16:21 |
From | Victor Lazzarini |
Subject | [Csnd] Csound running on bare metal |
Hi everyone, today we have managed to build and run Csound on bare metal (e.g. without an OS) on two different platforms: the Daisy Seed and an arm processor on a Xylinx FPGA board. This work was carried out by Aman Jagwani, and we have been updating the Csound develop branch for this so that the build can be reproduced by others. Here is a very simple video demo showing Csound running on the Daisy Board https://www.youtube.com/watch?v=uKZKw1A5LBo Once we have a bit more done in terms of integration IO such as MIDI and voltage sources on the Daisy, we hope to put together a set of documents to guide any interested users. We are also hoping to integrate Csound and the FPGA to provide acceleration (that is a more long term plan, which is part of Aman’s PhD research). best regards ======================== Prof. Victor Lazzarini Maynooth University Ireland 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 | 2023-11-26 16:24 |
From | Oeyvind Brandtsegg |
Subject | Re: [Csnd] Csound running on bare metal |
Congratulations! And thanks. Looking forward to play with it. søn. 26. nov. 2023, 17:21 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>: Hi everyone, |
Date | 2023-11-26 16:27 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] Csound running on bare metal |
Awesome. Congratulations. Can't wait to play "Trapped" and the Trapped MIDI collection on there - and Iain's Haiku and "everything" from the Csound Manual. The next frontier. Awesome work. So exciting. - Dr.B Dr. Richard Boulanger Professor Electronic Production and Design Berklee College of Music Professional Writing & Technology Division On Sun, Nov 26, 2023 at 11:21 AM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: Hi everyone, |
Date | 2023-11-26 16:48 |
From | Michael Gogins |
Subject | Re: [Csnd] Csound running on bare metal |
Very nice! On Sun, Nov 26, 2023, 11:21 Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: Hi everyone, |
Date | 2023-11-26 18:38 |
From | Rory Walsh |
Subject | Re: [Csnd] Csound running on bare metal |
Well done all. This is really something! On Sun, 26 Nov 2023 at 16:48, Michael Gogins <michael.gogins@gmail.com> wrote:
|
Date | 2023-11-26 19:03 |
From | Steven Yi |
Subject | Re: [Csnd] Csound running on bare metal |
+1 Great work! On Sun, Nov 26, 2023 at 1:38 PM Rory Walsh <rorywalsh@ear.ie> wrote:
|
Date | 2023-11-27 18:15 |
From | Iain Duncan |
Subject | Re: [Csnd] Csound running on bare metal |
Fantastic, the Daisy is a great platform! On Sun, Nov 26, 2023 at 11:03 AM Steven Yi <stevenyi@gmail.com> wrote:
|
Date | 2023-11-27 18:43 |
From | Kelly Hirai |
Subject | Re: [Csnd] Csound running on bare metal |
ooh yeah, excellent! looking forward to trying this out. k. On 11/26/23 11:21 AM, Victor Lazzarini wrote: > Hi everyone, > > today we have managed to build and run Csound on bare metal (e.g. without an OS) on two different platforms: > the Daisy Seed and an arm processor on a Xylinx FPGA board. This work was carried out by Aman Jagwani, > and we have been updating the Csound develop branch for this so that the build can be reproduced by others. > > Here is a very simple video demo showing Csound running on the Daisy Board > > https://www.youtube.com/watch?v=uKZKw1A5LBo > > Once we have a bit more done in terms of integration IO such as MIDI and voltage sources on the Daisy, we hope to put together > a set of documents to guide any interested users. We are also hoping to integrate Csound and the FPGA to provide acceleration > (that is a more long term plan, which is part of Aman’s PhD research). > > best regards > ======================== > Prof. Victor Lazzarini > Maynooth University > Ireland > > > 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 -- kelly hirai https://hiraimusic.net/~khirai 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 | 2023-11-28 12:18 |
From | Tetsuya Miwa |
Subject | Re: [Csnd] Csound running on bare metal |
Great! Very promising for use in digital Eurorack module. Tetsuya Miwa https://note.com/tmnkj 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 | 2023-11-28 21:04 |
From | Aaron Krister Johnson |
Subject | Re: [Csnd] Csound running on bare metal |
This is great news indeed. When the time comes, and with your permission, I'll update the forked source for "diet csound" with the under-development build code. Cheers, On Tue, Nov 28, 2023 at 5:18 AM Tetsuya Miwa <izc07036@nifty.com> wrote: Great! Very promising for use in digital Eurorack module. |
Date | 2023-11-28 21:13 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Csound running on bare metal |
The code on develop now will build for the STM32H7 with the toolchain from Bela. We just need to push the cross compile file for cmake so anyone can have a go. There’s a strange issue with csoundReadScore() that we still need to diagnose, but everything else seems to work OK. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 28 Nov 2023, at 21:04, Aaron Krister Johnson |
Date | 2023-11-29 18:21 |
From | Ges Cook |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Csound running on bare metal |
Wow. Can't wait to see how the fpga stuff works out. I've been wanting to get my Zedboard accelerating Csound for years ever since the old extended Csound work by Barry Vercoe based on DSP Sharc devices from Analog Devices.. Good luck Ges On Tue, 28 Nov 2023, 21:13 Victor Lazzarini, <Victor.Lazzarini@mu.ie> wrote: The code on develop now will build for the STM32H7 with the toolchain from Bela. |
Date | 2023-11-29 18:49 |
From | Aaron Krister Johnson |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Csound running on bare metal |
Victor -- curious how csound reads "files" if there is no OS -- what is the "file" concept? Also, devices, etc. And how does one interact with the process? Is there a "shell"?On Tue, Nov 28, 2023 at 2:13 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: The code on develop now will build for the STM32H7 with the toolchain from Bela. |
Date | 2023-11-29 18:50 |
From | Aaron Krister Johnson |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Csound running on bare metal |
Sorry -- s/beal/bela On Wed, Nov 29, 2023 at 11:49 AM Aaron Krister Johnson <akjmicro@gmail.com> wrote:
|
Date | 2023-11-29 19:08 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Csound running on bare metal |
No files - only memory. So we supply Csound code as strings. Daisy has a way of accessing files in an SD card so that could be used to load code. Currently you have to write a program using the Csound API and it runs on the board. All IO then has to be handled by that program (dispatching MIDI to Csound, GPIOs etc), we’ll be working on that now that we have sound. One thing is not working: csoundReadScore(), so there’s no score sorting services available (yet) but otherwise everything else seems to be good. I have not yet identified why it doesn’t work but I hope to get to the bottom of this soon. Instructions to follow. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 29 Nov 2023, at 18:49, Aaron Krister Johnson |
Date | 2023-11-30 01:13 |
From | Synaptic Memory Seepage |
Subject | Re: [Csnd] Csound running on bare metal |
I've followed this listserv for several years. I haven't had time to work with C Sound for the past 5 years, but I love getting reminders. Over the past few years, I've done many microcontroller projects in school. I would love to get back to C Sound and try to implement it on a board running an ARM microprocessor. Best regards, Jonathan Winters BS EE, EIT (PA) On Sun, Nov 26, 2023 at 11:21 AM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: Hi everyone, |
Date | 2023-12-01 09:02 |
From | Alex Hofmann |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Csound running on bare metal |
Hi Victor and Aman, that's awesome work! I am trying to reproduce this on Daisy Pod right now.. I managed to build libcsound.a (its only 3mb?) and have to see where to go from there. Any hints are very much appreciated :-) Best, Alex > Am 29.11.2023 um 20:08 schrieb Victor Lazzarini |