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

Read and / or Write Multichannel Wav Files

For general discussion related FlowStone

Read and / or Write Multichannel Wav Files

Postby aronb » Tue Oct 02, 2018 3:59 am

Hi,

I was playing with the wave file primitive and can seemingly read in an 8 channel wave (reports success and 8 channel file). No real schematic I can post at the moment.

But I see no way to convert the Multichannel wave in men into a stream??? Stereo yes, but not more than 2 channels. Do you use the read prim as mono for each channel? Couldn’t seem to get that working either though, but I’m not a guru of these prims either!

Is this possible, and will the next version be able to both read and write Multichannel Wave files?

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

Re: Read and / or Write Multichannel Wav Files

Postby aronb » Tue Oct 02, 2018 3:57 pm

All,

Here is a schematic and 2 different files.
One is a simple 2 channel wave file, and the other is an 8 channel wave file.

NOTE: Both load and indicate correctly, but I do not understand how to read (and hopefully write) different file channel formats.

Here is a zip file with schematic and wave file samples:
https://drive.google.com/open?id=1cACQN_P8_XEzRE7yAAFfX1MfGetvHv_M

Thanks for taking a look and any comments,

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

Re: Read and / or Write Multichannel Wav Files

Postby Spogg » Wed Oct 03, 2018 9:42 am

Hi Aron

I can confirm that the 8 channel wave doesn’t play.

I believe the wav load prim just reads the header in the wav and outputs that information. My understanding is that FS only supports mono or stereo files for loading and playing.
You would need to break down the source wav in a sound editor to provide 4 stereo or 8 mono wavs and load them in accordingly.

Perhaps you could contact MyCo for a feature request if it’s important for you.

Cheers

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

Re: Read and / or Write Multichannel Wav Files

Postby aronb » Thu Oct 04, 2018 12:04 am

Well I thought that might be the case...

I found this:
https://github.com/jstrait/wavefile

Got very excited (it does everything I want), only to find out it is for Ruby 2.0 or higher.

Still looking for a way to do this.

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


Return to General

Who is online

Users browsing this forum: Majestic-12 [Bot] and 15 guests