AudioStreamIn Primitive

For general discussion related FlowStone
Post Reply
User avatar
aronb
Posts: 154
Joined: Sun Apr 17, 2011 3:08 am
Location: Florida, USA
Contact:

AudioStreamIn Primitive

Post by aronb »

Hi,

I was playing around with the AudioStreamIn primitive, and know some of its issues, but have a few questions.

Will it be fixed in the next update / version of Flowstone 3.0.9 ?
Play wav and mp3 files...

Are you planning something similar to the AudioStreamIn primitive that is better?
Has more features...

If so will it include a way of getting file length properties, samples, or time, etc.?
So I can use that data to cue other items in a schematic, create a simple timeline, etc...

I have done a few searches about this and only found one post, but nothing about it being fixed in the next update.

I need this to finish an automation and light effects cue system. The parts I have work perfectly, but really need a reliable way to playback and control a wav or mp3 file. It all gets multichannel recorded through ASIO and edited via Reaper in the end - multichannel record and playback working now too.

Thanks,

Aron
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: AudioStreamIn Primitive

Post by Spogg »

I'd very much like this too.
It was a surprise to me that it was rather limted AND broken!

BTW your project sounds interesting Aron :D

Cheers

Spogg
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: AudioStreamIn Primitive

Post by adamszabo »

There is already the WaveFile primitive. It should load wave files no?
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: AudioStreamIn Primitive

Post by Spogg »

adamszabo wrote:There is already the WaveFile primitive. It should load wave files no?


As I understand it the term "stream" means a constant flow of data of undefined length rather than a fixed file size.

Cheers

Spogg
User avatar
aronb
Posts: 154
Joined: Sun Apr 17, 2011 3:08 am
Location: Florida, USA
Contact:

Re: AudioStreamIn Primitive

Post by aronb »

Hi,

OK... I am getting fair results with the WaveFile primitive (thanks adamszabo 8-) ), however it seems to skip here and there... but I am still testing so that may disappear (I hope) !

Here is something like I want to do...
Simple Time Line Editor
Simple Time Line Editor
TimeLine_03.png (56.58 KiB) Viewed 17437 times


Imagine a few more control lines, and those control outputs going to other primitives in the schematic to control gains, and frequencies of oscillators while the wave (audio) file is being played. Then all of the resultant data is output to ASIO to my DAW (Reaper) that records it all for final assembly / editing / cleanup and playback of the animation / lighting scenes. I know DMX does something like this, but my data streams at the sample rate - and I need that fast a data stream.

Thanks for the suggestion(s), but we "Flowstone Users" still need a good Wav/MP3 Primitive (with file info) so we can make players and sequencers, piano roll stuff, robotic and animatronic systems that sync with sound - PLEASE ! :)

Thanks again,

Aron
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: AudioStreamIn Primitive

Post by tulamide »

It is not really the Audio Stream Prim that is broken. It does reliably what it is meant for: Establishing a connection to a media file either locally or through a network.

But Flowstone does not support all media types. It even is picky when it comes to variations of the same media type. There are .wav formats, Flowstone can't handle. There are .mp3 formats, Flowstone can't handle.

I use the Audio Stream Prim quite often and never had issues. But I also make sure to only stream formats, Flowstone does support.

The difference between the Audio Stream Prim and the wave player is that the Stream Prim constantly reads from the source while playing, whereas the wave player must first load the complete file into memory, before able to play.
"There lies the dog buried" (German saying translated literally)
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: AudioStreamIn Primitive

Post by Spogg »

tulamide wrote:It is not really the Audio Stream Prim that is broken. It does reliably what it is meant for: Establishing a connection to a media file either locally or through a network.

But Flowstone does not support all media types. It even is picky when it comes to variations of the same media type. There are .wav formats, Flowstone can't handle. There are .mp3 formats, Flowstone can't handle.

I use the Audio Stream Prim quite often and never had issues. But I also make sure to only stream formats, Flowstone does support.

The difference between the Audio Stream Prim and the wave player is that the Stream Prim constantly reads from the source while playing, whereas the wave player must first load the complete file into memory, before able to play.


Interesting. Is there a list of what is actually supported?

Cheers

Spogg
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: AudioStreamIn Primitive

Post by tulamide »

Spogg wrote:
tulamide wrote:It is not really the Audio Stream Prim that is broken. It does reliably what it is meant for: Establishing a connection to a media file either locally or through a network.

But Flowstone does not support all media types. It even is picky when it comes to variations of the same media type. There are .wav formats, Flowstone can't handle. There are .mp3 formats, Flowstone can't handle.

I use the Audio Stream Prim quite often and never had issues. But I also make sure to only stream formats, Flowstone does support.

The difference between the Audio Stream Prim and the wave player is that the Stream Prim constantly reads from the source while playing, whereas the wave player must first load the complete file into memory, before able to play.


Interesting. Is there a list of what is actually supported?

Cheers

Spogg

Oh sorry, Spogg, didn't notice your post.
No, I tested what worked and used that format. But there are ceratin 24- and 32-bit wave formats, that Flowstone has issues with, and for mp3 I think it was VBR that makes problems. But I can't tell if joint-stereo has issues, or mono or dual-mono, etc.
"There lies the dog buried" (German saying translated literally)
Post Reply