Re: playing music with GP
John Duncan <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <CABh9whJQWdKXFS6cFu_MsGaaP6W5qi=O4tNZFHOFPk4_xwB82A@mail.gmail.com> |
On a similar note, I'd be happy to hear about it if anyone has a quick solution for getting this to work on mac os. John On Fri, Jul 11, 2025, 15:22 Charles Greathouse <[email protected]> wrote: > As Hans says, the key is setting up the Windows Subsystem for Linux. > > On Fri, Jul 11, 2025 at 3:43 PM Hans L <[email protected]> wrote: > >> 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 >>> >>>