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

find mono samples

For general discussion related FlowStone

find mono samples

Postby philton » Fri Aug 16, 2013 9:29 pm

hey guys

i have converted a lot of my collected stereo samples to mono WAV files. but my folder structure and file naming is horrible. now i wanted to collect ALL the mono WAV files inside my sample folder. so here is my question:
does somebody know a way / application that can detect all mono WAV files inside a folder? i have tried to make my own application using SM but the only way to detect if a WAV file is mono or stereo is to load the wavs into memory which is not a good way when dealing with lets say 200 WAV samples (only short samples, max. 1 mb). so to say it short :
i just need a way how i can detect mono OR stereo for a whole folder of WAV files...any help?

i would love to make my own app for doing this, i allready started with a simple schematic in SM (just a file scanner that
saves the filenames including the number of channels all in one text file inside the folder) but maybe some magical RUBY code would do the same but more efficient... :D
philton
 
Posts: 25
Joined: Fri Nov 02, 2012 5:30 am

Re: find mono samples

Postby tester » Fri Aug 16, 2013 9:57 pm

As far I remember even the Windows itself (at least XP) can detect mono waves. Switch explorer/window view to details and select proper columns from the context menu (number of channels? don't know how it's in english version). Then - sort, and follow what you need according to view.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: find mono samples

Postby philton » Fri Aug 16, 2013 10:20 pm

tester wrote:As far I remember even the Windows itself (at least XP) can detect mono waves. Switch explorer/window view to details and select proper columns from the context menu (number of channels? don't know how it's in english version). Then - sort, and follow what you need according to view.


thx tester, that´s a way i never thought of. :D
philton
 
Posts: 25
Joined: Fri Nov 02, 2012 5:30 am

Re: find mono samples

Postby philton » Fri Aug 16, 2013 10:37 pm

i just found out that in win7 there is no more option to view number of channels directly, but as workaround you can select "bitrate" from the details columns and convert theese values using this :
512kbps = 32kHz 16 bit Mono
705kbps = 44kHz 16 bit Mono
1024kbps = 32kHz 16 bit Stereo
1058kbps = 44kHz 24bit Mono
1152kbps = 48kHz 24 bit Mono
1411kbps = 44kHz 16 bit Stereo
2116kbps = 44kHz 24bit Stereo
2304kbps = 48kHz 24 bit Stereo
to avoid that i have to do that manually for every subfolder , i just entered my sample folder and typed
"*.wav" in the upper right corner of the folder (the search window). windows will now list all WAV files and i can easily sort them.

thanx again tester! :D
philton
 
Posts: 25
Joined: Fri Nov 02, 2012 5:30 am

Re: find mono samples

Postby tester » Fri Aug 16, 2013 10:56 pm

Hmm... strange... in my XP there is a column labeled "channels", and it shows it. Maybe some other app added it. But I do often as you describe. Just search for all *.wav files, and sort them, and then select these of my interest. Bitrate approach is fine if you have uncompressed files only. But anyway - good that it worked for you :mrgreen:
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: find mono samples

Postby philton » Fri Aug 16, 2013 11:17 pm

tester wrote:Hmm... strange... in my XP there is a column labeled "channels", and it shows it. Maybe some other app added it. But I do often as you describe. Just search for all *.wav files, and sort them, and then select these of my interest. Bitrate approach is fine if you have uncompressed files only. But anyway - good that it worked for you :mrgreen:


jeah in win xp there was this option, but for some strange reason win7 don´t has it.
philton
 
Posts: 25
Joined: Fri Nov 02, 2012 5:30 am

Re: find mono samples

Postby philton » Fri Aug 16, 2013 11:21 pm

tester wrote:Hmm... strange... in my XP there is a column labeled "channels", and it shows it. Maybe some other app added it. But I do often as you describe. Just search for all *.wav files, and sort them, and then select these of my interest. Bitrate approach is fine if you have uncompressed files only. But anyway - good that it worked for you :mrgreen:


jeah in win xp there was this option, but for some strange reason win7 don´t has it.
philton
 
Posts: 25
Joined: Fri Nov 02, 2012 5:30 am

Re: find mono samples

Postby philton » Sat Aug 17, 2013 2:25 am

okay then i have another question: is it possible to access/read the values in the explorer detail view (for example bitrate or lenth) via ruby?
philton
 
Posts: 25
Joined: Fri Nov 02, 2012 5:30 am


Return to General

Who is online

Users browsing this forum: Google [Bot] and 52 guests