English
Forum

MP3s with Profan?

 

Nico
Madysa
Hallöchen together!

I Have there son small trouble.
I program zurzeit in a game and the Hintergrundmusik moreover Have I as
MP3 (WAV would too much Space eat).
Gibts there irgendeine Possibility, MP3-Files with Profan abzuspielen?

I thought on MCISend$ but what should I then with type write?
 
Nico Madysa
01/10/06  
 



here findeste a complete Include-File as class: [...] 
 
01/10/06  
 




Dietmar
Horn
Hello Nico,

because You z.Z. yet with Profan² 6.6 work, becomes the Info Thomas for you and your News proposition probably not the large Bringer his.

here one code-shred from of my uralten PRF-Bastel-box, the too under 6.6 yet clatter:
CompileMarkSeparation
window 0,0 - %MaxX,%MaxY

PROC PLAYMP3

    Parameters _____mp3$,_____loop%
    declare _____loop$

    if _____loop%

        _____loop$ = " REPEAT"

    endif

    MCISend$("CLOSE MEDIA")
    MCISend$(("OPEN " + _____mp3$ + " TYPE MPEGVIDEO ALIAS MEDIA"))
    MCISend$("PLAY MEDIA" + _____loop$)

ENDPROC

PLAYMP3 ShortName$("DEMO.MP3"),0
print "Beenden mit Taste oder Mausklick ..."
WaitInput
MCISend$("CLOSE MEDIA")
HINWEIS !!!
PLAYMP3 "Dateiname",Modus
Modus 0 -> Der Sound wird einmal abgespielt und dann beendet.
Modus 1 -> Der Sound wird in einer Endlos-Schleife abgespielt.

if You lest cope should, could we the Yes then either on the coming friday in Lauta, or on the monday in the NATZ together yet something verschlimmbessern.

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
01/11/06  
 




Nico
Madysa
thanks Dietmar, me I ment Yes even therefore, what with type stand ought to.
too thanks on Thomas for attempt.
You konntest Yes not know, I for a Profan-Version have.
 
Nico Madysa
01/11/06  
 



what there as Type stand should findeste in my Source indeed
 
01/11/06  
 




Nico
Madysa
Nunja ...
as i here again mere geguckt having, were already both Posts there.
and there Have I Dietmars Posting gesehn... the was hold somehow
verständlicher.
I Have not too plenty Idea of objektorientierten Programmmieren.
Tschuldigung, don't be cross with me!
 
Nico Madysa
01/11/06  
 



is Yes not further bad
CompileMarkSeparation
MPEGVIDEO ALIAS MCI_" + Str$(Nb&)
>

becomes there uniform uses, that is the ALIAS is optional, so kannste different MP3s at the same time play and discern.
I hope this Info was for you at least useful
 
01/11/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.116 Views

Untitledvor 0 min.
Member 862464104/09/24
Sven Bader11/15/22
Walter09/17/20
RudiB.02/24/20
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