[PD] 4. Re: How to use a DAC expansion board with the RPi4 (Ingo)
Mark Polishook
polishookm at gmail.com
Thu Sep 23 17:48:36 CEST 2021
> Today's Topics:
>
> 1. Re: How to talk to the Raspberry 4 GPIO and a multiple object
> question ? (Ingo)
> 2. How to use a DAC expansion board with the RPi4 (Ingo)
> 3. Re: How to use a DAC expansion board with the RPi4 (Peter P.)
> 4. Re: How to use a DAC expansion board with the RPi4 (Ingo)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 23 Sep 2021 13:47:55 +0200
> From: "Ingo" <ingo at miamiwave.com>
> To: <joseph.larralde at gmail.com>, <pd-list at lists.iem.at>
> Subject: Re: [PD] How to talk to the Raspberry 4 GPIO and a multiple
> object question ?
> Message-ID: <000a01d7b070$d90b2150$8b2163f0$@miamiwave.com>
>
> Thanks, Joseph!
>
> An additional Arduino is too large for this one.
>
> I just need to turn on 2 LEDs during startup and everything needs to fit into
> this case:
> https://www.berrybase.de/en/new/argon-nanosound-one-case-f-252-r-raspberry-pi-4?c=2389
>
>
>> -----Original Message-----
>> From: Pd-list [mailto:pd-list-bounces at lists.iem.at] On Behalf Of Joseph
>> Larralde
>> Sent: Wednesday, September 22, 2021 2:51 PM
>> To: pd-list at lists.iem.at
>> Subject: Re: [PD] How to talk to the Raspberry 4 GPIO and a multiple object
>> question ?
>>
>> Hi Ingo,
>>
>> What I do for a project of mine is using an arduino connected to the rx tx
>> pins
>> of the Pi (rx tx voltages must be adapted, though) Then [comport] allows me
>> to get both cards to talk together.
>> It's on a Pi Zero so I don't know for other versions, but I also had to
>> disable
>> the serial console in raspbian lite's config file because it was causing
>> glitches
>> in the serial communication.
>> Now it's working fine with a 115200 baudrate.
>> Hope this helps, I can provide a few more details about this method if
>> necessary.
>>
>> Joseph Larralde
>> --
>> freelance developer
>> www.josephlarralde.fr
>>
>> Le 22/09/2021 12:00, pd-list-request at lists.iem.at a crit :
>>> Send Pd-list mailing list submissions to
>>> pd-list at lists.iem.at
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> https://lists.puredata.info/listinfo/pd-list
>>> or, via email, send a message with subject or body 'help' to
>>> pd-list-request at lists.iem.at
>>>
>>> You can reach the person managing the list at
>>> pd-list-owner at lists.iem.at
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Pd-list digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>> 1. How to talk to the Raspberry 4 GPIO and a multiple object
>>> question ? (Ingo)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Tue, 21 Sep 2021 17:53:46 +0200
>>> From: "Ingo" <ingo at miamiwave.com>
>>> To: <pd-list at lists.iem.at>
>>> Subject: [PD] How to talk to the Raspberry 4 GPIO and a multiple
>>> object question ?
>>> Message-ID: <000001d7af00$dc90b1d0$95b21570$@miamiwave.com>
>>> Content-Type: text/plain; charset="us-ascii"
>>>
>>> Now that I got most of my software running on the Pi - with much more
>>> performance than I expected - I need to be able talk to the GPIO of
>>> the RPi 4.
>>>
>>>
>>>
>>> First of all a big thanks again for everybodys help me with the libraries
>>> !
>>> ! !
>>>
>>>
>>>
>>> I know there had been some changes a while ago with the RPi GPIO when
>>> some way to interfacing with Pd dumped.
>>>
>>> I'm not sure what it was anymore - so, how can I connect from Pd atm?
>>>
>>> All I need to be able to do for now is turning on a few LEDs.
>>>
>>>
>>>
>>> Does [comport] recognize the GPIO of the RPi 4?
>>>
>>>
>>>
>>> BTW, the libraries are mostly working but I happen to have some
>>> trouble with [speedlim] being in 3 different libraries.
>>>
>>> It's in Cyclone (which I had been using before and is working fine)
>>> and also in maxlib and iemlib.
>>>
>>> The latter gives me sometimes trouble but I don't know how I can get
>>> rid of single objects in "iemlib".
>>>
>>> (Sometimes it outputs a float instead of a list. I have already [t
>>> list] in front of it.)
>>>
>>>
>>>
>>> Is it possible or will I have to prepend "cyclone" every time?
>>>
>>>
>>>
>>> Or is there another way to make sure that the cyclone object will be
>>> used first instead of the iemlib object?
>>>
>>> The libraries are currently loaded in alphabetic order in the
>>> ".pdsettings".
>>>
>>>
>>>
>>> Thanks
>>>
>>> Ingo
>>>
>>> -------------- next part -------------- An HTML attachment was
>>> scrubbed...
>>> URL:
>>> <http://lists.puredata.info/pipermail/pd-list/attachments/20210921/2a6
>>> 1c1c0/attachment-0001.htm>
>>>
>>> ------------------------------
>>>
>>> Subject: Digest Footer
>>>
>>> _______________________________________________
>>> Pd-list mailing list
>>> Pd-list at lists.iem.at
>>> to manage your subscription (including un-subscription) see
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>> ------------------------------
>>>
>>> End of Pd-list Digest, Vol 198, Issue 34
>>> ****************************************
>>
>>
>>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 23 Sep 2021 14:03:44 +0200
> From: "Ingo" <ingo at miamiwave.com>
> To: <pd-list at lists.iem.at>
> Subject: [PD] How to use a DAC expansion board with the RPi4
> Message-ID: <000b01d7b073$0f18f360$2d4ada20$@miamiwave.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi everybody!
>
>
>
> I just got a DAC expansion board for my RPi4 but Pd doesn't see it.
>
> https://www.berrybase.de/en/new/argon-nanosound-one-case-f-252-r-raspberry-p
> i-4?c=2389
>
>
>
> Since there is no room for a sound card in such a small box and the RPi
> headphone out is no good it looks like the only compact way.
>
>
>
> Can anybody point me to instruction for making Pd use these DAC expansion
> boards as a sound card?
>
> They obviously don't show up in the ALSA sound options by default.
>
>
>
> Thanks!
>
> Ingo
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210923/68890d63/attachment-0001.htm>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 23 Sep 2021 14:19:27 +0200
> From: "Peter P." <peterparker at fastmail.com>
> To: pd-list at lists.iem.at
> Subject: Re: [PD] How to use a DAC expansion board with the RPi4
> Message-ID: <20210923121927.m33ryaqnyvdnzm7j at fastmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> * Ingo <ingo at miamiwave.com> [2021-09-23 14:04]:
>> Hi everybody!
>>
>>
>>
>> I just got a DAC expansion board for my RPi4 but Pd doesn't see it.
>>
>> https://www.berrybase.de/en/new/argon-nanosound-one-case-f-252-r-raspberry-p
>> i-4?c=2389
>>
>>
>>
>> Since there is no room for a sound card in such a small box and the RPi
>> headphone out is no good it looks like the only compact way.
>>
>>
>>
>> Can anybody point me to instruction for making Pd use these DAC expansion
>> boards as a sound card?
> What do the commands
> $ pd -listdev
> $ $ cat /proc/asound/cards
> tell you about available cards?
>
> What does the manufacturer of the expansion board tell you about it?
> Will it be a separate sound card from the built-in one? Or will the
> expansion merely provide the built-in one with more channels?
>
> You might want to subscribe to the linux audio users mailing list for
> assistance as well.
>
> P
>
>
—-Email Argon40. Ask for assistance.
—-There are probably better sound card options than argon, including those from Hifiberry, Blokas, and a few others (google “rasberrypi dac”, for example)
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 23 Sep 2021 15:34:53 +0200
> From: "Ingo" <ingo at miamiwave.com>
> To: "'Peter P.'" <peterparker at fastmail.com>, <pd-list at lists.iem.at>
> Subject: Re: [PD] How to use a DAC expansion board with the RPi4
> Message-ID: <000201d7b07f$cacda950$6068fbf0$@miamiwave.com>
>
> cat /proc/asound/cards says --- no soundcards ---
> Pd doesn't see any soundcards.
>
> I think the problem is that the DAC get its data from the GPIO pins that Pd
> cannot communicate with.
>
> I wonder if anybody made a "virtual soundcard" that talks to the RPi GPIO
> and shows up as a ALSA device.
>
> I have a very small Sounblaster card that works fine and sounds ok but it's
> still too large to fit inside.
> With the internal headphones out my software doesn't even start up.
>
> I'm afraid that this won't even work at all with Pd . . .
> Has anyone ever used any of these RPi DACs?
>
> Ingo
>
>
>
>> -----Original Message-----
>> From: Pd-list [mailto:pd-list-bounces at lists.iem.at] On Behalf Of Peter P.
>> Sent: Thursday, September 23, 2021 2:19 PM
>> To: pd-list at lists.iem.at
>> Subject: Re: [PD] How to use a DAC expansion board with the RPi4
>>
>> * Ingo <ingo at miamiwave.com> [2021-09-23 14:04]:
>>> Hi everybody!
>>>
>>>
>>>
>>> I just got a DAC expansion board for my RPi4 but Pd doesn't see it.
>>>
>>> https://www.berrybase.de/en/new/argon-nanosound-one-case-f-252-r-
>> raspb
>>> erry-p
>>> i-4?c=2389
>>>
>>>
>>>
>>> Since there is no room for a sound card in such a small box and the
>>> RPi headphone out is no good it looks like the only compact way.
>>>
>>>
>>>
>>> Can anybody point me to instruction for making Pd use these DAC
>>> expansion boards as a sound card?
>> What do the commands
>> $ pd -listdev
>> $ $ cat /proc/asound/cards
>> tell you about available cards?
>>
>> What does the manufacturer of the expansion board tell you about it?
>> Will it be a separate sound card from the built-in one? Or will the
> expansion
>> merely provide the built-in one with more channels?
>>
>> You might want to subscribe to the linux audio users mailing list for
> assistance
>> as well.
>>
>> P
>>
>>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>
>
>
>
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Pd-list mailing list
> Pd-list at lists.iem.at
> to manage your subscription (including un-subscription) see
> https://lists.puredata.info/listinfo/pd-list
>
>
> ------------------------------
>
> End of Pd-list Digest, Vol 198, Issue 37
> ****************************************
More information about the Pd-list
mailing list