This application claims the benefit under 35 U.S.C. §119(a) of a Korean patent application filed on Aug. 11, 2015 in the Korean Intellectual Property Office and assigned Serial No. 10-2015-0113306, the entire disclosure of which is hereby incorporated by reference.
The present disclosure relates to electronic devices and methods for reproducing (or playing) sounds in the electronic devices.
In general, musical instruments such as pianos may be used to generate sounds or play music. With the development of industry, musical instruments have been digitized and thus digital musical instruments such as electronic pianos (synthesizers) or samplers have emerged.
Such a digital musical instrument may digitize and store a sound source generated by a real musical instrument and may convert and reproduce the corresponding sound into a sound signal when played. For example, the digital musical instrument may be configured to reproduce a sound source such as a musical instrument sound in a storage medium when a musical instrument keyboard is pressed. The digital musical instrument may fetch and reproduce a digitized and stored single sound according to a keyboard input.
However, for example, when a keyboard is input, a digital musical instrument of the related art calls and reproduces a stored single sound source. Therefore, in response to a single keyboard input, the digital musical instrument of the related art may reproduce only a single stored sound source while failing to reproduce a plurality of sound sources.
The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the present disclosure.
Aspects of the present disclosure are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present disclosure is to provide an electronic device and a method for reproducing (or playing) a sound in the electronic device.
Thus, for example, various embodiments of the present disclosure are to provide electronic devices for reproducing a plurality of sound sources simultaneously or sequentially when receiving a key input of a digital musical instrument displayed on a screen thereof, and methods for reproducing sounds in the electronic devices.
In accordance with an aspect of the present disclosure, an electronic device is provided. The electronic device may include a touchscreen configured to display a keyboard having a plurality of keys and a plurality of sound source buttons corresponding respectively to a plurality of different sound sources, a processor connected electrically to the touchscreen, and a memory connected electrically to the processor, wherein the memory may be configured to store instructions that are executed to cause the processor to perform control such that when an input to at least one key among the plurality of keys is received, the sound source corresponding to at least one sound source button selected among the plurality of sound source buttons is reproduced as a sound corresponding to the received input.
In accordance with another aspect of the present disclosure, a method for reproducing a sound in an electronic device is provided. The method may include acquiring a sound source corresponding to at least one sound source button selected among a plurality of sound source buttons corresponding respectively to a plurality of different sound sources, receiving an input to at least one key of a keyboard displayed on a screen of the electronic device, and reproducing the sound source corresponding to the selected at least one sound source button as a sound corresponding to the received input.
In accordance with another aspect of the present disclosure, a non-transitory computer-readable recording medium storing a program executed in a computer is provided. The program may include instructions for acquiring a sound source corresponding to at least one sound source button selected among a plurality of sound source buttons corresponding respectively to a plurality of different sound sources, receiving an input to at least one key of a keyboard displayed on a screen of the electronic device, and reproducing the sound source corresponding to the selected at least one sound source button as a sound corresponding to the received input.
Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the pre sent disclosure.
The above and other aspects, features, and advantages of certain embodiments of the present disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
Throughout the drawings, like reference numerals will be understood to refer to like parts, components, and structures.
The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of various embodiments of the present disclosure as defined by the claims and their equivalents. It includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the various embodiments described herein can be made without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and constructions may be omitted for clarity and conciseness.
The terms and words used in the following description and claims are not limited to the bibliographical meanings, but, are merely used by the inventor to enable a clear and consistent understanding of the present disclosure. Accordingly, it should be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustration purpose only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents.
It is to be understood that the singular forms “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to “a component surface” includes reference to one or more of such surfaces.
When used herein, terms such as “comprise,” “include,” and “have” specify the presence of stated features (e.g., numerical values, functions, operations, parts, elements, and components) but do not preclude the presence or addition of one or more other features.
As used herein, expressions such as “A or B,” “at least one of A and/or B,” and “one or more of A and/or B” may include any and all combinations of one or more of the associated listed items. For example, “A or B,” “at least one of A and B,” or “at least one of A or B” may denote all of the cases of (1) including at least one A, (2) including at least one B, and (3) including at least one A and at least one B.
Terms such as “first” and “second” used herein may modify various elements or components regardless of their order and/or importance. These terms may be used only to distinguish one element or component from another element or component, and these elements or components should not be limited by these terms. For example, a first user device and a second user device may refer to different user devices regardless of their order or importance. For example, without departing from the scope of the present disclosure, a first component may be referred to as a second component, and vice versa.
It will be understood that when a component (e.g., a first component) is referred to as being “(operatively or communicatively) coupled to/with” or “connected to/with” another component (e.g., a second component), it may be coupled to/with or connected to/with the other component directly or indirectly through one or more other components (e.g., third components). On the other hand, when a component (e.g., a first component) is referred to as being “directly coupled to/with” or “directly connected to/with” another component (e.g., a second component), no other components (e.g., third components) exist therebetween.
The expression “configured to (or set to)” used herein may be replaced with, for example, “suitable for,” “having the capacity to,” “designed to,” “adapted to,” “made to,” or “capable of” according to cases. The expression “configured to (or set to)” may not necessarily mean “specifically designed to” in a hardware level. Instead, in some case, the expression “apparatus configured to . . . ” may mean that the apparatus is “capable of . . . ” along with other devices or parts. For example, “a processor configured to (or set to) perform A, B, and C” may refer to a dedicated processor (e.g., an embedded processor) for performing a corresponding operation, or a general-purpose processor (e.g., a central processing unit (CPU) or an application processor (AP)) capable of performing a corresponding operation by executing one or more software programs stored in a memory device.
Unless otherwise defined, all terms (including technical or scientific terms) used herein may have the same meanings as commonly understood by those of ordinary skill in the art of the present disclosure. The terms defined in commonly used dictionaries may be interpreted as having the same meanings as the contextual meanings of the related art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein. In some cases, even the terms defined herein may not be interpreted to exclude the embodiments of the present disclosure.
An electronic device according to various embodiments of the present disclosure may include, for example, at least one of a smartphone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook computer, a workstation, a server, a personal digital assistant (PDA), a portable multimedia player (PMP), a Moving Picture Experts Group phase 1 or phase 2 (MPEG-1 or MPEG-2) audio layer 3 (MP3) player, a mobile medical device, a camera, or a wearable device. According to various embodiments of the present disclosure, the wearable device may include at least one of accessory-type devices (e.g., watches, rings, wristlets, anklets, necklaces, spectacles, contact lenses, or head-mounted devices (HMDs)), textile or clothing-integrated devices (e.g., electronic clothing), body-attachable devices (e.g., skin pads or tattoos), or bio-implantable devices (e.g., implantable circuits).
In some embodiments of the present disclosure, the electronic device may be a home appliance. The home appliance may include, for example, at least one of a television (TV), a digital versatile disc (DVD) player, an audio device, a refrigerator, an air conditioner, a cleaner, an oven, a microwave oven, a washing machine, an air cleaner, a set-top box, a home automation control panel, a security control panel, a TV box (e.g., Samsung HomeSync™, Apple TV™, or Goggle TV™), a game console (e.g., Xbox™ or PlayStation™), an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame.
In other embodiments of the present disclosure, the electronic device may include at least one of any type of medical device (e.g., any type of portable medical meter (such as a blood sugar meter, a heart rate meter, a blood pressure meter, or a body temperature meter), a magnetic resonance angiography (MRA) device, a magnetic resonance imaging (MRI) device, a computerized tomography (CT) device, a tomograph, or an ultrasound machine), a navigation device, a global navigation satellite system (GNSS), an event data recorder (EDR), a flight data recorder (FDR), an automotive infotainment device, an electronic ship equipment (e.g., a ship navigation device or a gyrocompass), an avionic device, a security device, a vehicle head unit, an industrial or home robot, an automatic teller machine (ATM) of a financial institution, a point-of-sale (POS) device of a store, or an internet-of-things (IoT) device (e.g., an electric bulb, any type of sensor, an electricity or gas meter, a sprinkler, a fire alarm, a thermostat, a street lamp, a toaster, an exercise equipment, a hot-water tank, a heater, or a boiler).
According to some embodiments of the present disclosure, the electronic device may include at least one of a part of furniture or building/structure, an electronic board, an electronic signature receiving device, a projector, or any type of meter (e.g., a water meter, an electricity meter, a gas meter, or a radio wave meter). In various embodiments of the present disclosure, the electronic device may be any one or any combination of the above-described various devices. The electronic device according to some embodiments of the present disclosure may be a flexible electronic device. Also, the electronic device according to the embodiments of the present disclosure is not limited to the above-described devices and may include new electronic devices resulting from technology development.
Hereinafter, an electronic device according to various embodiments of the present disclosure will be described with reference to the accompanying drawings. As used herein, the term “user” may refer to a person using the electronic device, or a device (e.g., an artificial intelligence (AI) electronic device) using the electronic device.
An electronic device in a network environment according to various embodiments of the present disclosure will be described with reference to
Referring to
The bus 110 may include, for example, a circuit for connecting the above components (120 to 170) and transmitting communication information (e.g., control messages and/or data) between the above components.
The processor 120 may include at least one of a CPU, an AP, or a communication processor (CP). For example, the processor 120 may execute control of one or more other components of the electronic device 101 and/or data processings or operations related to communication.
The memory 130 may include a volatile memory and/or a nonvolatile memory. For example, the memory 130 may store data or commands related to one or more other components of the electronic device 101. According to an embodiment of the present disclosure, the memory 130 may store software and/or a program 140. The program 140 may include, for example, a kernel 141, middleware 143, an application programming interface (API) 145, and/or an application program (or “application”) 147. At least a portion of the kernel 141, the middleware 143, and the API 145 may be referred to as an operating system (OS).
For example, the kernel 141 may control or manage system resources (e.g., the bus 110, the processor 120, or the memory 130) used to execute operations or functions implemented in other programs (e.g., the middleware 143, the API 145, or the application program 147). Also, the kernel 141 may provide an interface for controlling or managing the system resources when the middleware 143, the API 145, or the application program 147 accesses each component of the electronic device 101.
For example, the middleware 143 may perform a relay function so that the API 145 or the application program 147 may communicate data with the kernel 141.
Also, the middleware 143 may process one or more operation requests received from the application program 147 according to the priority thereof. For example, the middleware 143 may give at least one of the application programs 147 the priority to use the system resource (e.g., the bus 110, the processor 120, or the memory 130) of the electronic device 101. For example, the middleware 143 may perform scheduling or load balancing on the one or more operation requests by processing the one or more operation requests according to the priority given to the at least one.
For example, the API 145 may be an interface for the application 147 to control a function provided by the kernel 141 or the middleware 143, and may include at least one interface or function (e.g., instructions) for file control, window control, image processing, or character control.
For example, the I/O interface 150 may function as an interface for transmitting a command or data input from the user or another external device to one or more other components of the electronic device 101. Also, the I/O interface 150 may output a command or data received from one or more other components of the electronic device 101 to the user or another external device.
The display 160 may include, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic LED (OLED) display, a microelectromechanical system (MEMS) display, or an electronic paper display. For example, the display 160 may display various types of content (e.g., texts, images, videos, icons, or symbols) to the user. For example, the display 160 may include a touchscreen and may receive a touch, gesture, proximity, or hovering input by using an electronic pen or a portion of the body of the user.
For example, the communication interface 170 may set the communication between the electronic device 101 and an external device (e.g., a first external electronic device 102, a second external electronic device 104, or a server 106). For example, by wireless communication or wired communication, the communication interface 170 may be connected to a network 162 to communicate with the external device (e.g., the second external electronic device 104 or the server 106).
The wireless communication may use, for example, at least one of long-term evolution (LTE), LTE Advanced (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro), and global system for mobile communication (GSM) as cellular communication protocol. Also, the wireless communication may include, for example, short-range communication 164. The short-range communication 164 may include, for example, at least one of Wi-Fi, Bluetooth (BT), near-field communication (NFC), ZigBee, Z-Wave, and GNSS. The GNSS may include, for example, at least one of global positioning system (GPS), global navigation satellite system (GLONASS), BeiDou navigation satellite system (hereinafter referred to as “BeiDou”), and Galileo (or the European global satellite-based navigation system) according to regions or bandwidths. Hereinafter, the term “GPS” may be interchangeably used with the term “GNSS”. The wired communication may include, for example, at least one of universal serial bus (USB), high-definition multimedia interface (HDMI), recommended standard 232 (RS-232), and plain old telephone service (POTS). The network 162 may include, for example, at least one of a telecommunications network, a computer network (e.g., local area network (LAN) or wide area network (WAN)), the internet, and a telephone network.
Each of the first and second external electronic devices 102 and 104 may be similar to or different in type from the electronic device 101. According to an embodiment of the present disclosure, the server 106 may include a group of one or more servers. According to various embodiments of the present disclosure, all or some of the operations executed in the electronic device 101 may be executed in one or more other electronic devices (e.g., the external electronic device 102 or 104 or the server 106). According to an embodiment of the present disclosure, when the electronic device 101 needs to perform a function or a service automatically or at the request, the electronic device 101 may request at least some function related thereto from other devices (e.g., the external electronic device 102 or 104 or the server 106) in addition to or instead of directly executing the function or the service. The other devices (e.g., the external electronic device 102 or 104 or the server 106) may execute the requested function or the additional function and transmit the execution results to the electronic device 101. The electronic device 101 may provide the requested function or service by processing the received execution results additionally or without change. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.
Hereinafter, electronic devices according to various embodiments of the present disclosure will be described with reference to the accompanying drawings.
Referring to
According to various embodiments of the present disclosure, the control unit 210 (e.g., the processor 120 of
According to various embodiments of the present disclosure, the control unit 210 may perform control to display various types of information (content) in all or some region on a screen of the display unit 250.
Also, according to various embodiments of the present disclosure, for example, the control unit 210 may include a sampler function such as a digital instrument and may perform control to produce and play a music through the sampler function by using at least one of the audio content stored in the storage unit 240, the audio content received from the server, and the sound source (e.g., voice or natural sound) input by the user. When an application performing a sampling function is executed, the control unit 210 may perform control such that a keyboard having a plurality of keys and a plurality of sound source buttons corresponding respectively to a plurality of different sound sources are displayed on the screen of the display unit 250. Also, when receiving an input to at least one key among a plurality of keys displayed on the screen, the control unit 210 may perform control such that the sound source corresponding to at least one sound source button selected among the plurality of sound source buttons is reproduced (or played) as a sound corresponding to the received input.
According to various embodiments of the present disclosure, the control unit 210 may preset a sound source corresponding to a plurality of sound source buttons before the production and reproduction of a sound source. According to various embodiments of the present disclosure, the control unit 210 may perform control to display a sound source setting button on the screen, may perform control to display a sound source setting screen when the sound source setting button is selected by the user, and may set each sound source corresponding to a plurality of sound source buttons. The set sound source may be at least one of the sound source stored in the storage unit 240, the sound source provided from the server, and the sound source input by the user, and may include at least one of a song, a user's voice, a musical instrument sound, and a natural sound.
According to various embodiments of the present disclosure, the control unit 210 may generate a sound of a pitch corresponding to each key included in the keyboard with respect to each of a plurality of sound sources preset as a sample and store the generated sound corresponding to each key as an output sound, and may call the output sound generated and stored corresponding to the key according to a user's key input and output the called output sound through the audio output unit 260.
According to various embodiments of the present disclosure, the control unit 210 may perform control to display a button for selecting a play mode on the screen. The play mode may include a single mode for reproducing one sound source at a time, a mix mode for simultaneously reproducing two or more sound sources selected among a plurality of sound source buttons, and a cycle mode for sequentially reproducing selected sound sources.
According to various embodiments of the present disclosure, in the mix mode, when two or more sound source buttons are selected by the user among the sound source buttons corresponding to a plurality of sound sources preset as a sample, the control unit 210 may perform control to simultaneously output the sound sources of the selected two or more sound source buttons as sounds of a pitch corresponding to an input key.
According to various embodiments of the present disclosure, in the cycle mode, when two or more sound source buttons are selected by the user among the sound source buttons corresponding to a plurality of sound sources preset as a sample, the control unit 210 may perform control to sequentially output the sound sources of the selected two or more sound source buttons as sounds of a pitch corresponding to an input key. Also, when a plurality of keys are input in the keyboard, the control unit 210 may perform control to sequentially output the selected sound sources as the sounds of the input keys according to the input order of the keys of the keyboard. According to various embodiments of the present disclosure, when there are two or more sound sources to be sequentially output, the control unit 210 may simultaneously output two or more sound sources whenever a key is input.
Also, according to various embodiments of the present disclosure, when an output sound is set to be recorded or stored in real time, the control unit 210 may perform control to record a plurality of output sounds output simultaneously or sequentially according to at least one key input (i.e., sound sources corresponding to a plurality of selected sound source buttons) and may perform control to fetch and edit a set of recorded output sounds, that is, a played music. Also, according to various embodiments of the present disclosure, when a sound source corresponding to a selected sound source button is set to be changed into another sound source, the control unit 210 may perform control to store the output sounds reproduced corresponding to the changed sound source button as a newly-changed sound source in a batch or with a set period changed in the process of editing the music including the reproduced and stored output sounds. Also, according to various embodiments of the present disclosure, in the process of editing the music produced by applying a plurality of sound sources, when at least one key is input after selection of a plurality of different sound source buttons, the control unit 210 may perform control to change the sounds corresponding to the key into the sound source corresponding to the currently-selected sound source button.
Also, according to various embodiments of the present disclosure, the control unit 210 may perform control to display the reproduction buttons on the touchscreen in order to reproduce the stored sound sources and may perform control to reproduce the stored sound sources according to the input of the reproduction button.
The control unit 210 according to various embodiments of the present disclosure may be a hardware component (function) or a software element (program) including at least one of various sensors provided in the electronic device, a data measuring module, an input/output interface, a module for managing the environment or the state of the electronic device, and a communication module, as a hardware module or a software module (e.g., an application program).
Also, according to various embodiments of the present disclosure, the control unit 210 of the electronic device may be at least a portion of the processor and may include, for example, software, firmware, or any combination thereof. According to various embodiments of the present disclosure, the control unit 210 may not include at least some of the above components, or may further include other components for performing an image processing operation in addition to the above components.
Also, according to various embodiments of the present disclosure, at least some components of the control unit 210 of the electronic device may be configured to include at least some of at least one processor including a CPU/micro processing unit (MPU) in a hardware level, at least one memory loaded with at least one piece of memory loading data (e.g., a register and/or a random-access memory (RAM)), and at least one bus for inputting/outputting at least one piece of data to the processor and the memory. Also, the control unit 210 may be configured to include a program routine or program data that may be loaded from a recording medium and then operation-processed by the processor in order to perform a function defined in the electronic device in a software level.
According to various embodiments of the present disclosure, the communication unit 220 (e.g., the communication interface 170 of
According to various embodiments of the present disclosure, the communication unit 220 may communicate with at least one external device (e.g., the electronic device 102 or 104 or the server 106 of
According to various embodiments of the present disclosure, the input unit 230 (e.g., the I/O interface 150 of
According to various embodiments of the present disclosure, the input unit 230 may transmit information related to a user's gesture received through a camera or various sensors, to the control unit 210. Also, the input unit 230 may transmit an input signal according to the selection of at least one object displayed on the screen (e.g., at least one button, at least one icon, or a plurality of keys included in the keyboard), to the control unit 210.
Also, according to various embodiments of the present disclosure, the input unit 230 may receive an input of sound source samples, which will be set as a plurality of sound sources, from the user through a sound source input unit (e.g., a microphone) and transmit the sound source samples to the control unit 210. Also, the input unit 230 may be an input unit capable of receiving a selection input of the button displayed on the touchscreen, and may receive an input to a mode switch button, a plurality of sound source buttons, or at least one key included in the keyboard and transmit an input signal thereof to the control unit 210. Also, the input unit 230 may transmit sense signal (e.g., illuminance information) sensed through a sensor (e.g., a touch sensor), to the control unit 210.
According to various embodiments of the present disclosure, the storage unit 240 (e.g., the memory 130 of
According to various embodiments of the present disclosure, the storage unit 240 may store the content (e.g., audio information) received from the external device and may store the information received from the external device or the internal sensors. Also, according to various embodiments of the present disclosure, the storage unit 240 may store the sound sources input by the user through the microphone and the sound sources received from the external device and may store the sound source corresponding to each of a plurality of sound source buttons preset as a sample to be used for sound source reproduction. Also, according to various embodiments of the present disclosure, when receiving an input to at least one key among the plurality of keys, the storage unit 240 may include instructions for performing control such that the sound source corresponding to at least one sound source button selected among the plurality of sound source buttons is reproduced as a sound corresponding to the received input. Also, the storage unit 240 may store the sound reproduced as the sound corresponding to the pitch of the key input by the user with respect to the sound source corresponding to the selected sound source button and may store the music produced or edited by the reproduced sounds.
According to various embodiments of the present disclosure, the display unit 250 (e.g., the display 160 or a portion of the I/O interface 150 of
The display unit 250 may display an input pad (e.g., button) for inputting at least one of various characters, numbers, or symbols into an input window on the screen, in various ways. Also, the display unit 250 may display a service execution screen according to the execution of various applications related to information communication.
According to various embodiments of the present disclosure, the display unit 250 may display a keyboard having a plurality of keys and a plurality of sound source buttons corresponding respectively to a plurality of different sound sources on the screen. Also, according to various embodiments of the present disclosure, the display unit 250 may display a mode button for selecting a mode for reproducing the sound source corresponding to the selected at least one sound source button, in a region on the screen. Also, according to various embodiments of the present disclosure, the display unit 250 may set the sound sources corresponding to a plurality of sound source buttons, receive an input of the sample sound sources necessary for sound source setting, and display an edit screen for editing the reproduced sound or the produced music.
Also, according to various embodiments of the present disclosure, when the display unit 250 of the electronic device is implemented in a form having the touchscreen 251, it may correspond to a touchscreen of an input unit (not illustrated). When the display unit 250 is implemented together with the input unit 230 in the form having the touchscreen 251, it may display various information generated according to the user's touch operation.
Also, according to various embodiments of the present disclosure, the display unit 250 of the present disclosure may include at least one of an LCD, a thin film transistor LCD (TFT-LCD), an OLED display, an LED display, an active matrix OLED (AMOLED) display, a flexible display, and a three-dimensional (3D) display. Also, some displays among them may be configured to be transparent or photo-transparent to the outside thereof. This may be configured in the form of a transparent display including a transparent OLED (TOLED).
Also, according to various embodiments of the present disclosure, in addition to the display unit 250, the electronic device may further include another attached display unit (e.g., an extended display unit or a flexible display unit) and/or a display unit of another external electronic device (e.g., at least one of an external display device, a wearable device, and an external terminal device) interacting with the electronic device.
According to various embodiments of the present disclosure, the audio output unit 260 (e.g., the I/O interface 150 of
Also, according to various embodiments of the present disclosure, the electronic device may be configured to further include a vibration output unit or an odor output unit.
The main components of the electronic device according to various embodiments of the present disclosure have been described above with reference to
According to one of various embodiments of the present disclosure, an electronic device may include a touchscreen displaying a keyboard having a plurality of keys and a plurality of sound source buttons corresponding respectively to a plurality of different sound sources, a processor connected electrically to the touchscreen, and a memory connected electrically to the processor, wherein the memory may store instructions that are executed to cause the processor to perform control such that when an input to at least one key among the plurality of keys is received, the sound source corresponding to at least one sound source button selected among the plurality of sound source buttons is reproduced as a sound corresponding to the received input.
According to various embodiments of the present disclosure, the processor may generate an output sound as a sound of a pitch corresponding to each key included in the keyboard, with respect to each of the plurality of sound sources.
According to various embodiments of the present disclosure, the processor may perform control such that the sound sources corresponding to at least two sound source buttons selected among the plurality of sound source buttons are simultaneously output as sounds of a pitch corresponding to the input to the key.
According to various embodiments of the present disclosure, the processor may perform control such that the sound sources corresponding to at least two sound source buttons selected among the plurality of sound source buttons are sequentially output as sounds of a pitch corresponding to the input to the key.
According to various embodiments of the present disclosure, when inputs to two or more keys in the keyboard are received and a plurality of sound source buttons are selected, the processor may perform control such that sound sources corresponding to different sound source buttons are sequentially output according to the order of the inputs to the two or more keys.
According to various embodiments of the present disclosure, the processor may perform control such that at least one sound source button not displayed on the screen is displayed on the screen according to a user's gesture for moving the plurality of sound source buttons displayed on the display unit.
According to various embodiments of the present disclosure, the processor may display a button for selecting a play mode on the screen, and display a scroll bar for displaying a key not displayed on the screen by moving a plurality of keys of the keyboard displayed on the screen.
According to various embodiments of the present disclosure, the memory may store different sound sources set corresponding respectively to the plurality of sound source buttons.
According to various embodiments of the present disclosure, the sound source may include at least one of prestored audio content, a user's voice input from the user, or a natural sound input by the user.
An operation process for reproducing a sound in the electronic device as described above will be described in detail with reference to the accompanying drawings.
Referring to
Referring to
Referring to
In operation 303, the electronic device may determine whether an input to at least one key is received. As a result of the determination, when an input to at least one key is received, operation 305 may be performed. And when an input to at least one key is not received, operation 303 may be performed again.
In operation 305, the electronic device may reproduce the sound source corresponding to at least one sound source button selected among the plurality of sound source buttons as a sound corresponding to the received input.
According to one of various embodiments of the present disclosure, a method for reproducing a sound in an electronic device may include acquiring a sound source corresponding to at least one sound source button selected among a plurality of sound source buttons corresponding respectively to a plurality of different sound sources, receiving an input to at least one key of a keyboard displayed on a screen of the electronic device, and reproducing the sound source corresponding to the selected at least one sound source button as a sound corresponding to the received input.
According to various embodiments of the present disclosure, the reproducing of the sound source corresponding to the selected at least one sound source button as the sound corresponding to the received input may include generating output sounds respectively as sounds of a pitch corresponding to the input to the key, with respect to the sound sources corresponding respectively to at least two sound source buttons selected among the plurality of sound source buttons, and outputting the generated output sounds simultaneously.
According to various embodiments of the present disclosure, the reproducing of the sound source corresponding to the selected at least one sound source button as the sound corresponding to the received input may include generating output sounds respectively as sounds of a pitch corresponding to the input to the key, with respect to the sound sources corresponding respectively to at least two sound source buttons selected among the plurality of sound source buttons, and outputting the generated output sounds sequentially.
According to various embodiments of the present disclosure, the reproducing of the sound source corresponding to the selected at least one sound source button as the sound corresponding to the received input may include, when receiving inputs to two or more keys in the keyboard, performing control such that sound sources corresponding to different sound source buttons are sequentially output according to the order of the inputs to the two or more keys.
According to various embodiments of the present disclosure, the method may further include displaying at least one sound source button not displayed on the screen, on the screen according to a user's gesture for moving the plurality of displayed sound source buttons.
According to various embodiments of the present disclosure, the method may further include displaying a key not displayed on the screen by moving a plurality of keys of the keyboard displayed on the screen.
According to various embodiments of the present disclosure, the sound source may include at least one of prestored audio content, a user's voice input from the user, or a natural sound input by the user.
A more detailed operation process for sound source reproduction according to the operation process of the electronic device according to various embodiments of the present disclosure as described above will be described with reference to the accompanying drawings.
Referring to
In operation 603, the electronic device may acquire a sound source corresponding to each of a plurality of sound source buttons. According to various embodiments of the present disclosure, the electronic device may determine whether a sound source corresponding to a plurality of sound source buttons (e.g., four sound source buttons) is set and may output a preset sound source according to a user's particular gesture (e.g., at least one of a sound source selection (e.g., at least one of touch, long touch, and double touch) and a swipe in a particular direction) when the sound source is set. Accordingly, the user may detect the output sound source and thus may determine whether to reset or use the detected sound source for playing. According to various embodiments of the present disclosure, as illustrated in
According to various embodiments of the present disclosure, the electronic device may call and acquire the sound sources corresponding to two or more sound source buttons selected among a plurality of sound source buttons, or may call and acquire the sound sources corresponding respectively to the preset sound source buttons.
In operation 605, the electronic device may determine whether an input to at least one key included in the keyboard is received. As a result of the determination, when at least one key input is received, operation 607 may be performed. And when at least one key input is not received, operation 605 may be performed again.
In operation 607, the electronic device may generate an output sound as a sound of a pitch corresponding to the key input, with respect to each of the acquired sound sources.
In operation 609, the electronic device may reproduce the generated sounds (output sounds) simultaneously.
Referring to
Referring to
In operation 803, the electronic device may acquire a sound source corresponding to each of a plurality of sound source buttons. According to various embodiments of the present disclosure, the electronic device may determine whether a sound source corresponding to a plurality of sound source buttons (e.g., four sound source buttons) is set and may output a preset sound source according to a user's particular gesture (e.g., at least one of a sound source selection (e.g., at least one of touch, long touch, and double touch) and a swipe in a particular direction) when the sound source is set. Accordingly, the user may detect the output sound source and thus may determine whether to reset or use the detected sound source for playing. According to various embodiments of the present disclosure, as illustrated in
According to various embodiments of the present disclosure, the electronic device may call and acquire the sound sources corresponding to two or more sound source buttons selected among a plurality of sound source buttons, or may call and acquire the sound sources corresponding respectively to the preset sound source buttons.
In operation 805, the electronic device may determine whether an input to at least one key included in the keyboard is received. As a result of the determination, when at least one key input is received, operation 807 may be performed. And when at least one key input is not received, operation 805 may be performed again. According to various embodiments of the present disclosure, the electronic device may receive a repeated input of at least one key or may receive an input of a plurality of keys.
In operation 807, the electronic device may sequentially generate output sounds in the order of sounds of a pitch corresponding to the key input, with respect to each of the acquired sound sources.
In operation 809, the electronic device may reproduce the generated sounds (output sounds) sequentially.
Referring to
As described above, the electronic device (e.g., the electronic device 101 of
According to various embodiments of the present disclosure, the electronic device may be set to have different play modes according to the octaves or the types of keyboards (e.g., white keyboard and black keyboard).
Referring to
For example, by driving an OS or an application program, the processor 1010 may control a plurality of hardware or software components connected to the processor 1010 and perform various data processings and operations. The processor 1010 may be implemented, for example, as a system on chip (SoC). According to an embodiment of the present disclosure, the processor 1010 may further include a graphic processing unit (GPU) and/or an image signal processor (ISP). The processor 1010 may include at least some (e.g., cellular module 1021) of the components illustrated in
The communication module 1020 may have an identical or similar configuration to the communication interface 170 of
The cellular module 1021 may provide, for example, a voice call service, a video call service, a text message service, or an internet service through a communication network. According to an embodiment of the present disclosure, the cellular module 1021 may identify and authenticate the electronic device 1001 in the communication network by using the SIM (e.g., SIM card) 1024. According to an embodiment of the present disclosure, the cellular module 1021 may perform at least some of the functions that may be provided by the processor 1010. According to an embodiment of the present disclosure, the cellular module 1021 may include a CP.
Each of the Wi-Fi module 1023, the BT module 1025, the GNSS module 1027, and the NFC module 1028 may include, for example, a processor for processing data transmitted/received through the corresponding module. According to some embodiments of the present disclosure, at least some (e.g., two or more) of the cellular module 1021, the Wi-Fi module 1023, the BT module 1025, the GNSS module 1027, and the NFC module 1028 may be included in an integrated chip (IC) or an IC package.
The RF module 1029 may transmit/receive, for example, a communication signal (e.g., an RF signal). The RF module 1029 may include, for example, a transceiver, a power amplifier module (PAM), a frequency filter, a low-noise amplifier (LNA), or an antenna. According to other embodiments of the present disclosure, at least one of the cellular module 1021, the Wi-Fi module 1023, the BT module 1025, the GNSS module 1027, and the NFC module 1028 may transmit/receive an RF signal through a separate RF module.
For example, the SIM 1024 may include an embedded SIM and/or a card including an SIM, and may include unique identification information (e.g., integrated circuit card identifier (ICCID)) or subscriber information (e.g., international mobile subscriber identity (IMSI)).
The memory 1030 (e.g., the memory 130) may include, for example, an internal memory 1032 or an external memory 1034. The internal memory 1032 may include, for example, at least one of volatile memories (e.g., dynamic RAMs (DRAMs), static RAMs (SRAMs), or synchronous DRAMs (SDRAMs)) and nonvolatile memories (e.g., one-time programmable ROMs (OTPROMs), PROMs, erasable and programmable ROMs (EPROMs), electrically erasable and programmable ROMs (EEPROMs), mask ROMs, flash ROMs, flash memories (e.g., NAND flash memories or NOR flash memories), hard disk drives (HDDs), or solid state drives (SSDs)).
The external memory 1034 may include, for example, a flash drive such as compact flash (CF), SD, micro-SD, mini-SD, xD, multimedia card (MMC), or memory stick. The external memory 1034 may be operatively and/or physically connected to the electronic device 1001 through various interfaces.
For example, the sensor module 1040 may measure a physical quantity or sense an operation state of the electronic device 1001 and convert the measured or sensed information into an electrical signal. The sensor module 1040 may include, for example, at least one of a gesture sensor 1040A, a gyro sensor 1040B, a pressure sensor 1040C, a magnetic sensor 1040D, an acceleration sensor 1040E, a grip sensor 1040F, a proximity sensor 1040G, a color sensor 1040H (e.g., a red/green/blue (RGB) sensor), a biometric sensor 1040I, a temperature/humidity sensor 1040J, an illumination sensor 1040K, and an ultraviolet (UV) sensor 1040M. Additionally or alternatively, the sensor module 1040 may include, for example, an E-nose sensor, an electromyography (EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, an infrared (IR) sensor, an iris sensor, and/or a fingerprint sensor. The sensor module 1040 may further include a control circuit configured to control at least one sensor included therein. In some embodiments of the present disclosure, the electronic device 1001 may further include a processor, which is configured separately or as a portion of the processor 1010 to control the sensor module 1040, to control the sensor module 1040 while the processor 1010 is in a sleep state.
The input device 1050 may include, for example, a touch panel 1052, a (digital) pen sensor 1054, a key 1056, or an ultrasonic input device 1058. The touch panel 1052 may include, for example, at least one of a capacitive touch panel, a resistive touch panel, an IR touch panel, and an ultrasonic touch panel. Also, the touch panel 1052 may further include a control circuit. The touch panel 1052 may further include a tactile layer configured to provide a tactile response to the user.
For example, the (digital) pen sensor 1054 may be a portion of the touch panel 1052 or may include a separate recognition sheet. The key 1056 may include, for example, a physical button, an optical key, or a keypad. The ultrasonic input device 1058 may sense an ultrasonic wave generated by an input tool through a microphone (e.g., a microphone 1088) and detect data corresponding to the sensed ultrasonic wave.
The display 1060 (e.g., the display 160) may include a panel 1062, a hologram device 1064, or a projector 1066. The panel 1062 may include an identical or similar configuration to the display 160 of
The interface 1070 may include, for example, an HDMI 1072, a USB 1074, an optical interface 1076, or a D-subminiature (D-SUB) 1078. For example, the interface 1070 may be included in the communication interface 170 illustrated in
For example, the audio module 1080 may perform bidirectional conversion between a sound and an electrical signal. For example, at least some components of the audio module 1080 may be included in the I/O interface 150 illustrated in
For example, the camera module 1091 may be configured to capture a still image and a moving image (video). According to an embodiment of the present disclosure, the camera module 1091 may include one or more image sensors (e.g., a front sensor or a rear sensor), a lens, an ISP, or a flash (e.g., an LED or a xenon lamp).
For example, the power management module 1095 may manage the power of the electronic device 1001. According to an embodiment of the present disclosure, the power management module 1095 may include a power management IC (PMIC), a charger IC, or a battery or fuel gauge. The PMIC may have a wired and/or wireless charging mode. For example, the wireless charge mode may include a magnetic resonance mode, a magnetic induction mode, or an electromagnetic wave mode and may further include an additional wireless charge circuit such as a coil loop, a resonant circuit, or a rectifier. For example, the battery gauge may be configured to measure a residual capacity, a charged voltage, a current, or a temperature of the battery 1096. The battery 1096 may include, for example, a rechargeable battery and/or a solar battery.
The indicator 1097 may indicate a particular state of the electronic device 1001 or a portion thereof (e.g., the processor 1010), such as a booting state, a message state, or a charge state. For example, the motor 1098 may be configured to convert an electrical signal into a mechanical vibration and generate a vibration or a haptic effect. Although not illustrated, the electronic device 1001 may include a processing device (e.g., a GPU) for supporting a mobile TV. For example, the processing device for supporting a mobile TV may process media data according to the standards such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or MediaFLO™.
Each of the elements described herein may be configured by one or more components, and the names of the elements may vary according to the type of the electronic device. According to various embodiments of the present disclosure, the electronic device may be configured to include at least one of the elements described herein, and some elements may be omitted or additional elements may be further included. Also, according to various embodiments of the present disclosure, some of the elements of the electronic device may be combined into one entity to perform the same functions as the previous elements prior to the combination thereof.
Referring to
The program module 1110 may include a kernel 1120, middleware 1130, an API 1160, and/or an application 1170. At least a portion of the program module 1110 may be preloaded on the electronic device or may be downloaded from the external electronic device (e.g., the electronic device 102 or 104 or the server 106).
The kernel 1120 (e.g., the kernel 141) may include, for example, a system resource manager 1121 or a device driver 1123. For example, the system resource manager 1121 may control, allocate, or recover the system resources. According to an embodiment of the present disclosure, the system resource manager 1121 may include, for example, a process managing unit, a memory managing unit, or a file system managing unit. The device driver 1123 may include, for example, a display driver, a camera driver, a BT driver, a shared memory driver, a USB driver, a keypad driver, a Wi-Fi driver, an audio driver, or an inter-process communication (IPC) driver.
For example, the middleware 1130 may provide a common function for the application 1170, or may provide various functions to the application 1170 through the API 1160 so that the application 1170 may efficiently use the limited system resources in the electronic device. According to an embodiment of the present disclosure, the middleware 1130 (e.g., the middleware 143) may include at least one of a runtime library 1135, an application manager 1141, a window manager 1142, a multimedia manager 1143, a resource manager 1144, a power manager 1145, a database (DB) manager 1146, a package manager 1147, a connectivity manager 1148, a notification manager 1149, a location manager 1150, a graphic manager 1151, and a security manager 1152.
The runtime library 1135 may include, for example, a library module that is used by a compiler to add a new function through a programming language while the application 1170 is being executed. The runtime library 1135 may perform I/O management, memory management, or arithmetical functions.
For example, the application manager 1141 may manage the life cycle of at least one of the application 1170. The window manager 1142 may manage the graphical user interface (GUI) resources used in the screen. The multimedia manager 1143 may detect a format necessary for playing various media files and perform encoding or decoding on a media file by using a codec according to the detected format. The resource manager 1144 may manage the resource of a memory or a storage space and the source code of at least one of the application 1170.
For example, by operating together with a basic input/output system (BIOS), the power manager 1145 may manage the battery or the power supply and provide power information necessary for the operation of the electronic device. The DB manager 1146 may generate, search, or modify a DB to be used by at least one of the application 1170. The package manager 1147 may manage the update or installation of an application that is distributed in the form of a package file.
For example, the connectivity manager 1148 may manage wireless connection such as Wi-Fi or BT. The notification manager 1149 may display or notify an event such as message arrival, engagement, or proximity alarm to the user in an undisturbed manner. The location manager 1150 may manage the location information of the electronic device. The graphic manager 1151 may manage a graphic effect to be provided to the user, or a UI related thereto. For example, the security manager 1152 may provide various security functions necessary for user authentication or system security. According to an embodiment of the present disclosure, when the electronic device (e.g., the electronic device 101) includes a phone function, the middleware 1130 may further include a telephony manager for managing a voice or video call function of the electronic device.
The middleware 1130 may include a middleware module for providing a combination of the various functions of the above-described components. The middleware 1130 may provide a specialized module for each OS type in order to provide a specialized function. Also, the middleware 1130 may dynamically delete some of the existing components or add new components.
For example, as a set of API programming functions, the API 1160 (e.g., the API 145) may be provided as different configurations according to the OS types. For example, Android™ or iOS™ may provide one API set for each platform, and Tizen™ may provide two or more API sets for each platform.
For example, the application 1170 (e.g., the application program 147) may include one or more applications that may perform one or more functions such as a home 1171, a dialer 1172, a short message service (SMS)/multimedia messaging service (MMS) 1173, an instant message (IM) 1174, a browser 1175, a camera 1176, an alarm 1177, a contact 1178, a voice dial 1179, an e-mail 1180, a calendar 1181, a media player 1182, an album 1183, a clock 1184, healthcare (e.g., exercise amount or blood sugar measurement), or provision of environment information (e.g., pressure, humidity, or temperature information).
According to an embodiment of the present disclosure, the application 1170 may include an application (hereinafter referred to as “information communication application” for convenience of description) for supporting information communication between the electronic device (e.g., the electronic device 101) and the external electronic device (e.g., the electronic device 102 or 104). The information communication application may include, for example, a notification relay application for transmitting particular information to the external electronic device, or a device management application for managing the external electronic device.
For example, the notification relay application may include a function for transmitting notification information, which is generated by other applications of the electronic device (e.g., an SMS/MMS application, an e-mail application, a healthcare application, or an environment information application), to the external electronic device (e.g., the electronic device 102 or 104). Also, for example, the notification relay application may receive notification information from the external electronic device and provide the received notification information to the user.
For example, the device management application may manage (e.g., install, delete, or update) at least one function (e.g., turn-on/off of the external electronic device (or some components thereof) or control of the display brightness (or resolution)) of the external electronic device (e.g., the electronic device 102 or 104) communicating with the electronic device, or a service (e.g., a call service or a message service) provided by the external electronic device or the application operating in the external electronic device.
According to an embodiment of the present disclosure, the application 1170 may include an application (e.g., a healthcare application of a mobile medical device) specified according to the attribute of the external electronic device (e.g., the electronic device 102 or 104). According to an embodiment of the present disclosure, the application 1170 may include an application received from the external electronic device (e.g., the server 106 or the electronic device 102 or 104). According to an embodiment of the present disclosure, the application 1170 may include a preloaded application or a third party application that may be downloaded from the server. The names of the components of the program module 1110 according to the illustrated embodiments of the present disclosure may vary according to the OS types.
According to various embodiments of the present disclosure, at least a portion of the program module 1110 may be implemented in software, firmware, hardware, or any combination thereof. For example, at least a portion of the program module 1110 may be implemented (e.g., executed) by the processor (e.g., the processor 120). For example, at least a portion of the program module 1110 may include a module, a program routine, an instruction set, or a process for performing one or more functions.
The term “module” used herein may refer to, for example, a unit including hardware, software, firmware, or any combination thereof. For example, the term “module” may be interchangeably used with terms such as “unit,” “logic,”, “logical block,” “component,” or “circuit”. The “module” may be a portion or a minimum unit of an integrated component. The “module” may be a portion or a minimum unit for performing one or more functions. The “module” may be implemented mechanically or electronically. For example, the “module” may include at least one of an application-specific IC (ASIC) chip, a field-programmable gate array (FPGA), or a programmable-logic device for performing some operations, which are known or to be developed.
For example, at least a portion of the device (e.g., modules or functions thereof) or method (e.g., operations) according to various embodiments may be implemented in the form of a program module by instructions stored in computer-readable storage media. When the instructions are executed by the processor (e.g., the processor 120), the one or more processors may perform a function corresponding to the instructions. The computer-readable storage media may include, for example, the memory 130.
The computer-readable storage media may include, for example, hard disks, floppy disks, magnetic media (e.g., magnetic tapes), optical media (e.g., compact disk ROM (CD-ROM), DVD, magneto-optical media (e.g., floptical disks), or hardware devices (e.g., ROM, RAM, or flash memories). Also, the program commands may include machine language codes that may be generated by a compiler, and high-level language codes that may be executed by a computer by using an interpreter. The hardware device may be configured to operate as one or more software modules in order to perform the operation of various embodiments of the present disclosure, and vice versa.
The program module or the module according to various embodiments may include at least one of the above elements, some of the above elements may be omitted, or additional other elements may be further included therein. The operations performed by the module, the program module, or other elements according to various embodiments of the present disclosure may be executed in a sequential, parallel, repeated, or heuristic manner. Also, some operations may be executed in different order or omitted, or other operations may be additionally executed.
According to various embodiments of the present disclosure, a computer-readable recording medium may store a program executed in a computer, wherein the program may include an executable command executed by a processor to cause the processor to perform an operation of acquiring a sound source corresponding to at least one sound source button selected among a plurality of sound source buttons corresponding respectively to a plurality of different sound sources, an operation of receiving an input to at least one key of a keyboard displayed on the screen of the electronic device, and an operation of reproducing the sound source corresponding to the selected at least one sound source button as a sound corresponding to the received input.
As described above, by the electronic devices and the methods for reproducing sounds in the electronic devices according to various embodiments of the present disclosure, since the sound sources corresponding respectively to the sound source buttons selected among the sound source buttons displayed on the screen may be simultaneously or sequentially reproduced as the corresponding sounds according to the key input, a desired music may be produced and played by mixing the sound sources in various forms.
While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2015-0113306 | Aug 2015 | KR | national |