Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

AudioStreamIn Primitive

For general discussion related FlowStone

AudioStreamIn Primitive

Postby aronb » Mon Mar 28, 2016 12:10 am

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
aronb
 
Posts: 154
Joined: Sun Apr 17, 2011 3:08 am
Location: Florida, USA

Re: AudioStreamIn Primitive

Postby Spogg » Mon Mar 28, 2016 10:10 am

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
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: AudioStreamIn Primitive

Postby adamszabo » Mon Mar 28, 2016 1:30 pm

There is already the WaveFile primitive. It should load wave files no?
adamszabo
 
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: AudioStreamIn Primitive

Postby Spogg » Mon Mar 28, 2016 1:47 pm

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
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: AudioStreamIn Primitive

Postby aronb » Tue Mar 29, 2016 3:19 am

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...
TimeLine_03.png
Simple Time Line Editor
TimeLine_03.png (56.58 KiB) Viewed 15556 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
User avatar
aronb
 
Posts: 154
Joined: Sun Apr 17, 2011 3:08 am
Location: Florida, USA

Re: AudioStreamIn Primitive

Postby tulamide » Tue Mar 29, 2016 4:43 am

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)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: AudioStreamIn Primitive

Postby Spogg » Tue Mar 29, 2016 9:15 am

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
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: AudioStreamIn Primitive

Postby tulamide » Thu Mar 31, 2016 7:29 pm

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)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany


Return to General

Who is online

Users browsing this forum: No registered users and 69 guests