Re: [ecasound] Removing jack audio-output and attaching wav audio-output fails

From: rocco <rocco556@email-addr-hidden>
Date: Mon Dec 16 2013 - 02:05:07 EET

Hi,

I see you will be releasing 2.9.1 soon. Any chance you can add this fix?

It's to allow a very fast transition from session to mixdown and back to
the session. This has more implications than shows on the surface...
like bouncing of tracks... "freezing" of effects... so it may be used a lot.

I know I can achieve this by just rebuilding the whole chainsetup to
create the mixdown, then rebuilding the chainsetup when the mixdown is
done. But it would be a shame to take what is already a lightning fast
mixdown process and have the cumbersome build-up before and after the
mixdown, as opposed to just removing/attaching an audio object from a
chainsetup.

btw... wow... when non-realtime audio inputs are sent to non-realtime
audio outputs, it processes very fast... nice...

Thanks,
Rocco

> Hi,
>
> I have the following session:
>
> #### START 003.ecs
> # general
> -b:128 -r:50 -z:nointbuf -z:nodb -n:"Main" -X -z:noxruns -z:nopsr
> -z:mixmode,sum
>
> # audio inputs
> -a:1 -i:1.wav
> -a:2 -i:2.wav
>
> # audio outputs
> -a:1,2 -f:24,2,96000 -o:jack,system
>
> # chain operators and controllers
> -a:1 -chcopy:1,2 -epp:27 -ea:128
> -a:2 -chcopy:1,2 -epp:71 -ea:149
> #### END 003.ecs
>
> bash> ecasound -c -s:003.ecs
>
> ecasound ('h' for help)> ai-status
> ### Audio input/output status (chainsetup 'Main') ###
> Input (1): "1.wav," - [DB => RIFF wave file]
> -> connected to chains "1": position (0.000/0.000) seconds.
> -> closed, audio format not available until object is opened.
> Input (2): "2.wav," - [DB => RIFF wave file]
> -> connected to chains "2": position (0.000/0.000) seconds.
> -> closed, audio format not available until object is opened.
> Output (1): "jack,system," - [JACK interface]
> -> connected to chains "1,2": realtime-device; position 0, delay 0.
> -> closed, s24_le/2ch/96000Hz, buffer 128.
>
> ecasound ('h' for help)> ao-index-select 1
>
> ecasound ('h' for help)> ao-remove
> (eca-control-objects) Removing selected audio output "jack" from
> selected chains.
>
> ecasound ('h' for help)> ao-add mixdown.wav
> (eca-control-objects) Added audio output "mixdown.wav".
>
> ecasound ('h' for help)> c-select 1,2
>
> ecasound ('h' for help)> ao-attach
> (eca-control-objects) Attached audio output "mixdown.wav" to selected
> chains.
>
> ecasound ('h' for help)> ai-status
> ### Audio input/output status (chainsetup 'Main') ###
> Input (1): "1.wav," - [DB => RIFF wave file]
> -> connected to chains "1": position (0.000/0.000) seconds.
> -> closed, audio format not available until object is opened.
> Input (2): "2.wav," - [DB => RIFF wave file]
> -> connected to chains "2": position (0.000/0.000) seconds.
> -> closed, audio format not available until object is opened.
> Output (1): "mixdown.wav," - [DB => RIFF wave file] [selected]
> -> connected to chains "1,2": position (0.000/0.000) seconds.
> -> closed, audio format not available until object is opened.
>
> ecasound ('h' for help)> t
> (eca-control) NOTE: No chainsetup connected. Trying to connect currently
> selected chainsetup "Main"
> (eca-chainsetup) "nonrt" buffering mode selected.
> (eca-chainsetup) NOTE: using existing audio parameters -f:s24_le,1,96000
> for object '1.wav' (tried to open with -f:s16_le,2,44100).
> (eca-chainsetup) Opened input "1.wav", mode "read". Format: s24_le,
> channels 1, srate 96000, interleaved (locked params).
> (eca-chainsetup) NOTE: using existing audio parameters -f:s24_le,1,96000
> for object '2.wav' (tried to open with -f:s16_le,2,44100).
> (eca-chainsetup) Opened input "2.wav", mode "read". Format: s24_le,
> channels 1, srate 96000, interleaved (locked params).
> (eca-chainsetup) Opened output "mixdown.wav", mode "read/write
> (update)". Format: s24_le, channels 2, srate 96000, interleaved (locked
> params).
> [* Connected chainsetup: "Main" *]
> [* Controller/Processing started *]
> ecasound ('h' for help)> [* Engine - Driver start *]
> (audioio_jack_manager) JACK transport: both sending and reacting to
> transport events (mode: sendrecv)
> Segmentation fault (core dumped)
>
> It creates 'mixdown.wav' as a 44 byte file.
>
> I tried everything to remedy this, so it appears it's a bug.
>
> Thanks,
> Rocco

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Dec 16 04:15:02 2013

This archive was generated by hypermail 2.1.8 : Mon Dec 16 2013 - 04:15:02 EET