An Audio Recorder and Player with Flutter

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 43

  • @ymts_vladyslav3707
    @ymts_vladyslav3707 3 ปีที่แล้ว +3

    Bro your 2 videos about transcribing from audio and recording audio saved my life!

    • @Flutterware
      @Flutterware  3 ปีที่แล้ว +1

      that's great. Thanks for watching

  • @tefly_frhaty
    @tefly_frhaty 3 ปีที่แล้ว +1

    you are creative

    • @Flutterware
      @Flutterware  3 ปีที่แล้ว +1

      Thanks for watching😄

  • @mmet5772
    @mmet5772 ปีที่แล้ว +1

    Really thankful that worked perfectly! But is there any solution to detect silence in the voice when recording ? I mean is there any package or option that helps detect if the one recording is not speaking?

    • @Flutterware
      @Flutterware  ปีที่แล้ว +1

      Thanks for watching. For that, you need to use machine learning algorithms.

    • @mmet5772
      @mmet5772 ปีที่แล้ว

      @@Flutterwarethanks and keep providing us with these helpful tutorials please

    • @Flutterware
      @Flutterware  ปีที่แล้ว

      Thanks for watching and for your support

  • @mrtherapy309
    @mrtherapy309 11 หลายเดือนก่อน

    🔕🎼

  • @luthianopacheco
    @luthianopacheco ปีที่แล้ว

    This video is awesome, i was almost giving up before watch this video, thank you hahaha
    I have only one question, if you can help me with.
    I want to create a ListView of recorded audios by this app, but i can't create a List type of it or create a file with another name if already exists, for example: "temp(1) , temp(2), temp(3)...". Every record overwrite the previous one.
    How can i solve this problem? Do you have any video about it or a suggestion of another video/website?

    • @Flutterware
      @Flutterware  ปีที่แล้ว

      Thanks for watching and your support. If I understood correctly, you want to list the recorded audios in a listview. you can do something like this:
      Future _loadAudioFiles() async {
      final downloadPath = await ExtStorage.getExternalStoragePublicDirectory(
      ExtStorage.DIRECTORY_DOWNLOADS);
      final audioQuery = FlutterAudioQuery();
      final songs = await audioQuery.getSongs(
      fromPaths: [downloadPath],
      sortType: SongSortType.DEFAULT);
      setState(() {
      _songs = songs;
      });
      }
      @override
      Widget build(BuildContext context) {
      return Scaffold(
      appBar: AppBar(title: Text('Audio Recordings')),
      body: ListView.builder(
      itemCount: _songs.length,
      itemBuilder: (context, index) {
      final song = _songs[index];
      return ListTile(
      leading: Icon(Icons.audiotrack),
      title: Text(song.title),
      subtitle: Text(song.artist ?? 'Unknown artist'),
      onTap: () {
      // Play the audio file or perform any other action
      },
      );
      },
      ),
      );
      }

  • @AdhamFaisal875
    @AdhamFaisal875 ปีที่แล้ว

    The argument type 'Function' can't be assigned to the parameter type 'void Function()?' after null safety please update to latest versions

  • @faisalabrahim-q6z
    @faisalabrahim-q6z ปีที่แล้ว

    text to speach flutter not support saving audio please can you make package to save audio? need to save as todos List in screen

  • @ranganathanr5232
    @ranganathanr5232 3 ปีที่แล้ว +2

    Authentication working fine but firestore read and write not working in release apk please help

    • @Flutterware
      @Flutterware  3 ปีที่แล้ว +2

      Thanks for watching. You get an error, or no results?

    • @ranganathanr5232
      @ranganathanr5232 3 ปีที่แล้ว +1

      @@Flutterware nope i didn't get any error it stoped on collection.set line itself

    • @Flutterware
      @Flutterware  3 ปีที่แล้ว +2

      You can do the following, 1) add sha1 release to firebase 2) check security rules firebase.google.com/docs/firestore/security/get-started 3)check logcat in android studio for detailed info

  • @ВованчоХБКовский
    @ВованчоХБКовский 3 ปีที่แล้ว +2

    Hello, cool video, thank you, I just didn’t understand what the path '/sdcard/Download/temp.wav' is and where it leads, I'm still a beginner, I'll be glad if you tell me

    • @Flutterware
      @Flutterware  3 ปีที่แล้ว

      Thanks for watching. Did you find the solution?

    • @bilaltahirhacoglu3762
      @bilaltahirhacoglu3762 2 ปีที่แล้ว

      I didn't understand too, if you solved can you explain?

  • @Charles-lt9rr
    @Charles-lt9rr 2 ปีที่แล้ว

    Thanks my dear for this nice and beautiful tutorial. Please, i have a question. How can I make this flutter app to record audio and at the same time, playing the audio. Please, I am waiting for your reply. Thanks

    • @Flutterware
      @Flutterware  2 ปีที่แล้ว

      Thanks for watching. You can record audio and then play audio as mentioned in the video. It's not possible to do both at the same time.

  • @MrJuanVallejo
    @MrJuanVallejo 2 ปีที่แล้ว +1

    Hello, does it work on Ios? Thanks in advance

    • @Flutterware
      @Flutterware  2 ปีที่แล้ว

      Hi, yes, that’s the good thing about Flutter. It’s multi platform.

  • @AdhamFaisal875
    @AdhamFaisal875 ปีที่แล้ว

    Execution failed for task ':permission_handler_android .

    • @Flutterware
      @Flutterware  ปีที่แล้ว

      Thanks for watching. Make sure that you installed the package.

    • @AdhamFaisal875
      @AdhamFaisal875 ปีที่แล้ว

      @@Flutterware check size your apk so big around 240 mg

  • @mahsakhajavi781
    @mahsakhajavi781 9 หลายเดือนก่อน

    does any one here have an updated repository of yhis project?

  • @faisalabrahim-q6z
    @faisalabrahim-q6z ปีที่แล้ว

    flutter_sound diprecated api

  • @nested9301
    @nested9301 3 ปีที่แล้ว

    you saved my life ! how do you know that we need to create a directory in our system in order for this to work ??

    • @Flutterware
      @Flutterware  3 ปีที่แล้ว +1

      Thanks for watching. I'm glad it was helpful. You need to save the audio file somewhere. You can either use system-built folders like downloads, or create a new folder. And if you want to check if the directory exists, import Dart.io and use this Directory(path).exists();

  • @diasutebayev6576
    @diasutebayev6576 3 ปีที่แล้ว +1

    Guys, how to get the file? Not a path
    I want to send the file to the firebase

    • @Flutterware
      @Flutterware  3 ปีที่แล้ว +1

      Thanks for watching. It's available in the code. It's where you combine the file name with path to download folder. Let me know if you need specific code.

    • @Heisneba
      @Heisneba 2 ปีที่แล้ว

      Dis you find solution for this?

  • @doston8795
    @doston8795 2 ปีที่แล้ว

    Hi, thanks a lot it is wonderful and useful tutorial. if you dont mind. Can I ask a question? how we can restart recording? lets say after I recorded if I dont like. thank you so much

    • @Flutterware
      @Flutterware  2 ปีที่แล้ว

      Hi, thanks for watching. You can remove the recorded audio and refresh the UI for the new audio.

  • @minxiuye2718
    @minxiuye2718 2 ปีที่แล้ว

    Thank you so much for your video, but I'm having some difficulties and don't know why I followed your steps. But the function will error, I hope you can reply my question, thank you very much😃😃

    • @Flutterware
      @Flutterware  2 ปีที่แล้ว

      Thanks for watching. I need more info on the error you get.

    • @minxiuye2718
      @minxiuye2718 2 ปีที่แล้ว

      Excuse me, can you please teach me how to write flutter? I am a beginner of flutter. I am not very clear about the architecture and programming language of flutter, and no one around me has learned it, so I hope you can help me, I think learn flutter