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

Direct sound input

DSP related issues, mathematics, processing and techniques

Direct sound input

Postby flowstone » Fri Sep 03, 2010 6:15 am

Internally generated signals work great, but I'm having a hard time getting signals in to Flowstone from the sound card. Attached is a simple volume control using Directsound. I dug through all the settings in both Media Player 11 and iTunes 9.2 hoping to find a mismatch. In media player, under tools/options/devices/speakers, the playback device matches what I select in Flowstone, yet there is no change in output due to the volume control while playing files. I sense that I'm doing something wrong that is basic and silly, but I can't seem to find it. Thanks in advance for your advice.

Clayton
Attachments
volume control.fsm
simple direct sound volume control
(11.47 KiB) Downloaded 1649 times
flowstone
 
Posts: 21
Joined: Fri Aug 27, 2010 10:53 pm

Re: Direct sound input

Postby Exo » Fri Sep 03, 2010 5:59 pm

Direct sound in doesn't seem to work..... Most likely a bug, as that is a very new component.
Flowstone Guru. Blog and download site for Flowstone.
Best VST Plugins. Initial Audio.
Exo
 
Posts: 426
Joined: Wed Aug 04, 2010 8:58 pm
Location: UK

Re: Direct sound input

Postby flowstone » Sat Sep 04, 2010 1:41 am

OK, thanks for the information. I feel better knowing that I wasn't making a boneheaded mistake. I'm assuming ASIO in works normally, so I'll try to reconfigure for that using ASIO4all, unless you have a better suggestion. Any advice for getting that running is definitely welcome. Thanks!
flowstone
 
Posts: 21
Joined: Fri Aug 27, 2010 10:53 pm

Re: Direct sound input

Postby admin » Sat Sep 04, 2010 5:04 am

Direct Sound IN works perfectly as far as we know?

It is a new module but it has been tested for months now on lots of diferent systems and we haven't had any bug reports?

Attached is a simple test program.
Attachments
Direct Sound Test.fsm
Direct Sound Test
(2.84 KiB) Downloaded 1730 times
User avatar
admin
Site Admin
 
Posts: 231
Joined: Tue May 11, 2010 6:30 pm

Re: Direct sound input

Postby flowstone » Sat Sep 04, 2010 8:04 am

As with the volume control, nothing shows up on the scope during playback. In this case, I played a .wav file using Windows media player. Under tools/options/devices/speakers, the "audio device to use" that is selected matches exactly the DS in setting. I tried all the other DS in options, just in case--no joy for any of them. The playback through the speakers is normal all the while. I also tried it with iTunes, with the same results, though in iTunes I didn't see an option to change the speaker playback device.
flowstone
 
Posts: 21
Joined: Fri Aug 27, 2010 10:53 pm

Re: Direct sound input

Postby Exo » Sat Sep 04, 2010 2:58 pm

By the way I'm running windows 7 64bit with an X-fi sound card. If that helps trouble shoot.

Cheers ;)

Exo
Flowstone Guru. Blog and download site for Flowstone.
Best VST Plugins. Initial Audio.
Exo
 
Posts: 426
Joined: Wed Aug 04, 2010 8:58 pm
Location: UK

Re: Direct sound input

Postby admin » Sun Sep 05, 2010 12:00 pm

I see, I think what you are trying to do is not how the soundcards work.

The DS In is for the physical input of the soundcard (Microphone or Line In) not an internal loop from DS Out from media player back in! (I just tested it too make sure, and what you are proposing doesn’t work here either, however the DS in is working form an external input as intended)

Try plugging something into your soundcard like an ipod or a microphone etc. and I think you will see it is working.
User avatar
admin
Site Admin
 
Posts: 231
Joined: Tue May 11, 2010 6:30 pm

Re: Direct sound input

Postby Exo » Sun Sep 05, 2010 3:58 pm

Ah ok yes was trying to use it as you stated :oops: .

Just assumed that it would work that way also.

Might be worth making this a bit clearer in the info text for the component. To avoid noobs like me misunderstanding in future :D

Cheers ;)

Exo

PS Would be great if it could be made to work that way also though, if it's possible. :mrgreen:
Flowstone Guru. Blog and download site for Flowstone.
Best VST Plugins. Initial Audio.
Exo
 
Posts: 426
Joined: Wed Aug 04, 2010 8:58 pm
Location: UK

Re: Direct sound input

Postby flowstone » Mon Sep 06, 2010 11:38 pm

The next best thing for me is to load a wave file, rather than requiring an external device. The attached looks like it should work to me, but no joy at the outputs. What did I foul up?
Attachments
Wave file play.fsm
(241.79 KiB) Downloaded 1660 times
flowstone
 
Posts: 21
Joined: Fri Aug 27, 2010 10:53 pm

Re: Direct sound input

Postby admin » Tue Sep 07, 2010 7:17 am

Unfortunately it’s a little more complicated than that! In FlowStone wav files are loaded into ram for playback, this means that you can manipulate the playback ie. faster, slower, audio scrubbing, and waveform display etc.

I’ve uploaded a Wav file player to the examples which should get you going:

http://www.dsprobotics.com/support/viewtopic.php?f=11&t=69
User avatar
admin
Site Admin
 
Posts: 231
Joined: Tue May 11, 2010 6:30 pm

Next

Return to DSP

Who is online

Users browsing this forum: No registered users and 31 guests