Page 1 of 1

AudioStreamIn Primitive

Posted: Mon Mar 28, 2016 12:10 am
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

Re: AudioStreamIn Primitive

Posted: Mon Mar 28, 2016 10:10 am
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

Re: AudioStreamIn Primitive

Posted: Mon Mar 28, 2016 1:30 pm
by adamszabo
There is already the WaveFile primitive. It should load wave files no?

Re: AudioStreamIn Primitive

Posted: Mon Mar 28, 2016 1:47 pm
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

Re: AudioStreamIn Primitive

Posted: Tue Mar 29, 2016 3:19 am
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 17439 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

Re: AudioStreamIn Primitive

Posted: Tue Mar 29, 2016 4:43 am
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.

Re: AudioStreamIn Primitive

Posted: Tue Mar 29, 2016 9:15 am
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

Re: AudioStreamIn Primitive

Posted: Thu Mar 31, 2016 7:29 pm
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.