Re: playing music with GP
Hans L <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <CAFoRp-OdTRDPundb-xRZdV06brmKyBGCK_B028v9mghCsvUSLw@mail.gmail.com> |
It's part of package "alsa-utils" on ubuntu sudo apt install alsa-utils you'll probably need to run pari through wsl too (package name "pari-gp") -Hans On Fri, Jul 11, 2025 at 12:23 PM Michael Day <[email protected]> wrote: > Nobody's asked you yet - perhaps they're all unix users - > does this work under Windows? "aplay" appears to be > a unix/linux/... app. I run Windows 11 & do have a > ubuntu 24 emulation, but I don't know how to install s/w > for it! > > Not desperately important (!), but it looks as if it might be fun to try. > Thanks, > Mike > > On 09/07/2025 22:14, Bill Allombert wrote: > > Dear PARI lovers, > > > > I have written a GP script to play music using GP (really play music, > not just sending MIDI data). > > > > One need the "aplay" alsa utility. the instrument is the formula in the > playnote > > function. > > > > If you use the latest GIT version, you can use the first "start" function > > instead of the second one. > > > > Can you recognize the music (without reading the score) ? > > (Sorry in advance for any error in the score) > > > > Cheers, > > Bill. > > -- > This email has been checked for viruses by Avast antivirus software. > www.avast.com > >