User Tag List

Results 1 to 6 of 6

Thread: I have ANOTHER program that needs help.

  1. #1
    No Products Registered

    Join Date
    May 2008
    Location
    U.S.A.
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I have ANOTHER program that needs help.

    It's not that big though, it's a karaoke type program. You play the music and the microphone object, you listen to it, sing and you playback the singin with the song. But it's all funked up.
    Attached files Attached files

  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: I have ANOTHER program that needs help.

    There seems to be many things wrong here.
    First of all, SampleDuration("Sweet Home Alabama") seems to always return 0 so it would stop recording instantly. It probably only works with WAV sounds and not Midi files. I'm afraid you have to manually give the duration of the midi file to the extension.

    Second, I don't think the Microphone Object's "Play from memory" works the way you believe it does. It requires pointers to sound data in memory and you "point" it at nothing (or random data which makes it crash)
    You have to call that action with theese parameters:

    Left address: LeftBufferAddress( "Microphone object" )
    Right address: RightBufferAddress( "Microphone object" )
    Size: BufferSize( "Microphone object" )

    I did try the above, but it looks like the Microphone object is quite flawed. It also didn't save a single byte to the file it created.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: I have ANOTHER program that needs help.

    I did try the above, but it looks like the Microphone object is quite flawed. It also didn't save a single byte to the file it created.
    It's certainly not great. It doesn't even encode the audio. It was a rushed extension for a small project I had a while ago- not really intended for widespread usage, but I thought someone might find a use for it..

  4. #4
    No Products Registered

    Join Date
    May 2008
    Location
    U.S.A.
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I have ANOTHER program that needs help.

    ohh, do you think I should just scrap it or try to make it work?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: I have ANOTHER program that needs help.

    Scrap it. I should make one which encodes to Speex someday

  6. #6
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: I have ANOTHER program that needs help.

    I think there were other examples somewhere that uses MCI to record from the Microphone. It just records plain WAV's with no compressions.
    Try searching for an MCI Recording example.

Similar Threads

  1. Ftp program
    By DJ_Wild in forum File Archive
    Replies: 0
    Last Post: 25th April 2009, 11:59 AM
  2. Program to Program Coding - Is it Possible ?
    By MBK in forum Multimedia Fusion 2 - Technical Support
    Replies: 20
    Last Post: 24th June 2007, 12:34 PM
  3. Example Program for Jam
    By dingdong in forum File Archive
    Replies: 0
    Last Post: 20th June 2007, 04:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •