MultiMedia Soft forum

Please login or register.

Login with username, password and session length
Advanced search  


SMF - Just Installed!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Administrator

Pages: 1 ... 19 20 [21]

we never received feedback about this sort of problem in the past but it's quite difficult guessing what could be wrong without looking at the code being used when a new recording session is created dynamically as you described: if you could send us a small project replicating the problem or at least replicating the code used to create the new "entry", we could be certainly of help in identifying any possible issue inside your code.

Kind Regards

Severino Delaurenti

Hi Mark,

if working under Windows Vista or higher versions (7, 8, Server 2008, etc,) this can be done through the usage of "Loopback" devices; there is an article on CodeProject which explains how to proceed:

If working under Windows XP, recording anything being played through speakers could be done at driver level only and this is unfortunately not supported by our component directly but, if the driver of your sound card should come with support for the "What u hear" or "Stereo Mix" or "Record Master" input channel, our component could start a recording session through the StartFromDirectSoundDevice method by setting this specific input channel on the nInputChannel parameter.

Hope this helps


Severino Delaurenti

Hi Mark25,

the waveform analyzer main window doesn't have an automatic auto-scroll feature but it could be easily implemented by leveraging the combination of GetDisplayRange and SetDisplayRange methods: if for example you should be using a timer for updating the current playback position, you may check if the current playback position is still within the range returned by the GetDisplayRange method: if it shouldn't, you may arrange the displayed range through the SetDisplayRange method: in this way the vertical line displaying the playback position would be always within a visible range.

Hope this helps  :)

Kind Regards

Severino Delaurenti

Hello Nadia,

what you request is quite simple to develop; when you need to start monitoring the input device, please, do the following:

- set the EncodeFormats.ForRecording property to ENCODING_FORMAT_NOFILE

- start a dummy recording session through one of the recording start methods (StartFromDirectSoundDevice or StartFromAsioDevice or  StartFromWasapiCaptureDevice method depending upon the type of driver in use): this recording session will not produce any output (ENCODING_FORMAT_NOFILE is just available for this purpose) and will only update the visual feedbacks each 15 ms; at the same time, if you have set a VU-Meter, you will also receive the VUMeterValueChange event which reports in real time the peak volume, allowing to detect when a certain threshold is crossed.

- when you really need to start a real recording session, after having detected the needed level through the event VUMeterValueChange mentioned above, stop the current one through the Stop method.

- set the EncodeFormats.ForRecording property to the format you need to produce in output, for example to ENCODING_FORMAT_WAV for WAV format or ENCODING_FORMAT_MP3 for MP3 format

- start the real recording session through a new call to the recording start method (StartFromDirectSoundDevice or StartFromAsioDevice or  StartFromWasapiCaptureDevice method).

As a second alternative, you could also use the embedded "Sound Activation System" which is described inside the tutorial named "How the Sound Activation System works" available inside the documentation:

Kind regards

Severino Delaurenti

Hello Nadia,

yes this is possible and quite easy to implement.

When the user clicks the waveform area you can catch the WaveAnalyzerMouseNotification event and check the e.nAction parameter: if its value is MOUSE_ACTION_LEFT_CLICK and playback should be already started, you could take the value of the e.nPressPosInMs parameter and use it in this way:

Code: [Select]

  audioSoundEditor1.SeekSound (e.nPressPosInMs, enumScaleUnits.SCALE_MILLISECONDS);

In case playback shouldn't be already started you could use:

Code: [Select]

  audioSoundEditor1.PlaySoundRange(e.nPressPosInMs, -1);

where -1 indicates to play till the end of the sound.

Kind regards

Severino Delaurenti

User interface components / Re: Changing the font size
« on: July 16, 2014, 03:06:38 PM »
Hello  :)

You simply need to do something like this:

Code: [Select]

Dim nSize As Integer = 12
Dim font As Font = New Font("Arial", nSize)
Ctl3dPushButton1.FontCaption = font

where the variable nSize represents the size of the font.

If you should have any further question or doubt, please, let us know.

Kind regards


How to write code for changing the font size of a Ctl3dPushButton in ?

Thank you very much in advance

Audio editing components / Re: Support for parallelism - sample app
« on: July 09, 2014, 10:48:34 PM »

I'm afraid that this kind of approach won't be implemented in the near future because this is a competency field for which, at the moment, we don't have the needed know-how.

Kind Regards


I am thinking about something like this:

Audio editing components / Re: Support for parallelism - sample app
« on: July 09, 2014, 07:16:35 PM »
Hi Laszlo :-)

well, I'm not really sure to have understood your exact needs but, if you are simply going to create a preview of each sound's waveform, it could be convenient simply generating a bitmap representation of the same, through the WaveformAnalyzer.BitmapViewSaveToFile method, that could be stored in png or jpg format on disk or inside a BLOB field of a database.

Hope this helps but, in case you were meaning something different, please, feel free to add further details to your request.

Kind regards


Hi Severino,

what is your recommended model for using waveform editors in a parallel processing scenario?
I am thinking about analyzing sounds in a producer - consumer scenario.

I would like to browse sound files in an explorer like user interface, showing a preview for the selected file.
This would mean either generating and serializing and deserializing a few hundred waveform editor objects to disks
to create a waveform cache.

Are you planning to add some small app samples with best practices for parallel processing?

Best Regards

Hi  :),

we have already scheduled a new version of the waveform analyzer that will allow predefining the hosted sound duration and with support for multi-channel sound files up to 7.1; at the moment we are at the initial stage of the development so we still don't have a scheduled release date but it's likely that it will be available before the end of the year.

Kind Regards


I want to create a horizontal audio timeline for a group of vertical sound file rows.
The timeline consists of a table (treeview) with several rows. In the top header row a waveform analyzer control is scaled down to the size of the ruler without any waveform area displayed. In the other rows of the table horizontal bars will represent the sound files. I generate the bars based on the duration of the files. I will take care for scrolling the bars in the treeview myself.

Important: I want to avoid loading or analyzing the sound files. This way I can win performance and user experience.
I just want to create a visual preview based on the duration of the sounds in the timeline.
So want to display the long scrollable top ruler with the length of the longest sound. Or I even want to add some offset in these rows.
Currently the only way to create the ruler in the top header is by creating a long dummy silence and performing a sound analysis. The other way would be to mix / load with an initial offset position. Both has a performance penalty due to the creation of the long dummy silence and the sound analysis.

I would like the ruler of the sound editor to be displayable and configurable before any sound was loaded or analyzed.

I would like to request the mentioned "virtual analysis" feature in the following 2 products:
-Audio Sound Editor for .NET
-Audio Waveform Analyzer for .NET

Benefit: performance, especially if you want to browse quickly among a set of files, while the timeline for them needs to be updated quickly. A parallel rendering of the waveforms could take place in a background thread. On user request a more detailed representation can be shown.

A more convenient way would be to show a rough bar representation in the waveform analyser itself. If the background task is ready, and the user requests, it can be changed to show the fine representation.

Pages: 1 ... 19 20 [21]