Re: [LAD] jack ringbuffer usage
On 04/11/2013 11:35 PM, Jörn Nettingsmeier wrote: On 04/08/2013 05:27 PM, Raphaël BOLLEN wrote: On 04/08/2013 03:29 PM, Paul Davis wrote: all the xmms-based players do this (xmms, beep, beep2, audacious) gstreamer based players also do this across files, but not above play/stop. Thanks Paul, these are really fine programs but mostly for playing stereo music. I need to play mono, stereo and 4 or more channels files on a headless system so it's a bit of a corner case application... please count me in as an alpha tester for the or more scenario :) I would certainly appreciate your feedback on this but you have to know that: 1. the player is a shared library loaded at runtime; 2. you will need QT; 3. I only have a minimalistic gui to load and test the player; The player works for what I need it to but I plan to implement some 'features' to allow routing of the sound file channels to the player outputs, it is currently ch i to output i. If you already have ideas about what would be needed, I'm all ears. Drop me a mail if you still want to alpha test... Cheers -- Raphaël. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On 04/08/2013 01:51 PM, Harry van Haaren wrote: On Mon, Apr 8, 2013 at 12:45 PM, Raphaël BOLLEN raphael.bol...@mobistar.be mailto:raphael.bol...@mobistar.be wrote: error: invalid conversion from 'void*' to 'char*' [-fpermissive] jack_ringbuffer_read() expects the buffer pointer to be of type char* not void*. The char* should just be interpreted as pointer, as the data is data, which is not necessarily a char. Change your case from (void*) to (char*) and you won't need -fpermissive :) HTH, -H hmmm. isn't that a really outdated way of saying generic pointer, like C89 or so? maybe the ringbuffer implementation should be changed to (void *)? or am i misunderstanding something? -- Jörn Nettingsmeier Lortzingstr. 11, 45128 Essen, Tel. +49 177 7937487 Meister für Veranstaltungstechnik (Bühne/Studio) Tonmeister VDT http://stackingdwarves.net ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On 04/08/2013 05:27 PM, Raphaël BOLLEN wrote: On 04/08/2013 03:29 PM, Paul Davis wrote: all the xmms-based players do this (xmms, beep, beep2, audacious) gstreamer based players also do this across files, but not above play/stop. Thanks Paul, these are really fine programs but mostly for playing stereo music. I need to play mono, stereo and 4 or more channels files on a headless system so it's a bit of a corner case application... please count me in as an alpha tester for the or more scenario :) -- Jörn Nettingsmeier Lortzingstr. 11, 45128 Essen, Tel. +49 177 7937487 Meister für Veranstaltungstechnik (Bühne/Studio) Tonmeister (VDT) http://stackingdwarves.net ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On Mon, Apr 8, 2013 at 12:45 PM, Raphaël BOLLEN raphael.bol...@mobistar.be wrote: error: invalid conversion from 'void*' to 'char*' [-fpermissive] jack_ringbuffer_read() expects the buffer pointer to be of type char* not void*. The char* should just be interpreted as pointer, as the data is data, which is not necessarily a char. Change your case from (void*) to (char*) and you won't need -fpermissive :) HTH, -H ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On 04/08/2013 01:51 PM, Harry van Haaren wrote: On Mon, Apr 8, 2013 at 12:45 PM, Raphaël BOLLEN raphael.bol...@mobistar.be mailto:raphael.bol...@mobistar.be wrote: error: invalid conversion from 'void*' to 'char*' [-fpermissive] jack_ringbuffer_read() expects the buffer pointer to be of type char* not void*. The char* should just be interpreted as pointer, as the data is data, which is not necessarily a char. Change your case from (void*) to (char*) and you won't need -fpermissive :) HTH, -H Hi Harry, thanks for the information. -- Raphaël. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On Mon, Apr 8, 2013 at 1:01 PM, Raphaël BOLLEN raphael.bol...@mobistar.bewrote: Hi Harry, thanks for the information. Your welcome! I'm intrested in what kind of JACK program you're working on..? Also I'm collecting example / tutorial code for JACK programming, perhaps its of intrest to you: https://github.com/harryhaaren/openAudioProgrammingTutorials Cheers, -Harry ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On 04/08/2013 02:09 PM, Harry van Haaren wrote: On Mon, Apr 8, 2013 at 1:01 PM, Raphaël BOLLEN raphael.bol...@mobistar.be mailto:raphael.bol...@mobistar.be wrote: Hi Harry, thanks for the information. Your welcome! I'm intrested in what kind of JACK program you're working on..? It's yet another audio file player. My main interest (apart from playing audio :-) ) is that it makes permanent connections to jack instead of connecting / disconnecting when changing audio files. Also I'm collecting example / tutorial code for JACK programming, perhaps its of intrest to you: https://github.com/harryhaaren/openAudioProgrammingTutorials That's good information, thanks. Cheers, -Harry Best regards -- Raphaël. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On Mon, Apr 08, 2013 at 02:23:07PM +0200, Raphaël BOLLEN wrote: It's yet another audio file player. My main interest (apart from playing audio :-) ) is that it makes permanent connections to jack instead of connecting / disconnecting when changing audio files. My 4deckradio does exactly this, though I'm not sure it fits the bill, since it's targeting radio DJs. Cheers -- mail: a...@thur.de http://adi.thur.de PGP/GPG: key via keyserver ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On 04/08/2013 02:24 PM, Adrian Knoth wrote: On Mon, Apr 08, 2013 at 02:23:07PM +0200, Raphaël BOLLEN wrote: It's yet another audio file player. My main interest (apart from playing audio :-) ) is that it makes permanent connections to jack instead of connecting / disconnecting when changing audio files. My 4deckradio does exactly this, though I'm not sure it fits the bill, since it's targeting radio DJs. Not really my use case but thanks for the link, I have it running here. How do you control the decks? mouse, key shortcuts, other? Cheers Cheers ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On Mon, Apr 8, 2013 at 8:23 AM, Raphaël BOLLEN raphael.bol...@mobistar.bewrote: On 04/08/2013 02:09 PM, Harry van Haaren wrote: On Mon, Apr 8, 2013 at 1:01 PM, Raphaël BOLLEN raphael.bol...@mobistar.be mailto:raphael.bollen@**mobistar.be raphael.bol...@mobistar.be wrote: Hi Harry, thanks for the information. Your welcome! I'm intrested in what kind of JACK program you're working on..? It's yet another audio file player. My main interest (apart from playing audio :-) ) is that it makes permanent connections to jack instead of connecting / disconnecting when changing audio files. all the xmms-based players do this (xmms, beep, beep2, audacious) gstreamer based players also do this across files, but not above play/stop. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On Mon, Apr 08, 2013 at 03:16:13PM +0200, Raphaël BOLLEN wrote: It's yet another audio file player. My main interest (apart from playing audio :-) ) is that it makes permanent connections to jack instead of connecting / disconnecting when changing audio files. My 4deckradio does exactly this, though I'm not sure it fits the bill, since it's targeting radio DJs. Not really my use case but thanks for the link, I have it running here. How do you control the decks? mouse, key shortcuts, other? You select a file and press play. You could also press F9 .. F12 to start/stop the decks. Or you own a studio surface which sends joystick button press/release events. If you have a USB joystick, simply connect it. Press Button 1, and it plays deck 1, release button 1, and it stops. Of course, you can also press Buttons 1-4 simultaneously to have all four decks playing at the same time. ;) Selecting a new file while one is playing queues the new file. Press stop or wait for the current one to finish to actually play it. (it's a safety for radio stations, so they're not accidentally stopping the current playback). Same for stop: program only quits if you stop all four decks and then press Ctrl+q. Well, the window-close button is a shortcut, but it wouldn't be visible in fullscreen mode. HTH -- mail: a...@thur.de http://adi.thur.de PGP/GPG: key via keyserver ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On 04/08/2013 03:29 PM, Paul Davis wrote: On Mon, Apr 8, 2013 at 8:23 AM, Raphaël BOLLEN raphael.bol...@mobistar.be mailto:raphael.bol...@mobistar.be wrote: On 04/08/2013 02:09 PM, Harry van Haaren wrote: On Mon, Apr 8, 2013 at 1:01 PM, Raphaël BOLLEN raphael.bol...@mobistar.be mailto:raphael.bol...@mobistar.be mailto:raphael.bollen@__mobistar.be mailto:raphael.bol...@mobistar.be wrote: Hi Harry, thanks for the information. Your welcome! I'm intrested in what kind of JACK program you're working on..? It's yet another audio file player. My main interest (apart from playing audio :-) ) is that it makes permanent connections to jack instead of connecting / disconnecting when changing audio files. all the xmms-based players do this (xmms, beep, beep2, audacious) gstreamer based players also do this across files, but not above play/stop. Thanks Paul, these are really fine programs but mostly for playing stereo music. I need to play mono, stereo and 4 or more channels files on a headless system so it's a bit of a corner case application... Cheers -- Raphaël. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On 04/08/2013 03:49 PM, Adrian Knoth wrote: On Mon, Apr 08, 2013 at 03:16:13PM +0200, Raphaël BOLLEN wrote: It's yet another audio file player. My main interest (apart from playing audio :-) ) is that it makes permanent connections to jack instead of connecting / disconnecting when changing audio files. My 4deckradio does exactly this, though I'm not sure it fits the bill, since it's targeting radio DJs. Not really my use case but thanks for the link, I have it running here. How do you control the decks? mouse, key shortcuts, other? You select a file and press play. You could also press F9 .. F12 to start/stop the decks. Or you own a studio surface which sends joystick button press/release events. If you have a USB joystick, simply connect it. Press Button 1, and it plays deck 1, release button 1, and it stops. Of course, you can also press Buttons 1-4 simultaneously to have all four decks playing at the same time. ;) Selecting a new file while one is playing queues the new file. Press stop or wait for the current one to finish to actually play it. (it's a safety for radio stations, so they're not accidentally stopping the current playback). Same for stop: program only quits if you stop all four decks and then press Ctrl+q. Well, the window-close button is a shortcut, but it wouldn't be visible in fullscreen mode. HTH Thanks Adrian, may I suggest you copy paste this to your Readme.md file... ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] jack ringbuffer usage
On Mon, Apr 08, 2013 at 05:31:53PM +0200, Raphaël BOLLEN wrote: [4deckradio usage information] Thanks Adrian, may I suggest you copy paste this to your Readme.md file... Absolutely. Done and pushed. Thanks -- mail: a...@thur.de http://adi.thur.de PGP/GPG: key via keyserver ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev