Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Nov 24, 2017 3:34 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: PortAudio MBS: anyone can help me with multitrack playback?
PostPosted: Sun Aug 05, 2012 9:19 am 
Offline
User avatar

Joined: Wed Oct 06, 2010 10:25 am
Posts: 154
Location: ---
I learned the basics in order to use the MBS AudioPlugin to record.
I need some starting example on how to play raw (wave audio) files (x-platform)
at the same time, like in a mixer, with the possibiliy to set for each track the output volume level.
Does anyone has a sample to submit with the 'proof of concept'.
Thanks in advance to all wich will be able to help me.
Best regards,
Massimiliano.

_________________
Massimiliano Fabbri
Freelance Senior Programmer
(Eudosia Systems)
Visual Basic 6 - RealStudio - Mobile Development
Php5/Mysql - Dot Net C# - Objective C
-------------------------------------------
http://www.eudosia-systems.it


Last edited by eudosia on Sun Aug 05, 2012 3:50 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PortAudio MBS: anyone can help me with multitrack playba
PostPosted: Sun Aug 05, 2012 3:35 pm 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
well, if you use PortAudioStreamBufferedMBS for playback, you simply open a stream with the number of output channels and you provide samples with Add/Play functions interleaved.

Except the Stereo methods which interleave two channels for you.

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: PortAudio MBS: anyone can help me with multitrack playba
PostPosted: Sun Aug 05, 2012 4:05 pm 
Offline
User avatar

Joined: Wed Oct 06, 2010 10:25 am
Posts: 154
Location: ---
I appreciate your effort to help me Christian, but until I do not know well the operation of the audio just a practical example of a few lines of code can unlock me.
You have well in mind how to do because you already know certain logic behind.
ps: I still having problem with my code.
More than 4 minutes of recording and I have a crash.
I tried your updated sample and I do not have this issue.....Iam desperate :(

_________________
Massimiliano Fabbri
Freelance Senior Programmer
(Eudosia Systems)
Visual Basic 6 - RealStudio - Mobile Development
Php5/Mysql - Dot Net C# - Objective C
-------------------------------------------
http://www.eudosia-systems.it


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group