Re: playing music with GP

Charles Greathouse <[email protected]>
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <CANXmBjwjq+PfEqnw7+yXcrtz8=cnsHYkYkiA_68HNBbWUrGWvQ@mail.gmail.com>
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
>>
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.