Sameer
SMSoftware Mansion
•Created by enzoqtvf on 1/10/2025 in #membrane-help
How to split a Raw Audio Buffer with 2 channels within frame into two different buffer
Could you share what the pipeline looks like ? It will help anyone else who has a similar question in the future 🙂
3 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
How to send control events upstream/downstream ?
7 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
Logs are overrun with `Sending stream format through pad` messages. Am I doing something wrong ?
ah gotcha, thx for the explanation 👍
9 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
Logs are overrun with `Sending stream format through pad` messages. Am I doing something wrong ?
After following @Feliks 's advice and simplifying the pipeline (by dropping the control flow section),
send_stream_format
is not being called continuously and the logs arent being overrun.9 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
How to send control events upstream/downstream ?
Thanks a lot @Feliks
Thats even cleaner !!
7 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
Logs are overrun with `Sending stream format through pad` messages. Am I doing something wrong ?
Maybe another fact to mention, the pipeline is defined like
Removing the section
Control Flow
and removing the control
pads results in the logs not continuously outputting Sending stream format through pad
.
So, am I doing something thats not recommended to send messages upstream in the pipeline ? Or I haven't configured things correctly ?9 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
Logs are overrun with `Sending stream format through pad` messages. Am I doing something wrong ?
The element thats right after the source in the pipeline is one that queries an LLM. Pasted the code for it below.
Its the element thats in the logs
9 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
Logs are overrun with `Sending stream format through pad` messages. Am I doing something wrong ?
Hi Lukasz
Thanks, I suspected I was doing something wrong 🙂
Only the source element has a
handle_playing
method defined as
It receives a handle_parent_notification
callback and returns {[buffer: {:output, buffer}], state}
to pass payloads to the next element.9 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
Logs are overrun with `Sending stream format through pad` messages. Am I doing something wrong ?
I tried using flow_control with
push
across the board and that didn't seem to change the log output.9 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
How to send control events upstream/downstream ?
Figured it out after your help and doing some more reading - https://hexdocs.pm/membrane_core/Membrane.ChildrenSpec.html#t:t/0
In case someone else needs to figure this out too, it involves creating a separate link in the pipeline spec with
7 replies
SMSoftware Mansion
•Created by Sameer on 1/5/2025 in #membrane-help
How to send control events upstream/downstream ?
Thanks @samrat
Can you point me to how an element can send the event to an upstream element ?
In the case
Source A
-> Filter 1
-> Filter 2
-> Filter 3
-> Sink X
, how to define Filter 3
sending an event to Filter 1
?7 replies