English
Forum

target sound card

 
- Page 1 -



KHR
Hello together,

.
Have again one new proposition, the me so duch The Hirnwindungen geistert.

moreover ought to I a audio frequency, The z.B. on sound card ankommt, discern can.

yet mach I with the one small Atmel and schick me whom measured worth over seriell in that Program. at that Search (and not find) in the Forum is me then too same yet the next trouble noticed:

How war I ne Soundkarte moreover me z.B. a tone with 1750Hz for 0,3 Sek auszugeben.

so far I The Help red and understood have, does it with XProfan not ..........

or has there someone NEN hint for me???

.
 
Gruß
Karl-Heinz
WIN XP home/Pro / XPROFAN 11 / P2CPP
ATMEL + BASCOM Fan
04/10/08  
 



 
- Page 1 -



Matthias
Arlt
KHR
Sound 1750,120 - the tone comes but from the PC-loudspeaker and not over The Soundkarte.

usually really not, or. according to attitude. the Wiedergabegerät einzustellen, is additionally thing the Betriebssystems and has here first with Profan nothing To do...

Greeting
Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
04/12/08  
 




KHR
Hello Matthias,

.
means - either steh I utterly on the Hose or anything other fits not.

I habs probiert:

sound 1750,760 and it piepst.

but: alike How I The Volume the spending place it changes itself nothing, means shining the tone only from the small Tröte in the PC To come.

then Have I The Tröte abgesteckt well then was nothing More To listen, alike How loudly I The Volume set have.

my erweiterte attitude (Lautstärkeregelung) shows of course NEN entry PC-loudspeaker on, but alike I there einstelle has no bearing on The Tröte

would have been me too gewundert, there the a with the others too at all nothing To do has.

.
 
Gruß
Karl-Heinz
WIN XP home/Pro / XPROFAN 11 / P2CPP
ATMEL + BASCOM Fan
04/12/08  
 




Rolf
Koch
becomes neither functions, see neckline Help:


Info: The command PlaySound, Play and Music settle a Soundkarte or a Soundchip on the Motherboard advance. Beep and Sound against use whom internen PC-Speaker.
 
04/12/08  
 




RGH
Hi,

in principle is it naturally so, How in the Help described, but nevertheless there etliche PCs, The BEEP and SOUND too over The Soundkarte spend can. of my counts to that example moreover: here tönt BEEP and SOUND at the same time over the installed loudspeaker and the on sound card associated loudspeaker.

Greeting
Roland

Nachtrag: regulate can the rendition of SOUND and BEEP over The Soundkarte over the regulator PC-loudspeaker in the advanced Lautstärkeregelung. If the integrally down geregelt or on display is, comes the Sound only over the installed PC-loudspeaker. I must it integrally high regulate, so the Sound clear too over The Soundkarte comes.
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
04/12/08  
 




Matthias
Arlt
RGH
...The BEEP and SOUND too over The Soundkarte spend can. of my counts to that example moreover...

the knew I yet too not at all differently. what Gegenteiliges is by me not yet vorgekommen, though I The PCs, The through my fingers gone are, already long not any more count can. in principle is it Yes of it tributary, How the jeweilige Soundtreiber the deals. by me z.B. becomes into Settings PC-Speaker not time More displayed.

with following Registry-attitude can itself incidentally PC-loudspeaker aimed turn off:

under the Key HKCUControl PanelSound The string ExtendedSounds create and its worth on 0 settle. Perhaps helps the in this entrapment.

Greeting
Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
04/12/08  
 




Andreas
Miethe


Hello Karl-Heinz,

there's too The Possibility a Wave in the Memory begot and then abzuspielen.
DEF PlaySoundData(2) ! winmm.dll , sndPlaySoundA
Declare Wave#

Proc MakeWave

    Parameters Freq&,secs&
    Declare avBytesPerSec&,channels&,bitrate&,samplerate&
    Declare acctime&,actchannel&,actsamplevalue&
    Declare X&,Loudness&
    channels& = 2
    bitrate& = 16
    samplerate& = 11025
    avBytesPerSec& = channels&*bitrate&/8*samplerate&
    Dim Wave#,44+(avBytesPerSec&*secs&)
    Long Wave#,0  = 1179011410 RIFF
    Long Wave#,4  = 36+avBytesPersec&*secs&
    Long Wave#,8  = 1163280727 WAVE
    Long Wave#,12 = 544501094 fmt
    Long Wave#,16 = 16
    Word Wave#,20 = 1
    Word Wave#,22 = channels&
    Long Wave#,24 = samplerate&
    Long Wave#,28 = avBytesPersec&
    Word wave#,32 = bitrate&/8*channels&
    Word Wave#,34 = bitrate&
    Long Wave#,36 = 1635017060  DATA
    Long wave#,40 = avBytesPerSec&*secs&
    X& = 0
    acctime& = 1
    actchannel& = 1
    Loudness& = 32767/2  half-way Volume

    Whileloop acctime&,samplerate&*Channels&*secs&,4

        actsamplevalue& = Loudness& * Sin(2 * PI() * freq& * (&Loop/4) / samplerate&)
        word wave#,45+&Loop = actsamplevalue&,actsamplevalue&

    Endwhile

ENDPROC

Cls
Print make Wave...
Makewave(440,1)
Print Games Wave...
PlaySoundData(Wave#,4)
Print
Print Button...
Dispose wave#
waitinput
end
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
04/14/08  
 




August
Grimm
good evening Andreas.

your Program functions unfortunately not each drop. If I it Try, listen I only etwar each second time a tone.
 
04/14/08  
 




Andreas
Miethe


Hello august,

the lying well on the Abspielmodus, whom have I on asynchron staid.
Word the tone synchron abgespielt ought to it always functions.
PlaySoundData(Wave#,4)

The 2. Parameter is the Abspielmodus, 4 means Memory, 1 means asynchron. These ? Happen? and another couple others can combined go.

what I do not fallen has was The speed at produce the Wave-File, The have I a little bit optimiert.
See code supra.

greeting
Andreas
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
04/15/08  
 



 
- Page 2 -



August
Grimm
Hello Andreas.

now functions it by me too always

What exactly is because asynchron? your Program is now faster gerworden, but really still slow, i'd it gladly yet faster get?
 
04/15/08  
 




Andreas
Miethe


Hello august,

asynchron means the The File in the background abgespielt and is the program to the commands PlaySoundData() immediate weiterläuft
Synchron means, the as long as waited becomes, To The Wave-File complete abgespielt watts.

I had the program too gladly yet faster, but the data must now time created go.

greeting
Andreas
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
04/15/08  
 




August
Grimm
Hello Andreas.

I bedanke me for your operator and trouble!
 
04/15/08  
 




KHR
Hello Andreas.

.
Sorry, if I me first today login. was almost The whole week without internet on the way and be first today tommorrow again back.

your Solution bring me my target one ganzes Piece hither- still can I now 3 or 4 different sounds on supply produce and with want Play. One truer benefit is the Lauststärkebeeinflussung.

super - many Thanks..

.
 
Gruß
Karl-Heinz
WIN XP home/Pro / XPROFAN 11 / P2CPP
ATMEL + BASCOM Fan
04/19/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

8.724 Views

Untitledvor 0 min.
Sven Bader10/15/21
womei11/14/13
gerd01/24/13
Johannes Meyer11/24/12
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie