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
Read and / or Write Multichannel Wav Files
4 posts
• Page 1 of 1
Read and / or Write Multichannel Wav Files
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
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
-
aronb - Posts: 154
- Joined: Sun Apr 17, 2011 3:08 am
- Location: Florida, USA
Re: Read and / or Write Multichannel Wav Files
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
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
-
aronb - Posts: 154
- Joined: Sun Apr 17, 2011 3:08 am
- Location: Florida, USA
Re: Read and / or Write Multichannel Wav Files
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
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
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Read and / or Write Multichannel Wav Files
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
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
-
aronb - Posts: 154
- Joined: Sun Apr 17, 2011 3:08 am
- Location: Florida, USA
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 60 guests