<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="149564" data-post-id="149564">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="rgill" data-post="20" data-topic="26135">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/r/f17d59/48.png" class="avatar"> rgill:</div>
<blockquote>
<p>But <a class="mention" href="/u/overminddl1" rel="nofollow">@OvermindDL1</a> just to understand your comment better and wrap my head around it, why exactly can’t we pass the stream to rust?</p>
</blockquote>
</aside>
<p>What NobbZ said is the big thing, but there are other issues as well.  It’s easier and safer just to make a push interface, something like:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">IO.stream(:stdio, :line)
|&gt; Stream.each(&amp;Speakers.append_to_queue/1)
|&gt; Stream.run()
</code></pre>
<p>Or so.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="149564" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/is-there-an-elixir-audio-package/26135/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-149564" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="149564"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #21"></div>
  </section>
</div>
    <div class="postbit" id="149652" data-post-id="149652">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="rgill" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  rgill
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="NobbZ" data-post="21" data-topic="26135">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/48/27235_2.png" class="avatar"> NobbZ:</div>
<blockquote>
<p>Because what you call a stream can be anything, a function, a struct of an unspecified module, a pid… And nothing but the <code>Stream</code> module knows how to deal with them.</p>
<p>Streams have to be considered opaque.</p>
</blockquote>
</aside>
<p>Gotcha, thanks again!</p>
<aside class="quote no-group" data-username="OvermindDL1" data-post="22" data-topic="26135">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/overminddl1/48/2677_2.png" class="avatar"> OvermindDL1:</div>
<blockquote>
<p>It’s easier and safer just to make a push interface, something like:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">IO.stream(:stdio, :line)
|&gt; Stream.each(&amp;Speakers.append_to_queue/1)
|&gt; Stream.run()
</code></pre>
<p>Or so.</p>
</blockquote>
</aside>
<p>Ah I see what you mean, thanks, I’ll try it out.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="149652" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/is-there-an-elixir-audio-package/26135/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-149652" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="149652"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #22"></div>
  </section>
</div>
    <div class="postbit" id="187361" data-post-id="187361">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Ajaxdone" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Ajaxdone/120/961_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Ajaxdone
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Very great to hear people discussing Rust Rodio here. I am wondering where is Rodio’s support forum or chat room, I do have some Sink play() stop() questions want to ask.</p>
<p>Thanks,<br>
Ajaxdone</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="187361" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/is-there-an-elixir-audio-package/26135/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-187361" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="187361"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #23"></div>
  </section>
</div>
    <div class="postbit" id="307792" data-post-id="307792">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jonnyhotchkiss" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jonnyhotchkiss/120/32561_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jonnyhotchkiss
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi everyone, I just found this whilst looking for elixir audio stuff.<br>
First, I was going to share <a href="https://fly.io/blog/livebeats/" class="inline-onebox" rel="noopener nofollow ugc">LiveBeats: Building a social music app with Phoenix LiveView · The Fly Blog</a> in case that helps (there’s reference to the challenges of calculating bpm)</p>
<p>I’m as new to Ruby as I am to SonicPi and SuperCollider, and elixir is even newer, so whilst make and rake things seem self-explanatory, I’m not 100% how it all connects… I think a jigsaw piece landed the other day when I saw some docs on the origin stories of elixir and especially graphql, the ‘framework’ becomes popular when implemented in popular languages… <a href="https://cult.honeypot.io/originals/graphql-the-documentary/" rel="noopener nofollow ugc">https://cult.honeypot.io/originals/graphql-the-documentary/</a></p>
<p>Is there a good getting started page, to understand what hex is, what Nif’s are, what supervisison entails?</p>
<p>Would you recommend students get to grips with JS and RUST (and any others?) before starting to look at Elixir and others?</p>
<p>Will start by looking up the course by Dave Thomas.</p>
<p>Thanks!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307792" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/is-there-an-elixir-audio-package/26135/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-307792" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307792"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>