Re: [Alsa-user] splitting a 4 channel usb sound card into master and headphone

2018-02-04 Thread Charles Mulder
Yeah. I tried that already. Doesn't work.

On Sun, Feb 4, 2018 at 1:16 AM Samuel Nicholas 
wrote:

> So whilst really trying to get my head around the syntax of the
> configuration files, I figured the only way i truly could was to read
> the source code.
>
> whilst i was doing that i found this interesting configuration file
> src/conf/cards/USB-Audio.conf
>
> on lines 22 starts the description of configuring the usb device to be
> two stereo devices not  a surround40
>
> I'm not at home with my mix deck so cant test but its promising, i
> might be able to fix not just my personal configuration but submit a
> pull request to fix everyone's
>
> On 2 February 2018 at 18:08, Samuel Nicholas 
> wrote:
> >  this sounds exactly like what i am trying, first step for me is to
> > familiarise myself with the asoundrc syntax and capabilities. i'll
> > report back once i have something interesting
> >
> > On 2 February 2018 at 17:40, Charles Mulder 
> wrote:
> >> Hi Samuel.
> >>
> >> I think I have a similar problem with the Audient iD14. Maybe we could
> >> collaborate?
> >>
> >> I haven't received many responses from the mailing list, so grateful for
> >> Robert Bielik's suggestion.
> >>
> >> Looks like the dshare plugin has some parameters I'm not familiar with.
> >> What's new?! :-) Hope I can find information to demystify. Will share
> when I
> >> do. Please do the same.
> >>
> >> As a backup I have started reading Linux Device Drivers and have asked
> >> Audient for their help.
> >>
> >> Here are some other resources I have found.
> >>
> >> A close look at ALSA
> >> Linux ALSA sound notes
> >> Writing an ALSA Driver
> >> ALSA Runtime arguments in configuration files
> >>
> >> My strategy has just been to read and reread and keep trying to figure
> it
> >> out. I imagine it's going to take some time. :-)
> >>
> >> Charles
> >>
> >> On Thu, Feb 1, 2018 at 11:09 PM Samuel Nicholas <
> nicholas.sam...@gmail.com>
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I have a Pioneer DDJ-WeGO, 4 channel USB device that outputs stereo
> >>> master and stereo headphone.
> >>> I've been scouring the internet trying to find out how I can possibly
> >>> split up the ports as it presents as a surround 4.0 device.
> >>>
> >>> So far I've come up with nothing except an remapping in pulseaudio
> >>> that is super ugly to use.
> >>> I really would like to solve this at the lowest possible layer.
> >>>
> >>> U have udev rules to discriminate the device working fine.
> >>>
> >>> Is there any way to do this with alsa?
> >>>
> >>> Cheers for any help,
> >>> Samuel.
> >>>
> >>>
> >>>
> --
> >>> Check out the vibrant tech community on one of the world's most
> >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >>> ___
> >>> Alsa-user mailing list
> >>> Alsa-user@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/alsa-user
> >>
> >> --
> >> Charles Mulder
> >> Software Engineer/Musician
> >> mobile: +27 83 653 3698 <+27%2083%20653%203698>
> >> phone: +27 27 948 2592 <+27%2027%20948%202592>
> >> skype: charliemurder
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
-- 
Charles Mulder
Software Engineer/Musician
mobile: +27 83 653 3698
phone: +27 27 948 2592
skype: charliemurder
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] splitting a 4 channel usb sound card into master and headphone

2018-02-04 Thread Clemens Ladisch via Alsa-user
Samuel Nicholas wrote:
> src/conf/cards/USB-Audio.conf
>
> on lines 22 starts the description of configuring the usb device to be
> two stereo devices not a surround40

No, that is for devices that implement two stereo devices in hardware
and should be seen as a single 4.0 device by software.


Regards,
Clemens

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] splitting a 4 channel usb sound card into master and headphone

2018-02-03 Thread Samuel Nicholas
So whilst really trying to get my head around the syntax of the
configuration files, I figured the only way i truly could was to read
the source code.

whilst i was doing that i found this interesting configuration file
src/conf/cards/USB-Audio.conf

on lines 22 starts the description of configuring the usb device to be
two stereo devices not  a surround40

I'm not at home with my mix deck so cant test but its promising, i
might be able to fix not just my personal configuration but submit a
pull request to fix everyone's

On 2 February 2018 at 18:08, Samuel Nicholas  wrote:
>  this sounds exactly like what i am trying, first step for me is to
> familiarise myself with the asoundrc syntax and capabilities. i'll
> report back once i have something interesting
>
> On 2 February 2018 at 17:40, Charles Mulder  wrote:
>> Hi Samuel.
>>
>> I think I have a similar problem with the Audient iD14. Maybe we could
>> collaborate?
>>
>> I haven't received many responses from the mailing list, so grateful for
>> Robert Bielik's suggestion.
>>
>> Looks like the dshare plugin has some parameters I'm not familiar with.
>> What's new?! :-) Hope I can find information to demystify. Will share when I
>> do. Please do the same.
>>
>> As a backup I have started reading Linux Device Drivers and have asked
>> Audient for their help.
>>
>> Here are some other resources I have found.
>>
>> A close look at ALSA
>> Linux ALSA sound notes
>> Writing an ALSA Driver
>> ALSA Runtime arguments in configuration files
>>
>> My strategy has just been to read and reread and keep trying to figure it
>> out. I imagine it's going to take some time. :-)
>>
>> Charles
>>
>> On Thu, Feb 1, 2018 at 11:09 PM Samuel Nicholas 
>> wrote:
>>>
>>> Hi,
>>>
>>> I have a Pioneer DDJ-WeGO, 4 channel USB device that outputs stereo
>>> master and stereo headphone.
>>> I've been scouring the internet trying to find out how I can possibly
>>> split up the ports as it presents as a surround 4.0 device.
>>>
>>> So far I've come up with nothing except an remapping in pulseaudio
>>> that is super ugly to use.
>>> I really would like to solve this at the lowest possible layer.
>>>
>>> U have udev rules to discriminate the device working fine.
>>>
>>> Is there any way to do this with alsa?
>>>
>>> Cheers for any help,
>>> Samuel.
>>>
>>>
>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> Alsa-user mailing list
>>> Alsa-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>
>> --
>> Charles Mulder
>> Software Engineer/Musician
>> mobile: +27 83 653 3698
>> phone: +27 27 948 2592
>> skype: charliemurder

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] splitting a 4 channel usb sound card into master and headphone

2018-02-01 Thread Clemens Ladisch via Alsa-user
Samuel Nicholas wrote:
> I have a Pioneer DDJ-WeGO, 4 channel USB device that outputs stereo
> master and stereo headphone.
> I've been scouring the internet trying to find out how I can possibly
> split up the ports as it presents as a surround 4.0 device.

Try something like this:
https://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg12236.html


Regards,
Clemens

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] splitting a 4 channel usb sound card into master and headphone

2018-02-01 Thread Samuel Nicholas
 this sounds exactly like what i am trying, first step for me is to
familiarise myself with the asoundrc syntax and capabilities. i'll
report back once i have something interesting

On 2 February 2018 at 17:40, Charles Mulder  wrote:
> Hi Samuel.
>
> I think I have a similar problem with the Audient iD14. Maybe we could
> collaborate?
>
> I haven't received many responses from the mailing list, so grateful for
> Robert Bielik's suggestion.
>
> Looks like the dshare plugin has some parameters I'm not familiar with.
> What's new?! :-) Hope I can find information to demystify. Will share when I
> do. Please do the same.
>
> As a backup I have started reading Linux Device Drivers and have asked
> Audient for their help.
>
> Here are some other resources I have found.
>
> A close look at ALSA
> Linux ALSA sound notes
> Writing an ALSA Driver
> ALSA Runtime arguments in configuration files
>
> My strategy has just been to read and reread and keep trying to figure it
> out. I imagine it's going to take some time. :-)
>
> Charles
>
> On Thu, Feb 1, 2018 at 11:09 PM Samuel Nicholas 
> wrote:
>>
>> Hi,
>>
>> I have a Pioneer DDJ-WeGO, 4 channel USB device that outputs stereo
>> master and stereo headphone.
>> I've been scouring the internet trying to find out how I can possibly
>> split up the ports as it presents as a surround 4.0 device.
>>
>> So far I've come up with nothing except an remapping in pulseaudio
>> that is super ugly to use.
>> I really would like to solve this at the lowest possible layer.
>>
>> U have udev rules to discriminate the device working fine.
>>
>> Is there any way to do this with alsa?
>>
>> Cheers for any help,
>> Samuel.
>>
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Alsa-user mailing list
>> Alsa-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
> --
> Charles Mulder
> Software Engineer/Musician
> mobile: +27 83 653 3698
> phone: +27 27 948 2592
> skype: charliemurder

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] splitting a 4 channel usb sound card into master and headphone

2018-02-01 Thread Charles Mulder
Hi Samuel.

I think I have a similar problem with the Audient iD14
. Maybe we
could collaborate?

I haven't received many responses from the mailing list, so grateful for
Robert Bielik's suggestion.

Looks like the dshare

plugin
has some parameters I'm not familiar with. What's new?! :-) Hope I can find
information to demystify. Will share when I do. Please do the same.

As a backup I have started reading Linux Device Drivers
 and have asked Audient for their help.

Here are some other resources I have found.

A close look at ALSA 
Linux ALSA sound notes 
Writing an ALSA Driver

ALSA Runtime arguments in configuration files


My strategy has just been to read and reread and keep trying to figure it
out. I imagine it's going to take some time. :-)

Charles

On Thu, Feb 1, 2018 at 11:09 PM Samuel Nicholas 
wrote:

> Hi,
>
> I have a Pioneer DDJ-WeGO, 4 channel USB device that outputs stereo
> master and stereo headphone.
> I've been scouring the internet trying to find out how I can possibly
> split up the ports as it presents as a surround 4.0 device.
>
> So far I've come up with nothing except an remapping in pulseaudio
> that is super ugly to use.
> I really would like to solve this at the lowest possible layer.
>
> U have udev rules to discriminate the device working fine.
>
> Is there any way to do this with alsa?
>
> Cheers for any help,
> Samuel.
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
-- 
Charles Mulder
Software Engineer/Musician
mobile: +27 83 653 3698
phone: +27 27 948 2592
skype: charliemurder
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] splitting a 4 channel usb sound card into master and headphone

2018-02-01 Thread Robert Bielik
Would the dshare plugin do this for you ? 
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html

Regards
/Robert

> -Original Message-
> From: Samuel Nicholas [mailto:nicholas.sam...@gmail.com]
> Sent: den 1 februari 2018 22:09
> To: alsa-user@lists.sourceforge.net
> Subject: [Alsa-user] splitting a 4 channel usb sound card into master and
> headphone
> 
> Hi,
> 
> I have a Pioneer DDJ-WeGO, 4 channel USB device that outputs stereo
> master and stereo headphone.
> I've been scouring the internet trying to find out how I can possibly
> split up the ports as it presents as a surround 4.0 device.
> 
> So far I've come up with nothing except an remapping in pulseaudio
> that is super ugly to use.
> I really would like to solve this at the lowest possible layer.
> 
> U have udev rules to discriminate the device working fine.
> 
> Is there any way to do this with alsa?
> 
> Cheers for any help,
> Samuel.
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user