Jump to content

lefjucabro

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. lefjucabro

    Record and process audio

    Thanks Hans Excuse me but I misspoke: I needed the xxx files and I could find them on the web. The ones you sent me are more recent. By adding your files to my project, I also added the corresponding FrameWorks from iMac in the "Embarcadero\Studio\SDKs\iPhoneOS13.4.sdk\System\Library\Frameworks" directory. I still have this issue when compiling 😭 "[DCC Erreur] E2597 NYI lto::archName ld: file was built for which is not the architecture being linked (arm64): D:\Documents\Embarcadero\Studio\SDKs\iPhoneOS13.4.sdk/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox.tbd for architecture arm64". So I tried to build uptodate files regarding to this page but I have errors when compiling files... Unfortunately I know that it is far from being won 😀
  2. lefjucabro

    Record and process audio

    Thank you Hans. I did some tests and I am not able to compile with imported files: I got iOSapi.AudioToolbox.pas. I had to get iOSapi.AudioUnit.pas, iOSapi.CoreAudioTypes.pas and iOSapi.CoreMidi.pas which are declared in iOSapi.AudioToolbox.pas. I also copied frameworks from iMac into "Embarcadero\Studio\SDKs\iPhoneOS13.4.sdk\System\Library\Frameworks" and have this issue when compile "[DCC Erreur] E2597 NYI lto::archName ld: file was built for which is not the architecture being linked (arm64): D:\Documents\Embarcadero\Studio\SDKs\iPhoneOS13.4.sdk/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox.tbd for architecture arm64". I am aware that files and frameworks are not in same versions but I don't know how to resolve it.
  3. lefjucabro

    Record and process audio

    Hi Hans, Indeed I don't know how to convert SDK (I really am a beginner). If you have a link to explain it or send me your file if it is ok for you. Regards
  4. lefjucabro

    Record and process audio

    I didn't find these functions in iOSapi.AVFoundation or iOSapi.CoreAudio unit in Rio 10.3.3. Did you use these functions with Rio 10.3.3 ? AVAudioEngine is also missing in iOSapi.AVFoundation.pas from Rio 10.3.3. Do I install an old file ?
  5. lefjucabro

    Record and process audio

    Thank you It looks what I want to do. I will check these hints.
  6. lefjucabro

    Record and process audio

    Hello Rollo62, Thank you for your answer. I was also thinking of using a TAudioCaptureDevice but it's impossible to access data before the end of the recording. During recording, I have to get data each time my buffer is filled to process them.
  7. lefjucabro

    Record and process audio

    Hello there, I am trying to develop an iOS app with Rio. This app must record audio and process it in real time to display some graphs. I am a newbie with FMX platform and iOS, there are lot of informations I don't get There is iOSapi.AVFoundation unit which contains a lot of types (TAVAudioSession, TAVAudioRecorder) but I cannot understand how to use them. For what I understand, I have to define an audio format (2 channels stereo, 16 bits), get the buffer size, create a recording task and then launch recording. In a thread I read samples and fill them into a TMemoryStream for processing. Do you think is this correct ? Do you have any idea how can I do this ? Kind regards Lefjucabro
×