[Csnd] mp3 playback with variable playback speed?
| Date | 2026-01-01 17:29 |
| From | Iain Duncan |
| Subject | [Csnd] mp3 playback with variable playback speed? |
Hi colleagues, I'm hoping to avoid some downloading in a web app by using mp3s for samples instead of wav, but in the manual the example for mp3in doesn't appear to show the ability to alter pitch. I'm just doing playback of one shot and want a multi-sampler where I repeat something like every three times (i.e., same sample used for C0-Eb0)
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
I assume I am missing something obvious, any tips much appreciated! iain |
| Date | 2026-01-01 17:43 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] mp3 playback with variable playback speed? |
|
With libsndfile support for mp3, diskin does the job. For pitch shift without time scaling, try filescal. There is also mp3scal, which does not depend on libsndfile.
Prof. Victor Lazzarini
Maynooth University
Ireland
On 1 Jan 2026, at 17:29, Iain Duncan <iainduncanlists@gmail.com> wrote:
|
| Date | 2026-01-02 01:35 |
| From | Iain Duncan |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] mp3 playback with variable playback speed? |
Excellent, thanks Victor. I'm not clear on one thing, does the vanilla-WASM Csound.js allow me to use libsndfile deps or will I need to stick to things that do not require that? thanks! On Thu, Jan 1, 2026 at 9:43 AM Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote:
|
| Date | 2026-01-02 02:39 |
| From | Iain Duncan |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] mp3 playback with variable playback speed? |
Nevermind, I see that libsndfile is appearing in my console output! iain On Thu, Jan 1, 2026 at 5:35 PM Iain Duncan <iainduncanlists@gmail.com> wrote:
|